mpoeschl    01/08/29 05:51:15

  Modified:    src/conf build.xml
  Log:
  added target descriptions
  
  Revision  Changes    Path
  1.4       +34 -27    jakarta-turbine-torque/src/conf/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/conf/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml 2001/08/12 21:17:55     1.3
  +++ build.xml 2001/08/29 12:51:15     1.4
  @@ -17,9 +17,9 @@
   
     <!--
          Load the build.properties file. All the targets use the
  -       information stored in the properties file. 
  +       information stored in the properties file.
     -->
  -  
  +
     <property name="build.properties" value="build.properties"/>
     <property file="${build.properties}"/>
   
  @@ -32,7 +32,7 @@
     <!-- when you change your XML schema.                                 -->
     <!-- ================================================================ -->
   
  -  <target name="main">
  +  <target name="main" description="==> generates sql + om classes">
       <antcall target="project-sql"/>
       <antcall target="project-om"/>
     </target>
  @@ -86,15 +86,16 @@
         classname="org.apache.torque.task.TorqueJDBCTransformTask">
         <classpath refid="classpath"/>
       </taskdef>
  -    
  +
     </target>
  -  
   
  +
     <!-- ================================================================ -->
     <!-- J D B C  TO  X M L                                               -->
     <!-- ================================================================ -->
   
  -  <target name="project-jdbc" depends="init-tasks">
  +  <target name="project-jdbc" depends="init-tasks"
  +          description="==> jbbc to xml">
   
       <echo message="JDBC transform"/>
   
  @@ -113,7 +114,8 @@
     <!-- Generate SQL from XML data file                                  -->
     <!-- ================================================================ -->
   
  -  <target name="project-datasql" depends="init-tasks">
  +  <target name="project-datasql" depends="init-tasks"
  +          description="==> generates sql from data xml">
   
       <echo message="+-----------------------------------------------+"/>
       <echo message="|                                               |"/>
  @@ -139,10 +141,11 @@
     </target>
   
     <!-- ================================================================ -->
  -  <!-- Dump data from databse into xml file                             -->
  +  <!-- Dump data from database into xml file                            -->
     <!-- ================================================================ -->
   
  -  <target name="project-datadump" depends="init-tasks">
  +  <target name="project-datadump" depends="init-tasks"
  +          description="==> dump data from database into xml file">
   
       <echo message="+-----------------------------------------------+"/>
       <echo message="|                                               |"/>
  @@ -174,7 +177,8 @@
     <!-- Generate the DATA DTD for your project                           -->
     <!-- ================================================================ -->
   
  -  <target name="project-datadtd" depends="init-tasks">
  +  <target name="project-datadtd" depends="init-tasks"
  +          description="==> generates the DATA DTD for your project">
   
       <echo message="+-----------------------------------------------+"/>
       <echo message="|                                               |"/>
  @@ -203,7 +207,8 @@
     <!-- project should be specified in project-schema.xml.               -->
     <!-- ================================================================ -->
   
  -  <target name="project-sql" depends="init-tasks">
  +  <target name="project-sql" depends="init-tasks"
  +          description="==> generates the SQL for your project">
   
       <echo message="+------------------------------------------+"/>
       <echo message="|                                          |"/>
  @@ -232,7 +237,8 @@
     <!-- ================================================================ -->
   
   
  -  <target name="project-om" depends="init-tasks">
  +  <target name="project-om" depends="init-tasks"
  +          description="==> generates the Peer-based object model for your project">
   
       <echo message="+------------------------------------------+"/>
       <echo message="|                                          |"/>
  @@ -251,33 +257,33 @@
         xmlFile="${torque.home}/${schemaDirectory}/${project}-schema.xml"
         targetDatabase="${database}"
       />
  -  
  +
     </target>
   
     <!-- =================================================================== -->
     <!-- C O M P I L E  O M                                                  -->
  -  <!-- =================================================================== -->  
  -  <target name="compile">
  -    
  -    <!-- 
  +  <!-- =================================================================== -->
  +  <target name="compile" description="==> compiles the OM classes">
  +
  +    <!--
         This should be moved to the top of the file, and
         the values should come from the build.properties file.
       -->
  -    
  +
       <property name="src.dir" value="${outputDirectory}/java"/>
       <property name="build.dest" value="bin/classes"/>
       <property name="debug" value="on"/>
       <property name="deprecation" value="off"/>
       <property name="optimize" value="off"/>
  -    
  +
       <mkdir dir="${build.dest}"/>
  -    
  +
       <javac srcdir="${src.dir}"
         destdir="${build.dest}"
         debug="${debug}"
         deprecation="${deprecation}"
         optimize="${optimize}">
  -            
  +
         <classpath refid="classpath"/>
   
       </javac>
  @@ -289,17 +295,17 @@
     <!-- ================================================================ -->
     <!-- Generate turbine service code.                                   -->
     <!-- ================================================================ -->
  -  
  +
     <target name="turbine-service" depends="init-tasks">
  -  
  -    <texen 
  +
  +    <texen
         contextProperties="service.props"
         controlTemplate="${ServiceControlTemplate}"
         outputDirectory="${outputDirectory}"
         templatePath="${templatePath}"
         outputFile="report.${project}.service.generation"
       />
  -    
  +
     </target>
   
     <!-- =================================================================== -->
  @@ -310,7 +316,8 @@
     <!-- outputFile: The file where the xml schema will be written           -->
     <!-- =================================================================== -->
   
  -  <target name="sql2xml" depends="init-tasks">
  +  <target name="sql2xml" depends="init-tasks"
  +          description="==> creates an xml schema from an sql schema">
       <sql-xml
         inputFile="schema/schema.sql"
         outputFile="schema/schema.xml"
  @@ -321,7 +328,7 @@
     <!-- Creates the API documentation                                      -->
     <!-- ================================================================== -->
     <target name="javadocs"
  -          description="--> generates the API documentation">
  +          description="==> generates the API documentation">
       <mkdir dir="${torque.home}/${outputDirectory}/javadoc"/>
       <javadoc sourcepath="${torque.home}/${outputDirectory}"
                packagenames="${targetPackage}.*"
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to