cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon2 build.xml
Date Thu, 17 May 2001 05:00:36 GMT
giacomo     01/05/16 22:00:35

  Modified:    .        build.xml
  Log:
  correction to produce dists
  
  Revision  Changes    Path
  1.2       +10 -3     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2001/05/09 20:49:26	1.1
  +++ build.xml	2001/05/17 05:00:33	1.2
  @@ -138,6 +138,7 @@
   
       <property name="src.dir"      value="./src"/>
       <property name="lib.dir"      value="./lib"/>
  +    <property name="bin.dir"      value="./bin"/>
       <property name="docs.dir"     value="./xdocs"/>
       <property name="dtd.dir"      value="./xdocs/dtd"/>
       <property name="skins.dir"    value="./skins"/>
  @@ -615,6 +616,7 @@
     <!-- =================================================================== -->
     <target name="dist" depends="package, webapp, docs, javadocs" description="Prepares
the distribution">
       <mkdir dir="${dist.dir}"/>
  +    <mkdir dir="${dist.dir}/bin"/>
       <mkdir dir="${dist.dir}/lib"/>
       <mkdir dir="${dist.dir}/src"/>
       <mkdir dir="${dist.dir}/docs"/>
  @@ -629,6 +631,9 @@
       <copy todir="${dist.dir}/webapp">
         <fileset dir="${build.war}"/>
       </copy>
  +    <copy todir="${dist.dir}/bin">
  +      <fileset dir="${bin.dir}"/>
  +    </copy>
       <copy todir="${dist.dir}/lib">
         <fileset dir="${lib.dir}"/>
       </copy>
  @@ -656,7 +661,7 @@
       <copy todir="${dist.dir}" filtering="on">
        <fileset dir=".">
         <include name="README"/>
  -      <include name="LICENSE"/>
  +      <include name="LICENSE*"/>
         <include name="INSTALL"/>
         <include name="WARNING"/>
         <include name="*.bat"/>
  @@ -666,6 +671,7 @@
   
       <chmod perm="+x" file="${dist.dir}/run.sh"/>
       <chmod perm="+x" file="${dist.dir}/build.sh"/>
  +    <chmod perm="+x" file="${dist.dir}/bin/antRun"/>
       <fixcrlf srcdir="${dist.dir}" includes="run.sh"       cr="remove"/>
       <fixcrlf srcdir="${dist.dir}" includes="run.bat"      cr="add"/>
       <fixcrlf srcdir="${dist.dir}" includes="build.sh"     cr="remove"/>
  @@ -676,14 +682,15 @@
     <!-- Packages the distribution as .zip                                   -->
     <!-- =================================================================== -->
     <target name="dist-zip" depends="dist" description="* Generates the distribution as
a .zip file">
  -    <zip zipfile="${dist.target}/${Name}-${version}.zip" basedir="${dist.dir}" includes="**"/>
  +    <zip zipfile="${dist.target}/${Name}-${version}.zip" basedir="${dist.dir}"
  +        includes="**" excludes="**/${Name}-${version}.tar*"/>
     </target>
   
     <!-- =================================================================== -->
     <!-- Packages the distribution with .tar.gzip                            -->
     <!-- =================================================================== -->
     <target name="dist-tgz" depends="dist" description="* Generates the distribution as
a .tar.gz file">
  -    <tar tarfile="${dist.target}/${Name}-${version}.tar" basedir="${dist.root}" includes="**"/>
  +    <tar tarfile="${dist.target}/${Name}-${version}.tar" basedir="${dist.root}" excludes="**/${Name}-${version}.zip"/>
       <gzip zipfile="${dist.target}/${Name}-${version}.tar.gz" src="${dist.target}/${Name}-${version}.tar"/>
     </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