On Tue, 9 Nov 2010 12:38:06 +0100 Daone <daone5@hotmail.com> wrote:
Hi...
I have already installed the plugin and I have already a Maven project for JAXX... but what is procedure of this.... I have in my current project directory a simple jaxx file called "SignIn.jaxx" (written in XML) and I want to generate the java source code to the project....first I tried to do this through "jaxx:generate" and then I get a Eclipse error message :
Aborting due to errors reported by jaxxc Internal error in the plugin manager executing goal 'org.nuiton.jaxx:maven-jaxx-plugin:2.2.2:generate': Mojo execution failed. When I look at my project folder I see a new folder called "target/generated-sources/java" but no java source inside.. ...what does the message mean?.... I have tried to search for the answer but found no documentation.... ..and after I tried to do as you said, just to compile it with the simple "compile" command in Eclipse but that doesnt give me the java source code and it doesnt seem to do anything.. is there something that I have missed ...? How do you write the goal to generate java source in Eclipse..? Thanks for your help and effort...its highly appreciated...
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. -- Tony Chemit -------------------- tél: +33 (0) 2 40 50 29 28 email: chemit@codelutin.com http://www.codelutin.com