summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-11-21 22:34:48 +0100
committerMichael Bien <[email protected]>2010-11-21 22:34:48 +0100
commit98258032aaeff5b1d6700ed1e49db161f9a2206a (patch)
treeea83777f460dc1cd699e5d20922e84f4c1372976 /build.xml
parentd40f97c1ecb7de88e6093f54aa9d38e23b091be0 (diff)
modified zip folder layout.
added sh1 to artifact.properties.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/build.xml b/build.xml
index 5edb09c1..dd002601 100644
--- a/build.xml
+++ b/build.xml
@@ -121,13 +121,13 @@
</filterchain>
</copy>
- <zip destfile="${dist.dir}/jocl-${jocl.version}-${os.and.arch}.zip">
- <fileset dir="${dist.dir}">
- <include name="*.jar"/>
- <include name="*.jnlp"/>
- <include name="*.properties"/>
- <include name="lib/*"/>
- </fileset>
+ <property name="dist.zip.name" value="jocl-${jocl.version}-${os.and.arch}"/>
+
+ <zip destfile="${dist.dir}/${dist.zip.name}.zip">
+ <zipfileset dir="${dist.dir}" includes="jocl.jar" prefix="${dist.zip.name}/jar"/>
+ <zipfileset dir="${dist.dir}" includes="jocl-natives-*.jar" prefix="${dist.zip.name}/lib"/>
+ <zipfileset dir="${dist.dir}" includes="*.jnlp" prefix="${dist.zip.name}/jnlp-files"/>
+ <zipfileset dir="${dist.dir}" includes="*.properties" prefix="${dist.zip.name}"/>
</zip>
</target>
@@ -137,6 +137,7 @@
<property name="jocl.build.number" value="manual-build"/>
<copy file="${jogl.root}/${rootrel.build}/artifact.properties" todir="${dist.jar.dir}" overwrite="true" failonerror="false"/>
<echo file="${dist.jar.dir}/artifact.properties" message="jocl.build.number=${jocl.build.number}${line.separator}" append="true" />
+ <echo file="${dist.jar.dir}/artifact.properties" message="jocl.scm.commit=${jocl.scm.commit}${line.separator}" append="true" />
</target>
<target name="jar.natives" unless="c.dont.compile">