diff --git a/jOOQ-website/manual-pdf/jOOQ-manual.fo.xml b/jOOQ-website/manual-pdf/jOOQ-manual.fo.xml index 4adf27a804..a060f50b0a 100644 --- a/jOOQ-website/manual-pdf/jOOQ-manual.fo.xml +++ b/jOOQ-website/manual-pdf/jOOQ-manual.fo.xml @@ -2842,7 +2842,18 @@ public void bind(BindContext context) throws DataAccessException; generatortargetdirectory="${basedir}/src"/> ]]> + + Note that when running code generation with ant's <java/> task, + you may have to set fork="true": + + + + + [...] + + +]]> Integrate generation with Maven Using the official jOOQ-codegen-maven plugin, you can integrate source code generation in your Maven build process: diff --git a/jOOQ-website/manual-pdf/jOOQ-manual.pdf b/jOOQ-website/manual-pdf/jOOQ-manual.pdf index 8484692062..66c42e93ea 100644 Binary files a/jOOQ-website/manual-pdf/jOOQ-manual.pdf and b/jOOQ-website/manual-pdf/jOOQ-manual.pdf differ diff --git a/jOOQ-website/manual-single-page/index.php b/jOOQ-website/manual-single-page/index.php index 096f2240d2..b93e52a813 100644 --- a/jOOQ-website/manual-single-page/index.php +++ b/jOOQ-website/manual-single-page/index.php @@ -1813,7 +1813,18 @@ public void bind(BindContext context) throws DataAccessException; generatortargetdirectory="${basedir}/src"/> </target> +

+ Note that when running code generation with ant's <java/> task, + you may have to set fork="true": +

+
<!-- Run the code generation task -->
+<target name="generate-test-classes">
+  <java fork="true" classname="org.jooq.util.GenerationTool">
+    [...]
+  </java>
+</target>
+

Integrate generation with Maven

Using the official jOOQ-codegen-maven plugin, you can integrate source code generation in your Maven build process:

diff --git a/jOOQ-website/manual/META/Configuration/index.php b/jOOQ-website/manual/META/Configuration/index.php index c080bff693..b400554d53 100644 --- a/jOOQ-website/manual/META/Configuration/index.php +++ b/jOOQ-website/manual/META/Configuration/index.php @@ -241,7 +241,18 @@ function printContent() { generatortargetdirectory="${basedir}/src"/> </target> +

+ Note that when running code generation with ant's <java/> task, + you may have to set fork="true": +

+
<!-- Run the code generation task -->
+<target name="generate-test-classes">
+  <java fork="true" classname="org.jooq.util.GenerationTool">
+    [...]
+  </java>
+</target>
+

Integrate generation with Maven

Using the official jOOQ-codegen-maven plugin, you can integrate source code generation in your Maven build process:

diff --git a/jOOQ-website/src/main/resources/manual.xml b/jOOQ-website/src/main/resources/manual.xml index 52dca1da9e..f3d376a735 100644 --- a/jOOQ-website/src/main/resources/manual.xml +++ b/jOOQ-website/src/main/resources/manual.xml @@ -1590,7 +1590,18 @@ public void bind(BindContext context) throws DataAccessException; generatortargetdirectory="${basedir}/src"/> ]]> +

+ Note that when running code generation with ant's <java/> task, + you may have to set fork="true": +

+ + + + [...] + + +]]>

Integrate generation with Maven

Using the official jOOQ-codegen-maven plugin, you can integrate source code generation in your Maven build process: