summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-01-29 16:53:19 +0000
committermichelou <michelou@epfl.ch>2007-01-29 16:53:19 +0000
commitfba3480e739e2fe318fa9dcb71da424fb90d06fd (patch)
treee5639c31570122ab0e708be84c701306f795c31b /build.xml
parent0e147167565d625c7713a6e74c3d58d0ace24439 (diff)
downloadscala-fba3480e739e2fe318fa9dcb71da424fb90d06fd.tar.gz
scala-fba3480e739e2fe318fa9dcb71da424fb90d06fd.tar.bz2
scala-fba3480e739e2fe318fa9dcb71da424fb90d06fd.zip
moved version/copyright properties from source ...
moved version/copyright properties from source code to property file
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml34
1 files changed, 33 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 211d4b5340..9f6577f997 100644
--- a/build.xml
+++ b/build.xml
@@ -29,7 +29,7 @@ PROPERTIES
<property file="${properties.file}"/>
<!-- Defines the product being built -->
<property name="vendor.name" value="LAMP/EPFL"/>
- <property name="copyright.string" value="Copyright 2002-2007 ${vendor.name}"/>
+ <property name="copyright.string" value="(c) 2002-2007 ${vendor.name}"/>
<property name="number.file" value="${basedir}/build.number"/>
<!-- Configuring how the compiler is run -->
<property name="nsc.log-files" value="no"/>
@@ -64,6 +64,7 @@ PROPERTIES
<property name="scalac.exec.name" value="scalac"/>
<property name="scaladoc.exec.name" value="scaladoc"/>
<property name="fsc.exec.name" value="fsc"/>
+ <property name="comp.prop.name" value="compiler.properties"/>
<!-- ===========================================================================
INITIALISATION
@@ -317,6 +318,16 @@ BUILD LOCAL REFERENCE (LOCKER) LAYER
<include name="**/*.scala"/>
<excludesfile name="${nsc.excludes.file}" if="excludes.avail"/>
</starr>
+ <echo
+ file="${locker.dir}/lib/compiler/${comp.prop.name}"
+ message="version.number=${version.number}${line.separator}"
+ append="false"
+ />
+ <echo
+ file="${locker.dir}/lib/compiler/${comp.prop.name}"
+ message="copyright.string=${copyright.string}${line.separator}"
+ append="true"
+ />
<!-- Timing the build -->
<stopwatch name="timer.locker" action="total"/>
<!-- Copy support files to build folder and links external libraries-->
@@ -451,6 +462,16 @@ BUILD QUICK-TEST LAYER
<include name="**/*.scala"/>
<excludesfile name="${nsc.excludes.file}" if="excludes.avail"/>
</locker>
+ <echo
+ file="${quick.dir}/lib/compiler/${comp.prop.name}"
+ message="version.number=${version.number}${line.separator}"
+ append="false"
+ />
+ <echo
+ file="${quick.dir}/lib/compiler/${comp.prop.name}"
+ message="copyright.string=${copyright.string}${line.separator}"
+ append="true"
+ />
<!-- Timing the build -->
<stopwatch name="timer.quick" action="total"/>
<!-- Copy support files to build folder and links external libraries-->
@@ -585,6 +606,17 @@ TEST
<include name="**/*.scala"/>
<excludesfile name="${nsc.excludes.file}" if="excludes.avail"/>
</quick>
+ <echo
+ file="${strap.dir}/lib/compiler/${comp.prop.name}"
+ message="version.number=${version.number}${line.separator}"
+ append="false"
+ />
+ <echo
+ file="${strap.dir}/lib/compiler/${comp.prop.name}"
+ message="copyright.string=${copyright.string}${line.separator}"
+ append="true"
+ />
+
<!-- Timing the build -->
<stopwatch name="timer.strap" action="total"/>
<!-- Copy support files to build folder and links external libraries-->