diff options
author | Manuel Mall <manuel@apache.org> | 2005-11-12 13:45:13 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2005-11-12 13:45:13 +0000 |
commit | b7c43146df568f75ea23907c8e647e501d65c6bc (patch) | |
tree | d881ecace994137e24d81efd075976286e83fe20 /build.xml | |
parent | ebd5b57340c7110e86213b6ade6c4a67eb718205 (diff) | |
download | xmlgraphics-fop-b7c43146df568f75ea23907c8e647e501d65c6bc.tar.gz xmlgraphics-fop-b7c43146df568f75ea23907c8e647e501d65c6bc.zip |
Changed tar targets to set execute permission on fop script
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332774 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -1054,7 +1054,16 @@ NOTE: <chmod file="${dist.bin.result.dir}/fop" perm="ugo+rx"/> <zip zipfile="${name}-${version}-bin.zip" basedir="${dist.bin.dir}" includes="**"/> - <tar tarfile="${name}-${version}-bin.tar" basedir="${dist.bin.dir}" includes="**"/> + <tar longfile="gnu" + destfile="${name}-${version}-bin.tar" > + <tarfileset dir="${dist.bin.dir}" mode="755"> + <include name="${name}-${version}/fop"/> + </tarfileset> + <tarfileset dir="${dist.bin.dir}"> + <include name="**"/> + <exclude name="${name}-${version}/fop"/> + </tarfileset> + </tar> <gzip zipfile="${name}-${version}-bin.tar.gz" src="${name}-${version}-bin.tar"/> <delete file="${name}-${version}-bin.tar"/> </target> @@ -1070,11 +1079,19 @@ NOTE: </copy> <mkdir dir="${dist.src.result.dir}/build"/> <copy todir="${dist.src.result.dir}/build" file="build/fop.jar"/> - <chmod file="${dist.src.result.dir}/build.sh" perm="ugo+rx"/> <chmod file="${dist.src.result.dir}/fop" 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="**"/> + <tar longfile="gnu" + destfile="${name}-${version}-src.tar" > + <tarfileset dir="${dist.src.dir}" mode="755"> + <include name="${name}-${version}/fop"/> + </tarfileset> + <tarfileset dir="${dist.src.dir}"> + <include name="**"/> + <exclude name="${name}-${version}/fop"/> + </tarfileset> + </tar> <gzip zipfile="${name}-${version}-src.tar.gz" src="${name}-${version}-src.tar"/> <delete file="${name}-${version}-src.tar"/> </target> |