aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-07-31 12:32:16 +0000
committerpeter.danner <peter.danner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-07-31 12:32:16 +0000
commit9dc5bdc0267ad0650efd4b629273506395b10b6c (patch)
tree448195c579dfbcac5fd8bd9dc38df7bbc4db3760
parentdc176228408d0f57904f85f03fddd11311f67d76 (diff)
downloadmoa-id-spss-9dc5bdc0267ad0650efd4b629273506395b10b6c.tar.gz
moa-id-spss-9dc5bdc0267ad0650efd4b629273506395b10b6c.tar.bz2
moa-id-spss-9dc5bdc0267ad0650efd4b629273506395b10b6c.zip
Added version infomation do jar-result
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@861 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--common/build.xml13
-rw-r--r--common/manifest.template6
2 files changed, 16 insertions, 3 deletions
diff --git a/common/build.xml b/common/build.xml
index b1075212d..cf352e47b 100644
--- a/common/build.xml
+++ b/common/build.xml
@@ -8,6 +8,7 @@
-->
<project name="moa.common" default="package" basedir=".">
<property environment="env"/>
+ <property name="version" value="1.4.0"/>
<property name="src" value="src"/>
<property name="res" value="res"/>
<property name="tmp" value="tmp"/>
@@ -57,12 +58,12 @@
</target>
<!-- package jar file -->
- <target name="package" depends="compile">
- <jar destfile="${env.MOA_COMMON_JAR}">
+ <target name="package" depends="compile,manifest">
+ <jar destfile="${env.MOA_COMMON_JAR}" manifest="${tmp}/MANIFEST.MF">
<fileset dir="${compile}" excludes="test/**"/>
<fileset dir="${res}"/>
</jar>
- <jar destfile="${env.MOA_COMMON_TEST_JAR}">
+ <jar destfile="${env.MOA_COMMON_TEST_JAR}" manifest="${tmp}/MANIFEST.MF">
<fileset dir="${compile}"/>
<fileset dir="${res}"/>
</jar>
@@ -75,4 +76,10 @@
<target name="clean">
<delete dir="${tmp}"/>
</target>
+
+ <!-- prepare Manifest file -->
+ <target name="manifest">
+ <filter token="version" value="${version}" />
+ <copy file="manifest.template" tofile="${tmp}/MANIFEST.MF" overwrite="true" filtering="true" />
+ </target>
</project>
diff --git a/common/manifest.template b/common/manifest.template
new file mode 100644
index 000000000..734f23f58
--- /dev/null
+++ b/common/manifest.template
@@ -0,0 +1,6 @@
+Manifest-version: 1.0
+
+Name: at/gv/egovernment/moa/util/
+Implementation-Title: MOA-Common
+Implementation-Version: @version@
+Implementation-URL: http://www.cio.gv.at/onlineservices/basicmodules/