1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* build source zip

This commit is contained in:
Reinhard Pointner 2009-08-02 11:51:28 +00:00
parent 3b147b325f
commit f5e8e0363b

View File

@ -28,6 +28,12 @@
<jar destfile="${dir.dist}/filebot-test.jar"> <jar destfile="${dir.dist}/filebot-test.jar">
<fileset dir="${dir.build}" includes="**/*Test*" /> <fileset dir="${dir.build}" includes="**/*Test*" />
</jar> </jar>
<!-- source zip -->
<zip destfile="${dir.dist}/filebot-${version}-src.zip">
<fileset dir="source" />
<fileset dir="test" />
</zip>
</target> </target>
@ -35,7 +41,7 @@
<!-- create dist/fatjar dir --> <!-- create dist/fatjar dir -->
<mkdir dir="${dir.dist}/fatjar" /> <mkdir dir="${dir.dist}/fatjar" />
<jar destfile="${dir.dist}/fatjar/FileBot.jar" filesetmanifest="merge" duplicate="fail"> <jar destfile="${dir.dist}/fatjar/FileBot_${version}.jar" filesetmanifest="merge" duplicate="fail">
<manifest> <manifest>
<attribute name="Built-By" value="${user.name}" /> <attribute name="Built-By" value="${user.name}" />
<attribute name="Built-Date" value="${today}" /> <attribute name="Built-Date" value="${today}" />
@ -118,7 +124,7 @@
<fileset dir="${dir.dist}" includes="filebot.jar" /> <fileset dir="${dir.dist}" includes="filebot.jar" />
<fileset dir="${dir.lib}" includes="*.jar" excludes="junit.jar, jna.jar" /> <fileset dir="${dir.lib}" includes="*.jar" excludes="junit.jar, jna.jar" />
</copy> </copy>
<!-- copy jna.jar without native libs --> <!-- copy jna.jar without native libs -->
<jar destfile="${dir.dist}/webstart/jna.jar"> <jar destfile="${dir.dist}/webstart/jna.jar">
<zipfileset src="${dir.lib}/jna.jar" includes="**/*.class" /> <zipfileset src="${dir.lib}/jna.jar" includes="**/*.class" />