eyalg1972 wrote at Montag, 23. März 2009 13:12:

> 
> Hi,
> 
> I have a Java project that it's sources needs first to have some IDL files
> to be compiled to Java, and then to compile these files, before
> compilation of the main sources.
> 
> First I used the maven-compiler-plugin for the main sources, and the
> maven-antrun-plugin for the generation of the Jaav sources from IDL.
> 
> But I had a problem with - where to compile the new Java sources.
> 
> SO I added to the ant task also compilation of the new sources (If there
> is a better way-I'll be happy to know).

Generate the Java files in the generate-sources phase somewhere to
target/generated-sources/idl and add that directory with the help of the
buildhelper plugin to the source path (also in the generate-sources phase).

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to