|
From: Jason D. <us...@us...> - 2002-10-04 09:52:06
|
User: user57
Date: 02/10/04 02:52:04
Modified: . build.xml
Log:
o speed up the build using <parallel> task (builds for me in ~2 minutes)
Revision Changes Path
1.180 +66 -79 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -r1.179 -r1.180
--- build.xml 3 Oct 2002 11:34:53 -0000 1.179
+++ build.xml 4 Oct 2002 09:52:04 -0000 1.180
@@ -10,7 +10,7 @@
<!ENTITY mqstress SYSTEM "./mqstress.xml">
]>
-<!-- $Id: build.xml,v 1.179 2002/10/03 11:34:53 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.180 2002/10/04 09:52:04 user57 Exp $ -->
<!--+======================================================================+-->
<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
@@ -177,17 +177,23 @@
<!--| documentation compiles. |-->
<!--+====================================================================+-->
- <target name="compile"
- description="Compile all source files."
- depends="compile-bean-sources,
- compile-mbean-sources,
- compile-proxycompiler-bean-sources,
- compile-classes,
- compile-xmbean-dds,
- _default:compile-stylesheets,
- _default:compile-resources,
- _default:compile-etc">
- <!-- Add module specific elements here. -->
+ <target name="compile" depends="init"
+ description="Compile all source files.">
+
+ <parallel>
+ <call target="_default:compile-stylesheets"/>
+ <call target="_default:compile-resources"/>
+ <call target="_default:compile-etc"/>
+ <sequential>
+ <call target="compile-xmbean-dds"/>
+ <call target="compile-bean-sources"/>
+ <call target="compile-mbean-sources"/>
+ <call target="compile-proxycompiler-bean-sources"/>
+ </sequential>
+ </parallel>
+
+ <call target="_default:compile-classes"/>
+
</target>
<!-- Compile EJB beans with XDoclet -->
@@ -606,26 +612,6 @@
</target>
- <target name="compile-classes" depends="init">
- <mkdir dir="${build.classes}"/>
- <javac destdir="${build.classes}"
- optimize="${javac.optimize}"
- target="${javac.target}"
- debug="${javac.debug}"
- depend="${javac.depend}"
- verbose="${javac.verbose}"
- deprecation="${javac.deprecation}"
- includeAntRuntime="${javac.include.ant.runtime}"
- includeJavaRuntime="${javac.include.java.runtime}"
- failonerror="${javac.fail.onerror}">
- <src path="${source.java}"/>
- <src path="${build.gen-src}"/>
- <classpath refid="tests.classpath"/>
- <include name="${javac.includes}"/>
- <exclude name="${javac.excludes}"/>
- </javac>
- </target>
-
<!--+====================================================================+-->
<!--| Generate Output |-->
@@ -637,48 +623,50 @@
<target name="output"
description="Generate all target output."
- depends="compile,
- _output:bank,
- _output:bank-new,
- _output:bmp,
- _output:cts,
- _output:entityexc,
- _output:hello,
- _output:idgen,
- _output:dbtest,
- _output:jmsra,
- _output:mdb,
- _output:lock,
- _output:readahead,
- _output:xa,
- _output:jca,
- _output:jmx,
- _output:naming,
- _output:jbossmq,
- _output:load,
- _output:jrmp,
- _output:invokers,
- _output:threading,
- _output:deadlock,
- _output:testbean,
- _output:testbeancluster,
- _output:perf,
- _output:web,
- _output:bench,
- _output:security,
- _output:exception,
- _output:cmp2,
- _output:jsr77,
- _output:scheduler,
- _output:foedeployer,
- _output:jbossmx,
- _output:ejbconf,
- _output:proxycompiler,
- _output:helloiiop,
- _output:bankiiop,
- _output:hellojrmpiiop,
- _output:marathon,
- _output:classloader">
+ depends="compile">
+ <parallel>
+ <call target="_output:bank"/>
+ <call target="_output:bank-new"/>
+ <call target="_output:bmp"/>
+ <call target="_output:cts"/>
+ <call target="_output:entityexc"/>
+ <call target="_output:hello"/>
+ <call target="_output:idgen"/>
+ <call target="_output:dbtest"/>
+ <call target="_output:jmsra"/>
+ <call target="_output:mdb"/>
+ <call target="_output:lock"/>
+ <call target="_output:readahead"/>
+ <call target="_output:xa"/>
+ <call target="_output:jca"/>
+ <call target="_output:jmx"/>
+ <call target="_output:naming"/>
+ <call target="_output:jbossmq"/>
+ <call target="_output:load"/>
+ <call target="_output:jrmp"/>
+ <call target="_output:invokers"/>
+ <call target="_output:threading"/>
+ <call target="_output:deadlock"/>
+ <call target="_output:testbean"/>
+ <call target="_output:testbeancluster"/>
+ <call target="_output:perf"/>
+ <call target="_output:web"/>
+ <call target="_output:bench"/>
+ <call target="_output:security"/>
+ <call target="_output:exception"/>
+ <call target="_output:cmp2"/>
+ <call target="_output:jsr77"/>
+ <call target="_output:scheduler"/>
+ <call target="_output:foedeployer"/>
+ <call target="_output:jbossmx"/>
+ <call target="_output:ejbconf"/>
+ <call target="_output:proxycompiler"/>
+ <call target="_output:helloiiop"/>
+ <call target="_output:bankiiop"/>
+ <call target="_output:hellojrmpiiop"/>
+ <call target="_output:marathon"/>
+ <call target="_output:classloader"/>
+ </parallel>
</target>
<!--
@@ -1292,8 +1280,7 @@
</target>
<!-- jca test -->
- <target name="_output:jca"
- depends="compile">
+ <target name="_output:jca">
<mkdir dir="${build.lib}"/>
<!-- build test adapter -->
@@ -2096,7 +2083,7 @@
</target>
<!-- testbeancluster test -->
- <target name="_output:testbeancluster" depends="_output:testbean">
+ <target name="_output:testbeancluster">
<mkdir dir="${build.lib}"/>
<!-- build testbeancluster.jar -->
@@ -2199,7 +2186,7 @@
</target>
<!-- web test -->
- <target name="_output:web" depends="_output:cts">
+ <target name="_output:web">
<mkdir dir="${build.lib}"/>
<!-- build jbosstest-web-ejbs.jar -->
@@ -2719,7 +2706,7 @@
</target>
<!-- classloader test -->
- <target name="_output:classloader" depends="compile-classes">
+ <target name="_output:classloader">
<mkdir dir="${build.lib}"/>
<!-- build concurrentloader.sar -->
|