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.

 + 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}"    <<<<<<

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.

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>

or:


<sourceDirectory>${basedir}/src/java;${basedir}/src/my-generated-stuff</sourceDirectory>

?

If the latter, will it still work on Linux, where the path seperator
character is ':' and not ';'?

/LS

On Sat, 23 Aug 2003, Eric Pugh wrote:
> I would recommend looking at the torque plugin for your problems with the
> code generator.  the torque plugin is basically a giant code generator.
>
> Eric
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to