Hi Pay,

I'm not sure if I understood you correctly. Are you requesting that the
same configuration is used to generate the same set of artefacts twice? Or
should the two generation operations differ in behaviour?

If the two are identical generations, what keeps you from generating them
into a "library" that you can use in both of your projects?

Cheers
Lukas


2013/1/11 Pay Liu <[email protected]>

> Hi Lukas,
>
> Good day
>
> About Configure jOOQ's code 
> generator<http://www.jooq.org/manual/META/Configuration/#N10589>,
>  XSD <http://www.jooq.org/xsd/jooq-codegen-2.1.0.xsd>
> I'm building 2nd project and connect to the same database and configure of
> JOOQ's code generator.
>
> The different is Target > directory.
>
> If I can add multi-Targe or multi-directories in the meantime,
> I just maintain one configure JOOQ's file and run once when database
> schema changed.
>
> like this
>
>  <targets>
>
>         <target>
>                 <packageName>com.pay.project1.jooq</packageName>
>                 <directory>../Project1/src</directory>
>         </target>
>
>         <target>
>                 <packageName>com.pay.project2.jooq</packageName>
>                 <directory>../Project2/src/main/java</directory>
>         </target>
>
> </targets>
>
> And now,
> I use one script to run these 2 JOOQ's configure when my schema changed. ^^
>
> Thanks!
>
>
> -Pay
>
>
>

Reply via email to