From d6234bef8a75b69991f91d967f52939b366a9b03 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Fri, 24 Feb 2012 17:47:07 +0000 Subject: [PATCH] [#1174] Fix manual where it still references .properties configuration instead of the new XML configuraiton --- jOOQ-website/tutorial.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jOOQ-website/tutorial.php b/jOOQ-website/tutorial.php index 3fe9637988..a50d3689ac 100644 --- a/jOOQ-website/tutorial.php +++ b/jOOQ-website/tutorial.php @@ -74,7 +74,7 @@ set up the jOOQ code generator can be found here:

The easiest way to generate a schema is to copy the jOOQ jar files (there should be 3) -and the MySQL Connector jar file to a temporary directory. Then, create a guestbook.properties +and the MySQL Connector jar file to a temporary directory. Then, create a guestbook.xml that looks like this:

@@ -142,11 +142,11 @@ will cause the test.generated.Posts and
 generator.target.directory - the directory to output to.
 

-Once you have the JAR files and guestbook.properties in your temp directory, type this +Once you have the JAR files and guestbook.xml in your temp directory, type this (use colons instead of semi-colons on UNIX/Linux systems):

-java -classpath jooq-2.0.0.jar;jooq-meta-2.0.0.jar;jooq-codegen-2.0.0.jar;mysql-connector-java-5.1.18-bin.jar;. org.jooq.util.GenerationTool /guestbook.properties
+java -classpath jooq-2.0.0.jar;jooq-meta-2.0.0.jar;jooq-codegen-2.0.0.jar;mysql-connector-java-5.1.18-bin.jar;. org.jooq.util.GenerationTool /guestbook.xml
 

Note the prefix slash before guestbook.properies. @@ -158,7 +158,7 @@ If everything has worked, you should see this in your console output:

 Nov 1, 2011 7:25:06 PM org.jooq.impl.JooqLogger info
-INFO: Initialising properties  : /guestbook.properties
+INFO: Initialising properties  : /guestbook.xml
 Nov 1, 2011 7:25:07 PM org.jooq.impl.JooqLogger info
 INFO: Database parameters
 Nov 1, 2011 7:25:07 PM org.jooq.impl.JooqLogger info