[latexdraw] 67/147: * update build.xml for new upstream release
Stuart Prescott
stuart at debian.org
Thu Nov 24 23:53:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
stuart pushed a commit to branch master
in repository latexdraw.
commit 89db01e144b9fd9e726a10782cdc0c76b9a10286
Author: Stuart Prescott <stuart at debian.org>
Date: Thu Apr 23 22:43:32 2009 +0000
* update build.xml for new upstream release
---
build.xml | 40 +++++++++++++++++++++++++++-------------
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/build.xml b/build.xml
index fa962de..e3c0696 100644
--- a/build.xml
+++ b/build.xml
@@ -4,15 +4,18 @@
<property name="dir.data" value="out/data"/>
<property name="dir.report" value="out/report"/>
<property name="dir.doc" location="doc"/>
+ <property name="release.name" value="LaTeXDraw2.0.1" />
<!-- Creates the output directories -->
<target name="prepare">
- <mkdir dir="${dir.out}"/>
- <mkdir dir="${dir.report}"/>
- <mkdir dir="${dir.data}/.cache"/>
- <mkdir dir="${dir.data}/templates"/>
+ <mkdir dir="${dir.out}"/>
+ <mkdir dir="${dir.report}"/>
+ <mkdir dir="${dir.data}/.cache"/>
+ <mkdir dir="${dir.data}/templates"/>
+ <mkdir dir="${dir.out}/${release.name}_src"/>
+ <mkdir dir="${dir.out}/${release.name}"/>
</target>
-
+
<path id="classpathlib">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
@@ -86,7 +89,7 @@
<!-- Filters the files -->
<fileset dir=""
- includes="latexDraw/**/*.class ; res/**/* ; lang/**/*"
+ includes="latexDraw/**/*.class ; res/**/* ; lang/**/* ; release_note.txt ; license.txt"
excludes="latexDraw/**/*.java ; latexDraw/installer/* ; latexDraw/ui/listeners/InstallerListener.*"/>
</jar>
</target>
@@ -96,17 +99,28 @@
<available property="junit.present" classname="junit.framework.TestCase" />
</target>
- <target name="zip src" depends="jar">
- <zip destfile="${dir.out}/LaTeXDraw2.0.0_src.zip" compress="true">
- <fileset dir=""
- includes="**/*" excludes="site/ ; Todo.txt ; graphisme/ ; out/"/>
+ <target name="copy src" depends="jar">
+ <copy todir="out/${release.name}_src">
+ <fileset dir="" includes="**/*" excludes="site/ ; Todo.txt ; graphisme/ ; out/ ; **/*.class"/>
+ </copy>
+ </target>
+
+ <target name="zip src" depends="copy src">
+ <zip destfile="${dir.out}/${release.name}_src.zip" compress="true">
+ <fileset dir="out/" includes="${release.name}_src/" />
</zip>
</target>
+ <target name="clean src" depends="zip src">
+ <delete dir="out/${release.name}_src" />
+ </target>
+
<target name="zip jar" depends="zip src">
- <zip destfile="${dir.out}/LaTeXDraw2.0.0_bin.zip" compress="true">
- <fileset dir="out/"
- includes="**/*" excludes="LaTeXDraw2.0.0_src.zip ; report"/>
+ <copy todir="out/${release.name}">
+ <fileset dir="out/" includes="data/ ; install_vista.vbs ; *.txt ; *.jar" />
+ </copy>
+ <zip destfile="${dir.out}/${release.name}_bin.zip" compress="true">
+ <fileset dir="out/" includes="${release.name}/"/>
</zip>
</target>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/latexdraw.git
More information about the pkg-java-commits
mailing list