Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [snipedior] Maven build

I've set the core.autorcrlf option on false, but i still have the same error when running mvn clean install -P e43.
Maybe some other program interferes with line endings? 
Stefan.


On Thu, Jul 25, 2013 at 6:56 PM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:
Hello Stefan,

> Here is the full error stack i got when running mvn clean install -P e43
> [INFO] There are 77 checkstyle errors.
> [ERROR] DefinitionSite.java[1:null] Found non-Unix line delimiter(s)

wow, that is pretty much every .java file in the project. Now, as this
is the first project in the reactor containing .java sources (only those
are checked by Checkstyle) and it fails throughout, here's my guess:

You are on Windows and have set Git's core.autocrlf option to true
(IIRC, the default is false). With it, Git tries to be smart (= stupid)
and converts newlines in text files automatically. Please switch this
off (Eclipse can edit LFs just fine :-).

Hope this helps.

Andreas
--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/recommenders-dev


Back to the top