diff options
author | Kelly Campbell <kellyc@apache.org> | 2001-03-31 01:45:11 +0000 |
---|---|---|
committer | Kelly Campbell <kellyc@apache.org> | 2001-03-31 01:45:11 +0000 |
commit | 3f0aea700af178ab2e50a9751838270d03ab52c8 (patch) | |
tree | c20d869540734de592f4567a69a01aadf4ab4453 /build.xml | |
parent | 4805c63fb1a1fd0c075dbf872cf1e07ae119a934 (diff) | |
download | xmlgraphics-fop-3f0aea700af178ab2e50a9751838270d03ab52c8.tar.gz xmlgraphics-fop-3f0aea700af178ab2e50a9751838270d03ab52c8.zip |
Added enclosing directory for distributions
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -191,6 +191,8 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <!-- <property name="dist.dir" value="./dist"/> --> <property name="dist.bin.dir" value="./dist-bin"/> <property name="dist.src.dir" value="./dist-src"/> + <property name="dist.bin.result.dir" value="${dist.bin.dir}/${Name}-${version}"/> + <property name="dist.src.result.dir" value="${dist.src.dir}/${Name}-${version}"/> <property name="properties.dir" value="org/apache/fop/fo/properties"/> <property name="fonts.dir" value="org/apache/fop/render/pdf/fonts"/> @@ -537,6 +539,8 @@ Sometimes ant gives out this warnings, but the build is finished without any pro includes="org/**,conf/**,hyph/**"/> </target> + <target name="all" depends="package"/> <!-- "all" target for us Makefile converts ;-) --> + <target name="package-jdk11" depends="compile-jdk11,hyphenation"> <echo message="Creating the jar file ${build.dir}/${name}11.jar"/> <jar jarfile="${build.dir}/${name}-jdk11.jar" @@ -578,12 +582,12 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <target name="dist-bin" depends="package, javadocs"> <echo message="Building the binary distribution files (zip,tar)"/> - <mkdir dir="${dist.bin.dir}"/> - <copy todir="${dist.bin.dir}"> + <mkdir dir="${dist.bin.result.dir}"/> + <copy todir="${dist.bin.result.dir}"> <fileset refid="dist.bin"/> <fileset refid="dist.bin.lib"/> </copy> - <copy todir="${dist.bin.dir}" file="build/fop.jar"/> + <copy todir="${dist.bin.result.dir}" file="build/fop.jar"/> <zip zipfile="${Name}-${version}-bin.zip" basedir="${dist.bin.dir}" includes="**"/> <tar tarfile="${Name}-${version}-bin.tar" basedir="${dist.bin.dir}" includes="**"/> @@ -595,15 +599,15 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <target name="dist-src" depends="package, javadocs"> <echo message="Building the source distribution files (zip,tar)"/> - <mkdir dir="${dist.src.dir}"/> - <copy todir="${dist.src.dir}"> + <mkdir dir="${dist.src.result.dir}"/> + <copy todir="${dist.src.result.dir}"> <fileset refid="dist.src"/> </copy> - <copy todir="${dist.src.dir}/javadocs"> + <copy todir="${dist.src.result.dir}/javadocs"> <fileset dir="${build.javadocs}"/> </copy> - <copy todir="${dist.src.dir}" file="build/fop.jar"/> - <chmod file="${dist.src.dir}/build.sh" perm="ugo+rx" /> + <copy todir="${dist.src.result.dir}" file="build/fop.jar"/> + <chmod file="${dist.src.result.dir}/build.sh" perm="ugo+rx" /> <zip zipfile="${Name}-${version}-src.zip" basedir="${dist.src.dir}" includes="**"/> <tar tarfile="${Name}-${version}-src.tar" basedir="${dist.src.dir}" includes="**"/> |