tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2 build.xml
Date Wed, 12 Jun 2002 23:15:28 GMT
costin      2002/06/12 16:15:27

  Modified:    jasper2  build.xml
  Log:
  Build the jars during build, copy in deploy.
  
  Revision  Changes    Path
  1.7       +31 -23    jakarta-tomcat-jasper/jasper2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	6 Jun 2002 00:23:35 -0000	1.6
  +++ build.xml	12 Jun 2002 23:15:27 -0000	1.7
  @@ -92,6 +92,31 @@
         </fileset>
       </copy>
   
  +   <!-- Jasper Compiler JAR File -->
  +   <jar  jarfile="${jasper.build}/shared/lib/jasper-compiler.jar">
  +      <fileset dir="${jasper.build}/shared/classes">
  +        <include name="org/apache/jasper/compiler/**" />
  +        <include name="org/apache/jasper/xmlparser/**" />
  +        <include name="org/apache/jasper/servlet/**" />
  +        <exclude name="org/apache/jasper/Constants.class" />
  +        <exclude name="org/apache/jasper/JasperException.class" />
  +        <include name="org/apache/jasper/*.class" />
  +      </fileset>
  +    </jar>
  +
  +    <!-- Jasper Runtime JAR File -->
  +    <jar  jarfile="${jasper.build}/shared/lib/jasper-runtime.jar">
  +      <fileset dir="${jasper.build}/shared/classes">
  +        <include name="org/apache/jasper/Constants.class" />
  +        <include name="org/apache/jasper/JasperException.class" />
  +        <include name="org/apache/jasper/logging/**" />
  +        <include name="org/apache/jasper/resources/**" />
  +        <include name="org/apache/jasper/runtime/**" />
  +        <include name="org/apache/jasper/util/**" />
  +      </fileset>
  +    </jar>
  +
  +
     </target>
   
   
  @@ -178,30 +203,13 @@
     <!-- ====================== DEPLOY: Create Jasper JARs ================== -->
     <target name="deploy" depends="deploy-static,build-main"
      description="Build and deploy Jasper component">
  - 
  -   <!-- Jasper Compiler JAR File -->
  -   <jar  jarfile="${jasper.deploy}/common/lib/jasper-compiler.jar">
  -      <fileset dir="${jasper.build}/shared/classes">
  -        <include name="org/apache/jasper/compiler/**" />
  -        <include name="org/apache/jasper/xmlparser/**" />
  -        <include name="org/apache/jasper/servlet/**" />
  -        <exclude name="org/apache/jasper/Constants.class" />
  -        <exclude name="org/apache/jasper/JasperException.class" />
  -        <include name="org/apache/jasper/*.class" />
  -      </fileset>
  -    </jar>
  +    <echo message="Deploy to ${jasper.deploy}/common/lib" /> 
  +    <!-- Jasper Compiler JAR File -->
  +    <copy file="${jasper.build}/shared/lib/jasper-compiler.jar"
  +          tofile="${jasper.deploy}/common/lib/jasper-compiler.jar" />
   
  -    <!-- Jasper Runtime JAR File -->
  -    <jar  jarfile="${jasper.deploy}/common/lib/jasper-runtime.jar">
  -      <fileset dir="${jasper.build}/shared/classes">
  -        <include name="org/apache/jasper/Constants.class" />
  -        <include name="org/apache/jasper/JasperException.class" />
  -        <include name="org/apache/jasper/logging/**" />
  -        <include name="org/apache/jasper/resources/**" />
  -        <include name="org/apache/jasper/runtime/**" />
  -        <include name="org/apache/jasper/util/**" />
  -      </fileset>
  -    </jar>
  +    <copy file="${jasper.build}/shared/lib/jasper-runtime.jar"
  +          tofile="${jasper.deploy}/common/lib/jasper-runtime.jar" />
   
       <!-- Copy Ant JAR -->
       <copy todir="${jasper.deploy}/common/lib" file="${ant.jar}"/>
  
  
  

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


Mime
View raw message