Leo Sutic <[EMAIL PROTECTED]> wrote on 23/08/2003 10:38:50 PM:

> Thanks, however I think that the torque plugin does things a bit
> differently than what I want to achieve. In particular:
> 
>  + Must be run explicitely, and not as a preGoal to java:compile.
Ok, so add your stuff as a preGoal to compile.

>  + Generates into the src/java directory, and not a temporary directory:
> 
>     <torque-data-model
>           contextProperties="${torque.contextProperties}"
>           controlTemplate="${torque.template.om}"
>     >>>>  outputDirectory="${torque.java.dir}"    <<<<<<
Bad for the torque plugin, not recommended


> If this is the only way to go with Maven then I'll just get with the
> program, but I was hoping for something better.
Nope. I think someone's already pointed out the antlr plugin.

> Another question: When specifying a java source path, can I specify
> multiple paths, i.e.:
> 
>     <sourceDirectory>${basedir}/src/java</sourceDirectory>
>     <sourceDirectory>${basedir}/src/my-generated-stuff</sourceDirectory>
No.

> or:
> <sourceDirectory>${basedir}/src/java;${basedir}/src/my-generated-
> stuff</sourceDirectory>
No.

--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Reply via email to