cziegeler 01/11/23 03:39:16 Modified: . Tag: cocoon_20_branch build.xml Log: Removed old dist target Revision Changes Path No revision No revision 1.8.2.64 +0 -102 xml-cocoon2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/build.xml,v retrieving revision 1.8.2.63 retrieving revision 1.8.2.64 diff -u -r1.8.2.63 -r1.8.2.64 --- build.xml 2001/11/23 10:25:42 1.8.2.63 +++ build.xml 2001/11/23 11:39:16 1.8.2.64 @@ -1095,108 +1095,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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]