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/04/09 17:11:22 UTC

cvs commit: jakarta-turbine-tdk/src newapp.props newapp.xml

jvanzyl     01/04/09 08:11:21

  Modified:    src      newapp.props newapp.xml
  Log:
  - setting properties for app view and type. this is constant for now
    but may change in the future again.
  
  Revision  Changes    Path
  1.16      +0 -1      jakarta-turbine-tdk/src/newapp.props
  
  Index: newapp.props
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/newapp.props,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- newapp.props	2001/03/29 02:35:15	1.15
  +++ newapp.props	2001/04/09 15:11:20	1.16
  @@ -14,7 +14,6 @@
   # -------------------------------------------------------------------------
   
   turbine.app.name=newapp
  -turbine.app.view=velocity
   turbine.app.type=peer
   
   target.package=org.mycompany.newapp
  
  
  
  1.55      +14 -20    jakarta-turbine-tdk/src/newapp.xml
  
  Index: newapp.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/src/newapp.xml,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- newapp.xml	2001/03/28 18:04:18	1.54
  +++ newapp.xml	2001/04/09 15:11:20	1.55
  @@ -20,6 +20,9 @@
     <property name="deprecation" value="on"/>
     <property name="optimize" value="off"/>
   
  +  <property name="turbine.app.view" value="velocity"/>
  +  <property name="turbine.app.type" value="peer"/>
  +
     <!-- Build classpath -->
     <path id="classpath">
       <fileset dir="./share/tdk-lib">
  @@ -179,7 +182,10 @@
         <fileset dir="share/${turbine.app.view}/${turbine.app.type}/WEB-INF/src"/>
       </copy>
   
  -    <!-- F L U X -->
  +    <!-- ================================================================= -->
  +    <!-- F L U X                                                           -->
  +    <!-- ================================================================= -->
  +    
       <copy todir="${newapp.src}/java">
         <fileset dir="share/flux/src/java"/>
       </copy>
  @@ -192,7 +198,9 @@
   
       <property name="flux.modules" value="org.apache.turbine.flux.modules"/>
   
  -    <!-- T U R B I N E  R E S O U R C E S  P R O P E R T I E S -->
  +    <!-- ================================================================= -->
  +    <!-- T U R B I N E  R E S O U R C E S  P R O P E R T I E S             -->
  +    <!-- ================================================================= -->
   
       <!--
         This will dynamically generate the correct
  @@ -217,7 +225,10 @@
         <fileset dir="${tomcat.home}/share/tdk-lib"/>
       </copy>
   
  -    <!-- F I X  P E R M I S S I O N S -->
  +    <!-- ================================================================= -->
  +    <!-- F I X  P E R M I S S I O N S                                      -->
  +    <!-- ================================================================= -->
  +    
       <chmod dir="${newapp.home}" perm="ugo+rx" includes="**/*.sh" />
     
     </target>
  @@ -238,23 +249,6 @@
       
       <antcall target="post-${turbine.app.type}"/>
     
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- P O S T  S I M P L E  A P P  A C T I O N                            -->
  -  <!-- =================================================================== -->
  -  <!-- There are no peers involved in the simple app, so we can compile    -->
  -  <!-- all the sources here and the simple app will function.              -->
  -  <!-- =================================================================== -->
  -
  -  <target name="post-simple">
  -    <javac srcdir="${newapp.home}/WEB-INF/src"
  -      destdir="${newapp.home}/WEB-INF/classes"
  -      debug="${debug}"
  -      deprecation="${deprecation}"
  -      optimize="${optimize}">
  -      <classpath refid="classpath"/>
  -    </javac>
     </target>
   
     <!-- =================================================================== -->
  
  
  

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