You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by mp...@apache.org on 2001/05/29 00:41:37 UTC

cvs commit: jakarta-turbine-tdk/src/share/sample/build build.xml

mpoeschl    01/05/28 15:41:37

  Modified:    src/share/sample/build build.xml
  Log:
  add target descriptions
  
  Revision  Changes    Path
  1.3       +16 -10    jakarta-turbine-tdk/src/share/sample/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/share/sample/build/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	2001/05/28 22:12:52	1.2
  +++ build.xml	2001/05/28 22:41:36	1.3
  @@ -61,7 +61,7 @@
     <!-- your sources for you and compile them.                           -->
     <!-- ================================================================ -->
   
  -  <target name="init">
  +  <target name="init" description="--> generates the full application">
   
       <antcall target="create-database"/>
       
  @@ -88,7 +88,9 @@
     <!-- that is capable of performing the task.                          -->
     <!-- ================================================================ -->
     
  -  <target name="create-database" depends="init-tasks,ext" unless="database.manual.creation">
  +  <target name="create-database" depends="init-tasks,ext" 
  +          unless="database.manual.creation"
  +          description="--> generates the target database">
       
       <property name="script" value="create-database.${ext}"/>
       
  @@ -103,7 +105,8 @@
       />
       
       <chmod file="${outputDirectory}/sql/${script}" perm="+x"/>
  -    <exec executable="${fullPathOutputDirectory}/sql/${script}" failonerror="yes"/>
  +    <exec executable="${fullPathOutputDirectory}/sql/${script}" 
  +          failonerror="yes"/>
       
     </target>
   
  @@ -115,7 +118,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-script for your project">
   
       <echo message="+------------------------------------------+"/>
       <echo message="|                                          |"/>
  @@ -143,7 +147,8 @@
     <!-- These are in addition to the base Turbine OM!                    -->
     <!-- ================================================================ -->
   
  -  <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="|                                          |"/>
  @@ -173,7 +178,8 @@
     <!-- app to run with multiple DBs.                                    -->
     <!-- ================================================================ -->
   
  -  <target name="turbine-sql" depends="init-tasks">
  +  <target name="turbine-sql" depends="init-tasks"
  +          description="--> generates the sql-script for the Turbine base system">
   
       <echo message="+------------------------------------------+"/>
       <echo message="|                                          |"/>
  @@ -300,7 +306,7 @@
     <!-- I N S E R T  T U R B I N E  S Q L                                -->
     <!-- ================================================================ -->
   
  -  <target name="turbine-insert-sql">
  +  <target name="turbine-insert-sql" description="--> insert turbine sql">
       
       <antcall target="insert-sql-file">
         <param name="sqlFile" value="${outputDirectory}/sql/turbine-schema.sql"/>
  @@ -324,7 +330,7 @@
     <!-- I N S E R T  P R O J E C T  S Q L                                -->
     <!-- ================================================================ -->
     
  -  <target name="project-insert-sql">
  +  <target name="project-insert-sql" description="--> insert project sql">
       
       <antcall target="insert-sql-file">
         <param name="sqlFile" value="${outputDirectory}/sql/${project}-schema.sql"/>
  @@ -393,7 +399,7 @@
     <!-- C O M P I L E                                                       -->
     <!-- =================================================================== -->  
     
  -  <target name="compile">
  +  <target name="compile" description="--> compiles the source code">
           
       <javac srcdir="${src.dir}"
         destdir="${build.dest}"
  @@ -411,7 +417,7 @@
     <!-- C L E A N                                                        -->
     <!-- ================================================================ -->
     
  -  <target name="clean">
  +  <target name="clean" description="--> cleans up the build directory">
       
       <delete dir="${build.dest}"/>
       <mkdir dir="${build.dest}"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org