Author: tfischer
Date: Thu Sep 23 05:47:08 2010
New Revision: 1000327

URL: http://svn.apache.org/viewvc?rev=1000327&view=rev
Log:
Link code generation tutorial

Modified:
    db/torque/torque4/trunk/torque-site/src/site/site.xml
    
db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/codegen/gettingStarted.xml
    db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/index.xml

Modified: db/torque/torque4/trunk/torque-site/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/site.xml?rev=1000327&r1=1000326&r2=1000327&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/site.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/site.xml Thu Sep 23 05:47:08 
2010
@@ -54,7 +54,6 @@
     <menu name="Module Documentation">
       <item name="Modules"               
href="/documentation/modules/index.html">
         <item name="Generator"           
href="/documentation/modules/generator/index.html" collapse="true">
-          <item name="Getting started"   
href="/documentation/modules/generator/gettingStarted.html"/>
           <item name="Reference"         
href="/documentation/modules/generator/reference/index.html" collapse="true">
             <item name="Concepts"        
href="/documentation/modules/generator/reference/concepts.html"/>
             <item name="Configuration"   
href="/documentation/modules/generator/reference/configuration.html"/>
@@ -176,6 +175,7 @@
           <item name="step6-ant"         href="/tutorial/orm/step6-ant.html"/>
           <item name="step6-maven"       
href="/tutorial/orm/step6-maven.html"/>
         </item>
+        <item name="Code Generation"     
href="/tutorial/codegen/gettingStarted.html"/>
       </item>
     </menu>
 

Modified: 
db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/codegen/gettingStarted.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/codegen/gettingStarted.xml?rev=1000327&r1=1000326&r2=1000327&view=diff
==============================================================================
--- 
db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/codegen/gettingStarted.xml
 (original)
+++ 
db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/codegen/gettingStarted.xml
 Thu Sep 23 05:47:08 2010
@@ -21,7 +21,7 @@
 <document>
 
  <properties>
-  <title>Getting Started</title>
+  <title>Getting Started with Torque code generation</title>
  </properties>
 
  <body>
@@ -31,7 +31,7 @@
       using the Torque generator.
       Maven 2 is used as a build tool (although the example can
       also be run using plain java),
-      a xml source file is used as input for generation and
+      a properties file is used as input for generation and
       velocity is used as template language.
       In the following section, the necessary steps to set up such a project
       are described; and detailed by a simple example: We have a properties 
file
@@ -190,7 +190,7 @@ $torqueGen.mergepoint("methods")##
       of the torqueGen Object. The torqueGen object is placed into the velocity
       context by the torque generator and contains methods for defining
       mergepoints and accessing the source, options and variables. See
-      <a 
href="apidocs/org/apache/torque/generator/template/velocity/TorqueGenVelocity.html">its
 javadoc</a>
+      <a 
href="../../modules/generator/apidocs/org/apache/torque/generator/template/velocity/TorqueGenVelocity.html">its
 javadoc</a>
       for the available methods.
     </p>
     <p>
@@ -211,7 +211,7 @@ $torqueGen.mergepoint("methods")##
       torgueGen (${torqueGen.getSourceElement()) and ask it whether it
       has following siblings (i.e. source elements with the same parent
       and the same name) (see
-      <a href="apidocs/org/apache/torque/gen/source/SourceElement.html">the 
SourceElement javadoc</a>
+      <a 
href="../../modules/generator/apidocs/org/apache/torque/gen/source/SourceElement.html">the
 SourceElement javadoc</a>
       for available methods on a source element).
     </p>
     <source><![CDATA[
@@ -423,7 +423,7 @@ $torqueGen.mergepoint("methods")##
     <p>
       The "constantName" and the "newline" outlets are a special case.
       The "constantName" outlet generates the name of a java constant
-      from an input (e.h. converting to upper case, inserting underscores.)
+      from an input (e.g. converting to upper case, inserting underscores.)
       The "newline" outlet simply prints a newline (\n) each time it is 
       called, and is used to beautify the output.
       Both outlets are java outlets which are provided 

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/index.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/index.xml?rev=1000327&r1=1000326&r2=1000327&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/index.xml 
(original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/tutorial/index.xml Thu 
Sep 23 05:47:08 2010
@@ -147,7 +147,8 @@
   <a href="orm/step1-maven.html">configuring Maven 2 for Torque</a>.
   If you plan to use ant, look at
   <a href="orm/step1-ant.html">configuring ant for Torque</a>
-  TODO: codegen part
+  For the code generation part, see
+  <a href="codegen/gettingStarted.html">getting started with Torque code 
generation</a>.
 </p>
 
 </section>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to