taylor      01/11/01 20:05:39

  Modified:    build    build.properties build.xml
  Log:
  added 'install' target patch from Ignacio Ortega
  
  Revision  Changes    Path
  1.3       +2 -0      jakarta-jetspeed/build/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.properties  2001/09/20 13:49:57     1.2
  +++ build.properties  2001/11/02 04:05:39     1.3
  @@ -20,3 +20,5 @@
   tomcat.home.40=g:/server/catalina
   # orion.home.14=c:\orion-1.4.5
   # weblogic.home.51=c:\weblogic-5.1
  +install.war=/apache/catalina/webapps
  +
  
  
  
  1.106     +26 -0     jakarta-jetspeed/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- build.xml 2001/10/08 17:54:02     1.105
  +++ build.xml 2001/11/02 04:05:39     1.106
  @@ -434,6 +434,32 @@
           </war>       
           
       </target>    
  +
  +
  +    <!-- =================================================================== -->
  +    <!-- Installs JetSpeed on a local server                                  -->
  +    <!-- =================================================================== -->
  +    <target name="install" depends="jar" description="installs Jetspeed on a local 
server">        
  +        <copy todir="${install.war}/jetspeed">
  +            <fileset dir="${webapp.dir}"/> 
  +        </copy>       
  +        <copy todir="${install.war}/jetspeed/WEB-INF/lib">
  +            <fileset dir="${lib.dir}">
  +                <include name="*.jar"/>                
  +                <exclude name="servlet*.jar"/>
  +            </fileset>            
  +        </copy>       
  +        <copy todir="${install.war}/jetspeed/WEB-INF/classes">
  +            <fileset dir="${build.dest.dir}">
  +                <!-- Do not include test files in the runtime jar -->
  +                 <exclude name="**/Test*.*"/>
  +                 <exclude name="**/test*.*"/>
  +
  +                <!-- Also exclude the test cactus.properties file -->
  +                <exclude name="cactus.properties"/>
  +            </fileset>
  +        </copy>       
  +    </target>    
              
       <!-- =================================================================== -->
       <!-- Creates a binary release war file with javadocs API                 -->
  
  
  

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

Reply via email to