diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-04-01 05:14:56 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-04-01 05:14:56 +0000 |
commit | 31458cbaed47e040e70b6b2132e2703af08fefba (patch) | |
tree | 17bd068f7a49219114198ea92db3ca54439e94a0 | |
parent | 6cf170624d89e3ac8e61a42ddacd20c771c5dc8a (diff) | |
download | scala-31458cbaed47e040e70b6b2132e2703af08fefba.tar.gz scala-31458cbaed47e040e70b6b2132e2703af08fefba.tar.bz2 scala-31458cbaed47e040e70b6b2132e2703af08fefba.zip |
include version info in compiler jar
-rw-r--r-- | debian/simpbuild.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/debian/simpbuild.xml b/debian/simpbuild.xml index 37670e541f..016ad38f67 100644 --- a/debian/simpbuild.xml +++ b/debian/simpbuild.xml @@ -23,6 +23,8 @@ <!-- General properties --> <property name="copyright.holder" value="LAMP/EPFL"/> + <property name="copyright.string" value="(c) 2002-2007 ${copyright.holder}"/> + <!-- Javac configuration properties --> <property name="jc.source" value="1.4"/> @@ -307,9 +309,16 @@ <!-- Build jars --> <mkdir dir="${build.jar.dir}"/> - <copy - file="${topdir}/build.number" - tofile="${build.comp.dir}/scala.compiler.version.properties"/> + <echo + file="${build.comp.dir}/compiler.properties" + message="version.number=${version.number}${line.separator}" + append="false" + /> + <echo + file="${build.comp.dir}/compiler.properties" + message="copyright.string=${copyright.string}${line.separator}" + append="true" + /> <jar destfile="${build.jar.dir}/${comp.jar.name}"> <fileset dir="${build.comp.dir}"/> <zipfileset src="${fjbg.jar}"/> @@ -324,6 +333,7 @@ <include name="**/*.xml"/> <include name="**/*.js"/> <include name="**/*.css"/> + <include name="**/*.properties"/> </fileset> <manifest> <attribute name="Signature-Version" value="${version.number}"/> |