Permalink
Browse files

include version number in built jar files

  • Loading branch information...
1 parent 4c472dd commit 4dadb719b6a080d66b3cfc3ac8747e283e7f2cad @krestenkrab committed Dec 3, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 build.xml
View
5 build.xml
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<project name="kilim" default="all">
+ <property name="kilim.version" value="0.6-krab" />
<path id="kilim.classpath">
<pathelement location="classes/" />
<fileset dir="./libs">
@@ -124,7 +125,7 @@
<target name="jar" description="generate the distribution">
<copy file="License" todir="classes/kilim" />
- <jar jarfile="kilim.jar" basedir="classes">
+ <jar jarfile="kilim-${kilim.version}.jar" basedir="classes">
<zipgroupfileset dir="libs" includes="*.jar">
<exclude name="junit.jar" />
</zipgroupfileset>
@@ -135,7 +136,7 @@
<attribute name="Main-Class" value="kilim.tools.Weaver"/>
</manifest>
</jar>
- <jar jarfile="kilim-runtime.jar" basedir="classes">
+ <jar jarfile="kilim-runtime-${kilim.version}.jar" basedir="classes">
<exclude name="kilim/test/**" />
<exclude name="kilim/examples/**" />
<exclude name="kilim/bench/**" />

0 comments on commit 4dadb71

Please sign in to comment.