]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Add module jars to zip
authorSimon Steiner <ssteiner@apache.org>
Mon, 14 Aug 2023 07:56:09 +0000 (08:56 +0100)
committerSimon Steiner <ssteiner@apache.org>
Mon, 14 Aug 2023 07:56:09 +0000 (08:56 +0100)
fop/releasedist.xml

index 4436256ad4c255ecd9181467fd086d98ad7ba88f..1592aacbb448af507aecef335680d9e1c4dbd6db 100644 (file)
       <fileset dir="${build.javadocs.dir}"/>
     </copy>
     <mkdir dir="${dist.bin.result.dir}/fop/build"/>
-    <copy todir="${dist.bin.result.dir}/fop/build" file="target/fop-${version}.jar"/>
+    <copy todir="${dist.bin.result.dir}/fop/build" flatten="true">
+      <fileset dir="target">
+        <include name="fop-*${version}.jar"/>
+      </fileset>
+    </copy>
     <chmod file="${dist.bin.result.dir}/fop/fop" perm="ugo+rx"/>
     <zip zipfile="${name}-${version}-bin.zip" basedir="${dist.bin.dir}" includes="**"/>
     <tar longfile="gnu" destfile="${name}-${version}-bin.tar">