[Building Sakai] mvn eclipse:eclipse and new lines?

Prakash, Savitha savithap at umich.edu
Tue Jun 2 06:52:58 PDT 2009


Branden,

Sometimes the existing .project and .classpath files may cause such problems. Try deleting eclipse files and generate them using mvn eclipse:eclipse command.

You can use the following commands in you project directory-
1. find . -name .project -exec rm {} \;
2. find . -name .classpath -exec rm {} \;
3. mvn eclipse:eclipse -DdownloadJavadocs=true

I personally did not have any trouble generating eclipse files, after I replaced with sakai svn config file.

- Savitha


On 6/2/09 9:42 AM, "branden at uwindsor.ca" <branden at uwindsor.ca> wrote:


Hi all,

I was just regenerating some eclipse project files using maven2 (mvn eclipse:eclipse). When I commit the new files, TortoiseSVN gives me an error: "Inconsistent Line Ending Style" for all of the mvn generated files.

I've never had this before, but the most recent change I've made in this area is adopted Sakai's recommended SVN config file (this is my first time generating eclipse project files since I've taken in the new config). Does any one know what could be failing here?

The config file I'm referring to is here: https://source.sakaiproject.org/svn/trunk/svn/config <https://source.sakaiproject.org/svn/trunk/svn/config>

On a (maybe) related note: If I have a history of not using the Sakai SVN config file and just started recently. Is there some mass job I would have to run to do something like convert all my EOL characters from my initial source code check-in?

Thanks,
------------------------------------------
Branden Visser
LMS Application Programmer - Information Systems Services
Information Technology Services
University of Windsor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090602/4e530579/attachment.html 


More information about the sakai-dev mailing list