User: starksm 
  Date: 01/04/18 16:20:53

  Modified:    tomcat/src/build build.xml
  Log:
  Include tomcat-test.ear in the bundle
  
  Revision  Changes    Path
  1.11      +10 -3     contrib/tomcat/src/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/tomcat/src/build/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml 2001/04/18 03:18:08     1.10
  +++ build.xml 2001/04/18 23:20:53     1.11
  @@ -1,5 +1,5 @@
   <?xml version="1.0" encoding="UTF-8" ?>
  -<!-- $Id: build.xml,v 1.10 2001/04/18 03:18:08 starksm Exp $ -->
  +<!-- $Id: build.xml,v 1.11 2001/04/18 23:20:53 starksm Exp $ -->
   
   <!-- An Ant build file for the tomcat-service jar and the
       JBoss/Tomcat bundle. The buildfile requires a JBoss dist
  @@ -93,7 +93,7 @@
     <!-- Creates a jboss-tomcat bundle using the jboss.dist and tomcat.dist
          contents and ${etc.dir}/conf/tomcat patch files                     -->
     <!-- =================================================================== -->
  -  <target name="bundle" depends="jar">
  +  <target name="bundle" depends="jar,client">
       <mkdir dir="${bundle.root}" />
       <copy todir="${bundle.root}/tomcat">
         <fileset dir="${tomcat.dist}" />
  @@ -110,18 +110,25 @@
         originalfile="${bundle.root}/jboss/conf/tomcat/jboss.jcml" />
       <patch patchfile="${etc.dir}/conf/tomcat/server.xml.patch"
         originalfile="${bundle.root}/tomcat/conf/server.xml" />
  +    <echo file="${bundle.root}/jboss/bin/run_with_tomcat.sh">#!/bin/sh
  +/bin/sh ./run.sh tomcat
  +    </echo>
  +    <echo file="${bundle.root}/jboss/bin/run_with_tomcat.bat">.\run.bat tomcat
  +    </echo>
       <fixcrlf srcdir="${bundle.root}/jboss/bin" cr="remove" eof="remove"
         includes="*.sh" />
       <chmod dir="${bundle.root}/jboss/bin" perm="ugo+rx" includes="*.sh" />
       <fixcrlf srcdir="${bundle.root}/jboss/bin" cr="add" eof="remove"
         includes="*.bat" />
  +    <copy file="${build.dir}/${test.client}.ear"
  +      tofile="${bundle.root}/jboss/deploy/${test.client}.ear" />
     </target>
   
     <target name="bundle.zip" depends="bundle">
       <zip zipfile="${bundle.name}.zip" basedir="${bundle.dir}" />
     </target>
   
  -  <target name="bundle.tgz" depends="bundle">
  +  <target name="bundle.tgz" depends="bundle,client">
       <tar tarfile="${bundle.name}.tar" basedir="${bundle.dir}" />
       <gzip src="${bundle.name}.tar" zipfile="${bundle.name}.tgz" />
     </target>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to