cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2 build.xml
Date Thu, 04 Jul 2002 08:24:58 GMT
cziegeler    2002/07/04 01:24:57

  Modified:    .        build.xml
  Log:
  It is possible to get a clean webapp without docs and samples now
  
  Revision  Changes    Path
  1.240     +12 -1     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.239
  retrieving revision 1.240
  diff -u -r1.239 -r1.240
  --- build.xml	4 Jul 2002 06:33:26 -0000	1.239
  +++ build.xml	4 Jul 2002 08:24:57 -0000	1.240
  @@ -1267,7 +1267,18 @@
       <manifest-tool directory="${build.war}/WEB-INF/lib"
                      manifest="${build.war}/WEB-INF/Manifest.mf"/>
   
  -    <jar jarfile="${build.dir}/${name}.war" basedir="${build.war}" includes="**" manifest="${build.war}/WEB-INF/Manifest.mf"/>
  +    <jar jarfile="${build.dir}/${name}.war" manifest="${build.war}/WEB-INF/Manifest.mf">
  +      <fileset dir="${build.war}">
  +        <exclude name="samples/**"       if="exclude.webapp.samples"/>
  +        <exclude name="documentation/**" if="exclude.webapp.documentation"/>
  +      </fileset>
  +    </jar>
  +    <jar jarfile="${build.dir}/${name}-webapp-samples.jar">
  +      <fileset dir="${build.war}/samples"/>
  +    </jar>
  +    <jar jarfile="${build.dir}/${name}-webapp-docs.jar">
  +      <fileset dir="${build.war}/documentation"/>
  +    </jar>
     </target>
   
     <!-- =================================================================== -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message