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 Fri, 23 Nov 2001 11:39:35 GMT
cziegeler    01/11/23 03:39:35

  Modified:    .        build.xml
  Log:
  Removed old dist target
  
  Revision  Changes    Path
  1.104     +0 -102    xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- build.xml	2001/11/23 10:26:04	1.103
  +++ build.xml	2001/11/23 11:39:35	1.104
  @@ -1279,108 +1279,6 @@
     </target>
   
     <!-- =================================================================== -->
  -  <!-- Creates the distribution                                            -->
  -  <!-- =================================================================== -->
  -  <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}/documentation"/>
  -    <mkdir dir="${dist.dir}/docs"/>
  -    <mkdir dir="${dist.dir}/docs/apidocs"/>
  -    <mkdir dir="${dist.dir}/resources"/>
  -    <mkdir dir="${dist.dir}/webapp"/>
  -
  -    <copy file="${build.dir}/${name}.jar" tofile="${dist.dir}/lib/${name}-${version}.jar"/>
  -
  -    <copy todir="${dist.dir}/src">
  -      <fileset dir="${src.dir}"/>
  -    </copy>
  -
  -    <copy todir="${dist.dir}/webapp">
  -      <fileset dir="${build.war}">
  -        <!-- Do not copy the tools.jar (which is renamed to javac.jar) -->
  -        <exclude name="**/javac.jar"/>
  -      </fileset>
  -    </copy>
  -
  -    <!-- Fix for web.xml, cocoon.xconf and sitemap.xmap -->
  -    <copy file="${webapp.dir}/cocoon.xconf" tofile="${dist.dir}/webapp/cocoon.xconf"
filtering="off" overwrite="yes"/>
  -    <copy file="${webapp.dir}/sitemap.xmap" tofile="${dist.dir}/webapp/sitemap.xmap"
filtering="off" overwrite="yes"/>
  -    <copy file="${webapp.dir}/WEB-INF/web.xml" tofile="${dist.dir}/webapp/WEB-INF/web.xml"
filtering="off" overwrite="yes"/>
  -
  -    <copy todir="${dist.dir}/bin">
  -      <fileset dir="${bin.dir}"/>
  -    </copy>
  -    <copy todir="${dist.dir}/lib">
  -      <fileset dir="${lib.dir}"/>
  -    </copy>
  -
  -    <copy todir="${dist.dir}/documentation">
  -      <fileset dir="${build.context}"/>
  -    </copy>
  -    <copy todir="${dist.dir}/docs">
  -      <fileset dir="${build.docs}"/>
  -    </copy>
  -    <copy todir="${dist.dir}/docs/apidocs">
  -      <fileset dir="${build.javadocs}"/>
  -    </copy>
  -    <copy todir="${dist.dir}">
  -      <fileset dir="${docs.dir}">
  -        <include name="changes.xml, todo.xml"/>
  -      </fileset>
  -    </copy>
  -    <copy todir="${dist.dir}/resources">
  -      <fileset dir="${resource.dir}"/>
  -    </copy>
  -
  -
  -    <copy todir="${dist.dir}" filtering="on">
  -     <fileset dir=".">
  -      <include name="README"/>
  -      <include name="LICENSE*"/>
  -      <include name="INSTALL"/>
  -      <include name="WARNING"/>
  -      <include name="*.bat"/>
  -      <include name="*.sh"/>
  -      <include name="KEYS"/>
  -      <include name="*.xml"/>
  -      <include name="*.properties"/>
  -     </fileset>
  -    </copy>
  -
  -    <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"       eol="lf"/>
  -    <fixcrlf srcdir="${dist.dir}" includes="run.bat"      eol="crlf"/>
  -    <fixcrlf srcdir="${dist.dir}" includes="build.sh"     eol="lf"/>
  -    <fixcrlf srcdir="${dist.dir}" includes="build.bat"    eol="crlf"/>
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- Packages the distribution as .zip                                   -->
  -  <!-- =================================================================== -->
  -  <target name="dist-zip" depends="dist" description="* Generates the distribution as
a .zip file">
  -    <zip zipfile="${dist.target}/${dist.name}.zip"
  -         basedir="${dist.root}"
  -         includes="${dist.name}/**"/>
  -  </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}/${dist.name}.tar"
  -         basedir="${dist.root}"
  -         includes="${dist.name}/**"
  -         longfile="gnu"/>
  -    <gzip zipfile="${dist.target}/${dist.name}.tar.gz"
  -          src="${dist.target}/${dist.name}.tar"/>
  -  </target>
  -
  -  <!-- =================================================================== -->
     <!-- Build all distributions                                             -->
     <!-- =================================================================== -->
     <target name="dists-info" depends="init">
  
  
  

----------------------------------------------------------------------
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