portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/build build.xml
Date Fri, 05 Apr 2002 21:17:42 GMT
taylor      02/04/05 13:17:42

  Modified:    build    build.xml
  Log:
  Changed deploy target to 'hotdeploy' target
  Added new deploy target which deletes the project directory from app.server, and copies
the new war over to the app server
  
  Revision  Changes    Path
  1.136     +17 -7     jakarta-jetspeed/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- build.xml	4 Apr 2002 18:32:19 -0000	1.135
  +++ build.xml	5 Apr 2002 21:17:42 -0000	1.136
  @@ -80,7 +80,7 @@
       <property name="build.dest.dir" value="${build.dir}/classes"/>        
       <property name="javadocs.destdir" value="docs/api"/>    
       <property name="release.dir" value="${project.name}-${project.version}/"/>
  -	  <property name="install.war" value="${build.dir}/webapp"/>
  +      <property name="install.war" value="${build.dir}/webapp"/>
   
       <!-- Miscellaneous settings -->
   
  @@ -405,7 +405,7 @@
               <arg value="org.apache.jetspeed.xml.api.jcm" />
           </java>
   
  -	<!-- Compile with no deprecation in the API because castor generates (2001/12/17) deprecated
SAX1 calls -->
  +    <!-- Compile with no deprecation in the API because castor generates (2001/12/17)
deprecated SAX1 calls -->
           <javac 
               classpathref="classpath"
               srcdir="${src.java.dir}/org/apache/jetspeed/xml/api" 
  @@ -475,9 +475,9 @@
       </target>    
   
       <!-- =================================================================== -->
  -    <!-- Installs JetSpeed on a local server                                  -->
  +    <!-- Hot deploys JetSpeed on a local server                                  -->
       <!-- =================================================================== -->
  -    <target name="deploy"  depends="compile" description="Hot deploys Jetspeed classes
on a local server">        
  +    <target name="hotdeploy"  depends="compile" description="Hot deploys Jetspeed classes
on a local server">        
           <copy todir="${deploy.war}/jetspeed/WEB-INF/classes">
               <fileset dir="${build.dest.dir}">
                   <!-- Do not include test files in the runtime jar -->
  @@ -491,6 +491,16 @@
       </target>    
              
       <!-- =================================================================== -->
  +    <!-- Deploys JetSpeed on a local server                                  -->
  +    <!-- =================================================================== -->
  +    <target name="deploy"  depends="compile,war" description="Deploys jetspeed.war on
a local server">        
  +        <!-- Remove app dir from webapp & Copy the war file from of the build dir
-->
  +        <delete dir="${deploy.war}/${project.name}"/> 
  +        <copy  file="${build.dir}/${project.name}.war" todir="${deploy.war}">
  +        </copy>
  +    </target>    
  +           
  +    <!-- =================================================================== -->
       <!-- Creates the template war file, one without classes and libs         -->
       <!-- Useful when merging with your jetspeed application                  -->
       <!-- This is how to use it:                                              -->
  @@ -588,7 +598,7 @@
               <zipfileset dir="${docs.dest}" 
                 prefix="docs">
               <exclude name=".#*"/>
  -	      </zipfileset>
  +          </zipfileset>
   
           </war>
       </target>
  @@ -659,7 +669,7 @@
               <!-- Cactus unit tests -->
               <test name="org.apache.jetspeed.modules.actions.TestJLoginUser"/>
               <test name="org.apache.jetspeed.test.TestBasicSanity"/>
  -				
  +                
           </junit>
       </target>
   
  @@ -816,7 +826,7 @@
   
               <!-- JUnit unit tests -->
               <test name="org.apache.jetspeed.services.portletcache.TestTurbineCache"/>
  -				
  +                
           </junit>
       </target>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message