tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@locus.apache.org
Subject cvs commit: jakarta-tomcat/proposals/catalina build.xml
Date Mon, 05 Jun 2000 00:58:03 GMT
remm        00/06/04 17:58:02

  Modified:    proposals/catalina build.xml
  Log:
  - Added a dist target
  
  Revision  Changes    Path
  1.16      +36 -3     jakarta-tomcat/proposals/catalina/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/proposals/catalina/build.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- build.xml	2000/05/30 21:29:41	1.15
  +++ build.xml	2000/06/05 00:58:02	1.16
  @@ -64,9 +64,42 @@
     </target>
   
     <!-- Compile the distribution directory -->
  -  <target name="dist" depends="main">
  -    <mkdir dir="${catalina.dist}"/>
  -    <!-- FIXME: Distribution is not currently relevant -->
  +  <target name="dist" depends="main,tomcat">
  +    <mkdir dir="${catalina.dist}" />
  +    <mkdir dir="${catalina.dist}/lib" />
  +    <mkdir dir="${catalina.dist}/bin" />
  +    <mkdir dir="${catalina.dist}/conf" />
  +    <mkdir dir="${catalina.dist}/doc" />
  +    <mkdir dir="${catalina.dist}/webapps" />
  +
  +    <jar jarfile="${catalina.dist}/lib/webserver.jar"
  +         basedir="${catalina.build}/classes"
  +         includes="org/apache/tomcat/**"/> 
  +    <jar jarfile="${catalina.dist}/lib/jasper.jar"
  +         basedir="${tomcat.build}/classes"
  +         includes="org/apache/jasper/**"/>
  +    <copyfile src="${servlet.jar}" dest="${catalina.dist}/lib/servlet.jar"/>
  +
  +    <!-- create webapp WARS -->
  +    <jar   jarfile="${catalina.dist}/webapps/examples.war"
  +           basedir="${tomcat.build}/webapps/examples"
  +           includes="**" /> 
  +    <jar   jarfile="${catalina.dist}/webapps/admin.war"
  +           basedir="${tomcat.build}/webapps/admin"
  +           includes="**" /> 
  +    <jar   jarfile="${catalina.dist}/webapps/ROOT.war"
  +           basedir="${tomcat.build}/webapps/ROOT"
  +           includes="**" />
  +    <jar   jarfile="${catalina.dist}/webapps/test.war"
  +           basedir="${tomcat.build}/webapps/test"
  +           includes="**" /> 
  +
  +    <copydir src="${catalina.build}/bin" dest="${catalina.dist}/bin" />
  +    <copydir src="${catalina.build}/conf" dest="${catalina.dist}/conf" />
  +    
  +    <chmod perm="+x" src="${catalina.dist}/bin/catalina.sh"/>
  +    <chmod perm="+x" src="${catalina.dist}/bin/startup.sh"/>
  +    <chmod perm="+x" src="${catalina.dist}/bin/shutdown.sh"/>
     </target>
   
     <!-- Clean up the build directory -->
  
  
  

Mime
View raw message