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