added timer for target 'dist' in file build.xml
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7059 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
b51167c6ad
commit
9efeedb7f5
39
build.xml
39
build.xml
|
@ -110,6 +110,23 @@ INITIALISATION
|
||||||
pattern="yyyyMMdd-HHmmss"
|
pattern="yyyyMMdd-HHmmss"
|
||||||
/>
|
/>
|
||||||
</tstamp>
|
</tstamp>
|
||||||
|
<echo level="verbose" message="ant.jar=${ant.jar}"/>
|
||||||
|
<echo level="verbose" message="ant-contrib.jar=${ant-contrib.jar}"/>
|
||||||
|
<fail message="Additional Ant tasks in 'lib/' is not available">
|
||||||
|
<condition><not>
|
||||||
|
<available
|
||||||
|
classname="net.sf.antcontrib.AntContribVersion"
|
||||||
|
classpath="${ant-contrib.jar}"
|
||||||
|
/>
|
||||||
|
</not></condition>
|
||||||
|
</fail>
|
||||||
|
<!-- Setting-up Ant contrib tasks -->
|
||||||
|
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
||||||
|
<classpath>
|
||||||
|
<pathelement location="${ant-contrib.jar}"/>
|
||||||
|
</classpath>
|
||||||
|
</taskdef>
|
||||||
|
<stopwatch name="timer.dist"/>
|
||||||
<!-- Testing if everything is in place -->
|
<!-- Testing if everything is in place -->
|
||||||
<echo level="verbose" message="starr.lib.jar=${starr.lib.jar}"/>
|
<echo level="verbose" message="starr.lib.jar=${starr.lib.jar}"/>
|
||||||
<fail message="STARR library in 'lib/' is not available">
|
<fail message="STARR library in 'lib/' is not available">
|
||||||
|
@ -152,16 +169,6 @@ INITIALISATION
|
||||||
<available classname="jaco.pizza.Main" classpath="${jaco.jar}"/>
|
<available classname="jaco.pizza.Main" classpath="${jaco.jar}"/>
|
||||||
</not></condition>
|
</not></condition>
|
||||||
</fail>
|
</fail>
|
||||||
<echo level="verbose" message="ant.jar=${ant.jar}"/>
|
|
||||||
<echo level="verbose" message="ant-contrib.jar=${ant-contrib.jar}"/>
|
|
||||||
<fail message="Additional Ant tasks in 'lib/' is not available">
|
|
||||||
<condition><not>
|
|
||||||
<available
|
|
||||||
classname="net.sf.antcontrib.AntContribVersion"
|
|
||||||
classpath="${ant-contrib.jar}"
|
|
||||||
/>
|
|
||||||
</not></condition>
|
|
||||||
</fail>
|
|
||||||
<!-- Creating class-pathes -->
|
<!-- Creating class-pathes -->
|
||||||
<path id="common.classpath">
|
<path id="common.classpath">
|
||||||
<pathelement location="${fjbg.jar}"/>
|
<pathelement location="${fjbg.jar}"/>
|
||||||
|
@ -181,12 +188,6 @@ INITIALISATION
|
||||||
<pathelement location="${quick.dir}/${comp.dir.name}"/>
|
<pathelement location="${quick.dir}/${comp.dir.name}"/>
|
||||||
<path refid="common.classpath"/>
|
<path refid="common.classpath"/>
|
||||||
</path>
|
</path>
|
||||||
<!-- Setting-up Ant contrib tasks -->
|
|
||||||
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
|
||||||
<classpath>
|
|
||||||
<pathelement location="${ant-contrib.jar}"/>
|
|
||||||
</classpath>
|
|
||||||
</taskdef>
|
|
||||||
<!-- Making sure enough memory is available -->
|
<!-- Making sure enough memory is available -->
|
||||||
<propertyregex
|
<propertyregex
|
||||||
property="memory.set"
|
property="memory.set"
|
||||||
|
@ -1155,6 +1156,12 @@ GENERATES A DISTRIBUTION
|
||||||
includes="files/**/*.check,files/**/*.scala"
|
includes="files/**/*.check,files/**/*.scala"
|
||||||
/>
|
/>
|
||||||
</quicksbaz>
|
</quicksbaz>
|
||||||
|
<stopwatch name="timer.dist" action="total"/>
|
||||||
|
<echo
|
||||||
|
file="${nsc.timers}"
|
||||||
|
append="true"
|
||||||
|
message=" building DIST: ${timer.dist};${line.separator}"
|
||||||
|
/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ===========================================================================
|
<!-- ===========================================================================
|
||||||
|
|
Loading…
Reference in New Issue