By "calling this class" I mean you can run it either in the command line or
inside Eclipse. The property file has to be the first argument. A
command-line example:

java -cp [path/to/jOOQ.jar];[path/to/
jOOQ-codegen.jar];[path/to/property/file];[path/to/jdbc-driver.jar]
org.jooq.util.GenerationTool /property.file

Tell me if this helps. I will update the documentation page with some
Eclipse screenshots, as this doesn't seem entirely clear...

2011/3/20 Ravi Shekhar <[email protected]>

> I have tried to use this
> Run jOOQ code generation 
> ΒΆ<http://sourceforge.net/apps/trac/jooq/wiki/Manual/META/Configuration#RunjOOQcodegeneration>
>
> Code generation is currently supported by calling this class with the above
> property file as argument.
>
> org.jooq.util.GenerationTool
>
> Be sure that these elements are located on the classpath:
>
>    - The property file
>    - jOOQ.jar
>    - The JDBC driver you configured
>
>
> I really don't know how to run org.jooq.util.GenerationTool
>
> On a command line?? Or inside eclipse?? and exactly what will be the
> command syntax and where will be the command execution (i.e at the root of
> my project folder? or inside src? or inside bin folder??
>
>
>
> On Mon, Mar 21, 2011 at 1:40 AM, Lukas Eder <[email protected]> wrote:
>
>> Hello Shekhar
>>
>> Do you think there is anything missing on this page:
>> http://sourceforge.net/apps/trac/jooq/wiki/Manual/META/Configuration
>>
>> Cheers
>> Lukas
>>
>> On Mar 20, 8:44 pm, Shekhar <[email protected]> wrote:
>> > Please explain in your wiki/ userManual where to put the jars and how
>> > to generate the code.
>> >
>> > I am not able to generate the code with Command Line. Could someone
>> > please explain with syntax...
>> > How can i run jOOQ-codegen.jar for generating my model/domain classes?
>>
>
>
>
> --
> Ravi.Shekhar
> --------------------------------------------
> Eklavya Technologies
>
> Phone: 9312699455
> www.eklavyatechnologies.com
> ---------------------------------------------
>
>

Reply via email to