Commit d728525c authored by Norbraten, Terry's avatar Norbraten, Terry
Browse files

win specific archive

parent 96b63a10
......@@ -71,10 +71,10 @@
-->
<target name="-post-jar">
<property name="store.jar.name" value="LiFiBenchmarkFat"/>
<property name="store.jar.name" value="${application.title}Fat"/>
<property name="store.jar" value="${dist.dir}/${store.jar.name}.jar"/>
<echo message="Packaging ${application.title} into a single JAR at ${store.jar}"/>
<jar destfile="${dist.dir}/temp_final.jar" filesetmanifest="skip">
<jar destfile="${store.jar}" filesetmanifest="skip">
<zipgroupfileset dir="${dist.dir}" includes="*.jar"/>
<zipgroupfileset dir="${dist.dir}/lib" includes="*.jar"/>
<manifest>
......@@ -82,14 +82,16 @@
</manifest>
</jar>
<zip destfile="${store.jar}">
<zipfileset src="${dist.dir}/temp_final.jar" excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/>
<zipfileset src="${store.jar}" excludes="META-INF/*.SF, META-INF/*.DSA, META-INF/*.RSA"/>
</zip>
<delete file="${dist.dir}/temp_final.jar"/>
<copy todir="${dist.dir}" overwrite="true">
<fileset dir="runscripts"/>
</copy>
<chmod dir="${dist.dir}" perm="u=rwx,go=rx" includes="**/*"/>
<zip destfile="${dist.dir}/${application.title}-WIN.zip">
<zipfileset dir="${dist.dir}" prefix="${application.title}" includes="*Fat.jar"/>
<zipfileset dir="${dist.dir}" prefix="${application.title}" includes="*.bat"/>
</zip>
<delete file="${dist.dir}/README.TXT"/>
<delete file="${dist.jar}"/>
<delete dir="${dist.dir}/lib"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment