[josm-plugins] 18/369: Add a master build file that calls selected plugin builds in a subant. This reduces patching and gives more control about what's actually build.
Bas Couwenberg
sebastic at xs4all.nl
Sat Oct 18 12:03:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository josm-plugins.
commit 2d4cdafa910f0b86c5f565ee59536048d5ce9738
Author: Andreas Putzo <andreas at putzo.net>
Date: Mon Apr 7 21:03:38 2008 +0000
Add a master build file that calls selected plugin builds in a subant.
This reduces patching and gives more control about what's actually build.
---
debian/master.xml | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/rules | 1 +
2 files changed, 64 insertions(+)
diff --git a/debian/master.xml b/debian/master.xml
new file mode 100644
index 0000000..28abec5
--- /dev/null
+++ b/debian/master.xml
@@ -0,0 +1,63 @@
+<project name="master">
+
+ <!-- Use an empty dummy directory as josm build dir -->
+ <property name="josm.build.dir" value="../tmp/josm"/>
+ <property name="josm" location="/usr/share/josm/josm.jar"/>
+ <property name="plugin.dist.dir" value="../dist"/>
+
+
+ <target name="init">
+ <mkdir dir="../dist"/>
+ <mkdir dir="../tmp/josm/lib"/>
+ </target>
+
+ <target name="build" depends="init">
+ <!--
+ <ant dir="../validator" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/validator.jar"/>
+ </ant>
+ -->
+ <ant dir="../utilsplugin" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/utilsplugin.jar"/>
+ </ant>
+
+ <ant dir="../wmsplugin" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/wmsplugin.jar"/>
+ </ant>
+
+ <ant dir="../livegps" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/livegps.jar"/>
+ </ant>
+ <!--
+ <ant dir="../lang" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/lang.jar"/>
+ </ant>
+ -->
+ <ant dir="../namefinder" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/namefinder.jar"/>
+ </ant>
+
+ <ant dir="../colorscheme" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/colorscheme.jar"/>
+ </ant>
+
+ <ant dir="../slippymap" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/slippymap.jar"/>
+ </ant>
+ <!--
+ <ant dir="../ywms" antfile="build.xml" target="dist">
+ <property name="plugin.jar" value="${plugin.dist.dir}/ywms.jar"/>
+ </ant>
+ -->
+ </target>
+ <target name="clean">
+ <ant dir="../utilsplugin" antfile="build.xml" target="clean"/>
+ <ant dir="../wmsplugin" antfile="build.xml" target="clean"/>
+ <ant dir="../livegps" antfile="build.xml" target="clean"/>
+ <ant dir="../namefinder" antfile="build.xml" target="clean"/>
+ <ant dir="../colorscheme" antfile="build.xml" target="clean"/>
+ <ant dir="../slippymap" antfile="build.xml" target="clean"/>
+ <delete dir="../tmp"/>
+ <delete dir="${plugin.dist.dir}"/>
+ </target>
+</project>
diff --git a/debian/rules b/debian/rules
index f2d8d2c..14e60e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ include /usr/share/cdbs/1/rules/dpatch.mk
JAVA_HOME := /usr/lib/jvm/java-gcj/
ANT_HOME := /usr/share/ant
DEB_JARS := /usr/share/josm/josm.jar
+DEB_ANT_BUILDFILE := $(CURDIR)/debian/master.xml
DEB_ANT_BUILD_TARGET := dist
DEB_ANT_CLEAN_TARGET := clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/josm-plugins.git
More information about the Pkg-grass-devel
mailing list