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 jv...@apache.org on 2001/06/16 17:49:52 UTC

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

jvanzyl     01/06/16 08:49:52

  Modified:    src/share/sample/build GETTING_STARTED.txt build.properties
                        build.xml
  Log:
  - adding a 'project' target that can be used when the project XML
    schema is changed for a project. this target will take care of
    running the following targets:
  
    project-sql
    project-id-table-init-sql
    project-insert-sql
    project-om
    compile
  
  Revision  Changes    Path
  1.3       +2 -4      jakarta-turbine-tdk/src/share/sample/build/GETTING_STARTED.txt
  
  Index: GETTING_STARTED.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/share/sample/build/GETTING_STARTED.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GETTING_STARTED.txt	2001/05/29 01:22:57	1.2
  +++ GETTING_STARTED.txt	2001/06/16 15:49:48	1.3
  @@ -12,17 +12,15 @@
   WILL WORK!!! YOU HAVE BEEN WARNED!!
   
   You must edit the following properties in your
  -./project/newapp.properties file:
  +build.properties file:
   
   database
  -targetPlatform
  -targetPlatformExt
   databaseUrl
   databaseDriver
   databaseUser
   databasePassword
   
  -There is documentation inside your ./project/newapp.properties
  +There is documentation inside your build.properties
   file describing your options in each case.
   
   After you have edited your properties, you should run the
  
  
  
  1.3       +1 -0      jakarta-turbine-tdk/src/share/sample/build/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/share/sample/build/build.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.properties	2001/05/28 22:12:52	1.2
  +++ build.properties	2001/06/16 15:49:48	1.3
  @@ -51,6 +51,7 @@
   mapname=TurbineMap
   suffix=MapBuilder
   targetPackage=@TARGET_PACKAGE@.om
  +targetDirectory=@TARGET_DIRECTORY@/om
   addSaveMethod=true
   addGetByNameMethod=false
   complexObjectModel=true
  
  
  
  1.8       +18 -4     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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	2001/06/15 20:45:16	1.7
  +++ build.xml	2001/06/16 15:49:48	1.8
  @@ -81,15 +81,29 @@
       <antcall target="turbine-security-sql"/>
       <antcall target="turbine-insert-sql"/>
       
  +    <antcall target="project"/>
  +    
  +    <antcall target="update-tr-props"/>
  +    
  +  </target>
  +
  +
  +  <!-- ================================================================ -->
  +  <!-- P R O J E C T                                                    -->
  +  <!-- ================================================================ -->
  +  <!-- This target runs all the targets required when changes           -->
  +  <!-- are made to the project XML database schema.                     -->
  +  <!-- ================================================================ -->
  +
  +  <target name="project" description="--> run when XML schema is changed">
  +
       <antcall target="project-sql"/>
       <antcall target="project-id-table-init-sql"/>
       <antcall target="project-insert-sql"/>
       <antcall target="project-om"/>
  -    
  -    <antcall target="update-tr-props"/>
       <antcall target="compile"/>
  -  
  -  </target>
  +
  +  </target>                
   
     <!-- ================================================================ -->
     <!-- C R E A T E  T A R G E T  D A T A B A S E                        -->
  
  
  

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