summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-19 01:13:28 +0100
committerSven Gothel <[email protected]>2010-12-19 01:13:28 +0100
commit68519bb3029d42dc018eec740c29504f7a44867d (patch)
treeed51dc40d2dc8b72cd001d7bd13fede218e2bcef /build.xml
parent314f526bd572920d4c41c29d285a165817f93d8e (diff)
Unique ZIP archive name
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 37259f0..939f22b 100644
--- a/build.xml
+++ b/build.xml
@@ -9,6 +9,10 @@
</not>
</condition>
+ <!-- Pull in GlueGen cpptasks build file -->
+ <property name="gluegen.root" value="../gluegen" />
+ <import file="${gluegen.root}/make/gluegen-cpptasks.xml" />
+
<import file="nbproject/build-impl.xml"/>
<target name="-pre-jar">
@@ -24,8 +28,8 @@
<property name="jocl-demos.version" value="${jocl_demos_base_version}-b${jocl-demos.build.number}-${version.timestamp}" />
</target>
- <target name="-post-jar" depends="tag.build,create-all-jnlps">
- <property name="dist.zip.name" value="jocl-demos-${jocl-demos.version}"/>
+ <target name="-post-jar" depends="tag.build,create-all-jnlps,gluegen.cpptasks.detect.os">
+ <property name="dist.zip.name" value="jocl-demos-${jocl-demos.version}-${os.and.arch}"/>
<zip destfile="${dist.dir}/${dist.zip.name}.zip">
<zipfileset dir="${dist.dir}" includes="jocl-demos.jar" prefix="${dist.zip.name}/jar"/>