You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2010/08/23 22:18:33 UTC

svn commit: r988288 - in /db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm: step1-maven.xml step3-maven.xml step5.xml step6-maven.xml

Author: tfischer
Date: Mon Aug 23 20:18:33 2010
New Revision: 988288

URL: http://svn.apache.org/viewvc?rev=988288&view=rev
Log:
corrected some errors

Modified:
    db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step1-maven.xml
    db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step3-maven.xml
    db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step5.xml
    db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step6-maven.xml

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step1-maven.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step1-maven.xml?rev=988288&r1=988287&r2=988288&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step1-maven.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step1-maven.xml Mon Aug 23 20:18:33 2010
@@ -52,9 +52,11 @@
 
 <p>
   As a starting point for the pom file in your project,
-  use the following template and edit it to reflect your specific needs (
-  typically you need to change the database, the database urls, 
-  the database driver, the database host, the database user and password):
+  use the following template and save it as pom.xml
+  in the project's base directory.
+  Then edit it to reflect your specific needs (
+  typically you need to change the database urls, 
+  the database host, the database user and password):
 </p>
 
 <source><![CDATA[

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step3-maven.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step3-maven.xml?rev=988288&r1=988287&r2=988288&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step3-maven.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step3-maven.xml Mon Aug 23 20:18:33 2010
@@ -86,7 +86,7 @@ mvn generate-sources
   and will not be overwritten if they exist, so they reside in the
   src tree which is not altered by maven.
   All generated classes will be in a directory hierarchy matching that of the
-  <code>torque.targetPackage</code> you
+  <code>torque.om.package</code> option you
   specified in <em>pom.xml</em>.
 </p>
 
@@ -105,7 +105,7 @@ mvn generate-sources
 <p>
   If you encounter errors while building, it is more
   than likely a formatting error of your database
-  schema file or the Maven 2 pom file file.
+  schema file or the Maven 2 pom file.
   Check again the contents of these files.
 </p>
 

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step5.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step5.xml?rev=988288&r1=988287&r2=988288&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step5.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step5.xml Mon Aug 23 20:18:33 2010
@@ -520,12 +520,13 @@ public class Publisher extends BasePubli
 
 <source><![CDATA[
 // BookPeer.java
+package org.apache.torque.tutorial.om;
+
 import java.util.List;
 import org.apache.torque.TorqueException;
 import org.apache.torque.util.Criteria;
 
-public class BookPeer
-    extends com.kazmier.om.BaseBookPeer
+public class BookPeer extends BaseBookPeer
 {
     public static List<Book> doSelectAll() throws TorqueException
     {
@@ -535,12 +536,13 @@ public class BookPeer
 }
 
 // AuthorPeer.java
+package org.apache.torque.tutorial.om;
+
 import java.util.List;
 import org.apache.torque.TorqueException;
 import org.apache.torque.util.Criteria;
 
-public class AuthorPeer
-    extends com.kazmier.om.BaseAuthorPeer
+public class AuthorPeer extends BaseAuthorPeer
 {
     public static List<Author> doSelectAll() throws TorqueException
     {
@@ -550,12 +552,13 @@ public class AuthorPeer
 }
 
 // PublisherPeer.java
+package org.apache.torque.tutorial.om;
+
 import java.util.List;
 import org.apache.torque.TorqueException;
 import org.apache.torque.util.Criteria;
 
-public class PublisherPeer
-  extends com.kazmier.om.BasePublisherPeer
+public class PublisherPeer extends BasePublisherPeer
 {
     public static List<Publisher> doSelectAll() throws TorqueException
     {

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step6-maven.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step6-maven.xml?rev=988288&r1=988287&r2=988288&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step6-maven.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/orm/step6-maven.xml Mon Aug 23 20:18:33 2010
@@ -20,7 +20,7 @@
 
 <document>
   <properties>
-    <title>Torque Tutorial - Step 6 - Compiling and Running the Sample Application</title>
+    <title>Torque Tutorial - Step 6 - Compiling and Running the Sample Application using Maven</title>
     <author email="pete-apache-dev@kazmier.com">Pete Kazmier</author>
     <author email="seade@backstagetech.com.au">Scott Eade</author>
     <author email="fischer@seitenbau.de">Thomas Fischer</author>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org