diff options
author | Paul Phillips <paulp@improving.org> | 2011-12-09 21:46:40 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-12-09 21:47:29 -0800 |
commit | d1e3b46f5bf58469bffb6f8e2ffebd932b990a5d (patch) | |
tree | ad9d96ef23b9ac9b1182c17a485526eeaa79a98a | |
parent | 92e0e57a054c7ab6a59249214be253d0f2f85477 (diff) | |
download | scala-d1e3b46f5bf58469bffb6f8e2ffebd932b990a5d.tar.gz scala-d1e3b46f5bf58469bffb6f8e2ffebd932b990a5d.tar.bz2 scala-d1e3b46f5bf58469bffb6f8e2ffebd932b990a5d.zip |
Print out more useful info in ant.
Decided to stop guessing at what ant was doing.
% ant -Dscalac.args="-Xcheckinit" init
init:
[echo] build time: 9 December 2011, 21:47:22
[echo] java version: Java HotSpot(TM) 64-Bit Server VM 1.6.0_29
[echo] java args: -Xms1536M -Xmx1536M -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC
[echo] javac args:
[echo] scalac args: -Xcheckinit
[echo] build number: 2.10.0.dev-1340-ga890d60
-rw-r--r-- | build.xml | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -189,9 +189,6 @@ PROPERTIES <!-- if ANT_OPTS is already set by the environment, it will be unaltered, but if it is unset it will take this default value. --> <property name="env.ANT_OPTS" value="-Xms1536M -Xmx1536M -Xss1M -XX:MaxPermSize=192M -XX:+UseParallelGC" /> - - <!-- to find max heap usage: -Xaprof ; currently at 980M for locker.comp --> - <echo message="Forking with JVM opts: ${env.ANT_OPTS} ${jvm.opts}" /> <property name="scalacfork.jvmargs" @@ -246,8 +243,12 @@ INITIALISATION value="${version.major}.${version.minor}.${version.patch}.${git.describe}"/> <!-- And print-out what we are building --> - <echo level="info" message="Build number is '${version.number}'"/> - <echo level="info" message="Built ${time.human} from revision ${git.describe} with ${java.vm.name} ${java.version}"/> + <echo message=" build time: ${time.human}" /> + <echo message=" java version: ${java.vm.name} ${java.version}" /> + <echo message=" java args: ${env.ANT_OPTS} ${jvm.opts}" /> + <echo message=" javac args: ${javac.args}" /> + <echo message=" scalac args: ${scalac.args}" /> + <echo message=" build number: ${version.number}" /> <!-- Local libs (developer use.) --> <mkdir dir="${lib-extra.dir}"/> |