[cvs] eforum build.xml
David Lloyd
dlloyd at jcorp2.servlets.net
Tue May 4 04:29:58 PDT 2004
Update of /home/javacorp/.cvs/expresso/eforum
In directory jcorp2.servlets.net:/tmp/cvs-serv11490
Modified Files:
build.xml
Log Message:
support for nightly builds
Index: build.xml
===================================================================
RCS file: /home/javacorp/.cvs/expresso/eforum/build.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** build.xml 16 Mar 2004 04:52:40 -0000 1.13
--- build.xml 4 May 2004 11:29:56 -0000 1.14
***************
*** 116,121 ****
<target name="init">
<tstamp>
! <format property="TSTAMP" pattern="h:mma"/>
! <format property="TODAY" pattern="MMMM d, yyyy"/>
</tstamp>
<echo>Ant started at ${TSTAMP} on ${TODAY}</echo>
--- 116,122 ----
<target name="init">
<tstamp>
! <format property="TSTAMP" pattern="h:mma"/>
! <format property="TODAY" pattern="MMMM d, yyyy"/>
! <format property="NIGHTLY" pattern="yyyyMMdd"/>
</tstamp>
<echo>Ant started at ${TSTAMP} on ${TODAY}</echo>
***************
*** 342,348 ****
========================================================================
-->
! <target name="bld-src-war" depends="init,buildDirs">
! <delete file="${eforum.build.dist}/${eforum.name}-src.zip" failonerror="false"/>
! <zip zipfile="${eforum.build.dist}/${eforum.name}-src.zip" basedir="src" includes="
WEB-INF/bin/**/*,
WEB-INF/tld/*.tld,
--- 343,353 ----
========================================================================
-->
! <target name="bld-src-war" >
! <property name="eforum.basename" value="${eforum.name}"/>
! <antcall target='bld-src-war-named'/>
! </target>
! <target name="bld-src-war-named" depends="init,buildDirs">
! <delete file="${eforum.build.dist}/${eforum.basename}-src.zip" failonerror="false"/>
! <zip zipfile="${eforum.build.dist}/${eforum.basename}-src.zip" basedir="src" includes="
WEB-INF/bin/**/*,
WEB-INF/tld/*.tld,
***************
*** 364,368 ****
========================================================================
-->
! <target name="binary-war" depends="build, xmldocs, javadoc, bld-binary, jar" description="Build the Expresso Binary Distribution"/>
<!--
========================================================================
--- 369,387 ----
========================================================================
-->
! <target name="bld-nightly" depends='init' description="Build the Expresso Nightly Distribution">
! <property name="eforum.basename" value="eforum-${NIGHTLY}"/>
! <antcall target='bld-src-war-named'/>
! <antcall target='binary-war-named'/>
! </target>
! <!--
! ========================================================================
! Creates the Component binary war with a complete rebuild.
! ========================================================================
! -->
! <target name="binary-war" description="Build the Expresso Binary Distribution">
! <property name="eforum.basename" value="${eforum.name}"/>
! <antcall target='binary-war-named'/>
! </target>
! <target name="binary-war-named" depends="build, xmldocs, javadoc, bld-binary-named, jar" description="Build the Expresso Binary Distribution"/>
<!--
========================================================================
***************
*** 370,376 ****
========================================================================
-->
! <target name="bld-binary" depends="init, jar, buildDirs" description="Build the Expresso Binary Distribution">
! <delete file="${eforum.build.dist}/${eforum.name}-bin.zip" failonerror="false"/>
! <zip zipfile="${eforum.build.dist}/${eforum.name}-bin.zip" compress="on" basedir="src" includes="
WEB-INF/bin/**/*,
WEB-INF/tld/*.tld,
--- 389,399 ----
========================================================================
-->
! <target name="bld-binary" description="Build the Expresso Binary Distribution">
! <property name="eforum.basename" value="${eforum.name}"/>
! <antcall target='bld-binary-named'/>
! </target>
! <target name="bld-binary-named" depends="init, jar, buildDirs" description="Build the Expresso Binary Distribution">
! <delete file="${eforum.build.dist}/${eforum.basename}-bin.zip" failonerror="false"/>
! <zip zipfile="${eforum.build.dist}/${eforum.basename}-bin.zip" compress="on" basedir="src" includes="
WEB-INF/bin/**/*,
WEB-INF/tld/*.tld,
***************
*** 392,396 ****
========================================================================
-->
! <target name="javadoc-zip" depends="javadoc,bld-javadoc-zip" description="Builds the JavaDoc API Zip File"/>
<!--
========================================================================
--- 415,422 ----
========================================================================
-->
! <target name="javadoc-zip" depends="javadoc" description="Builds the JavaDoc API Zip File">
! <property name="eforum.basename" value="${eforum.name}"/>
! <antcall target='bld-javadoc-zip'/>
! </target>
<!--
========================================================================
***************
*** 399,404 ****
-->
<target name="bld-javadoc-zip" depends="init,buildDirs">
! <delete file="${eforum.build.dist}/${eforum.name}-javadoc.zip" failonerror="false"/>
! <zip zipfile="${eforum.build.dist}/${eforum.name}-javadoc.zip" basedir="${eforum.component}/javadoc" includes="**/*" compress="true"/>
</target>
<!--
--- 425,430 ----
-->
<target name="bld-javadoc-zip" depends="init,buildDirs">
! <delete file="${eforum.build.dist}/${eforum.basename}-javadoc.zip" failonerror="false"/>
! <zip zipfile="${eforum.build.dist}/${eforum.basename}-javadoc.zip" basedir="${eforum.component}/javadoc" includes="**/*" compress="true"/>
</target>
<!--
***************
*** 407,412 ****
========================================================================
-->
! <target name="build-all" depends="init, buildDirs, build, javadoc, xmldocs, bld-javadoc-zip, bld-src-war, bld-binary">
<echo>Built all ${app.name} distributions</echo>
</target>
<!--
--- 433,442 ----
========================================================================
-->
! <target name="build-all" >
! <property name="eforum.basename" value="${eforum.name}"/>
! <antcall target='build-all-named'/>
<echo>Built all ${app.name} distributions</echo>
+ </target>
+ <target name="build-all-named" depends="init, buildDirs, build, javadoc, xmldocs, bld-javadoc-zip, bld-src-war-named, bld-binary-named">
</target>
<!--
More information about the cvs
mailing list