9 Nov
2010
9 Nov
'10
12:15 p.m.
Le 09/11/2010 12:56, chemit a écrit :
As jaxx transform jaxx files to java files, it will add in the maven build the target/generated-sources/java directory as part of files to compile.
Eclipse does NOT know this directory, perharps a mvn eclipse:eclipse will help to add this directory to compile part.
mvn eclipse:eclipse is quite useless since m2eclipse do the job. It will not add target/generated-sources/java to Eclipse build path. To add target/generated-sources/java to Eclipse build path : in Eclipse, do right click on this directory > "Build path" > "Use as source folder". If you don't do that Eclipse won't succeed at compiling. Hope it will help... -- Brendan Le Ny <bleny@codelutin.com> Code Lutin