Author: nickboldt
Date: 2010-04-30 12:56:28 -0400 (Fri, 30 Apr 2010)
New Revision: 21836
Modified:
branches/modular_build/build/build.xml
Log:
add suffix to timestamp so we know what component is being built
Modified: branches/modular_build/build/build.xml
===================================================================
--- branches/modular_build/build/build.xml 2010-04-30 16:34:54 UTC (rev 21835)
+++ branches/modular_build/build/build.xml 2010-04-30 16:56:28 UTC (rev 21836)
@@ -126,12 +126,13 @@
<target name="init" depends="local">
<macrodef name="now">
+ <text name="info" optional="true" />
<sequential>
<var name="now" unset="true" />
<tstamp>
<format property="now" pattern="hh:mm:ss" />
</tstamp>
- <echo>${now}</echo>
+ <echo>${now} @{info}</echo>
</sequential>
</macrodef>
@@ -186,7 +187,7 @@
<attribute name="op" />
<sequential>
<!-- check out or update -->
- <now />
+ <now/>
<if>
<equals arg1="@{op}" arg2="up" />
<then>
@@ -329,7 +330,7 @@
<for param="COMPONENT" list="${COMPONENTS.to.build}"
delimiter=",
">
<sequential>
- <now />
+ <now>@{COMPONENT}</now>
<!-- If poms already exist, DO NOT OVERWRITE unless
overwrite.existing.pom.xml=true -->
<ant antfile="genpom.xml" target="run"
dir="${WORKINGDIR}">
<property name="COMPONENT" value="@{COMPONENT}" />
@@ -767,4 +768,9 @@
</antcall>
</target>
+ <target name="test.now" depends="init">
+ <now>foobar!</now>
+ <now/>
+ </target>
+
</project>
Show replies by date