aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-31 07:39:17 +0000
committerwisberg <wisberg>2003-05-31 07:39:17 +0000
commitc9570cbaa85e519368cc080079b4327f12f539d4 (patch)
treeb487773893ea1b5783d808daedf8eefbc9158ebf /build
parentc0e83963238f63717f6150e99eafa6b856718359 (diff)
downloadaspectj-c9570cbaa85e519368cc080079b4327f12f539d4.tar.gz
aspectj-c9570cbaa85e519368cc080079b4327f12f539d4.zip
build of testing jars changed slightly.
Have to build non-all testing-drivers to get testing classes target. Relies on updated Module.java which trims testsrc but not testing dependencies for testing modules.
Diffstat (limited to 'build')
-rw-r--r--build/build.xml30
1 files changed, 16 insertions, 14 deletions
diff --git a/build/build.xml b/build/build.xml
index 65a3f9848..f238a5e3a 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -217,23 +217,24 @@
<!-- ===================================================================== -->
<target name="build-testing-drivers" depends="init-taskdefs,init"
unless="testing.drivers.all.available">
- <ajbuild module="testing-drivers"
- baseDir="${aspectj.modules.dir}"
- jarDir="${aj.jar.dir}"
- trimTesting="false"
- buildConfig="${build.config}"
- version="${build.version.long}"
- verbose="true"
- assembleall="true"
- failonerror="true"/>
+ <antcall target="any-module-all">
+ <param name="module.name" value="testing-drivers"/>
+ </antcall>
</target>
<target name="build-testing-jars"
- depends="aspectjrt,
- build,
- ajbrowser-all,
- build-testing-drivers"/>
-
+ depends="aspectjrt,build,ajbrowser-all"
+ description="build testing jars.
+ Use -Dtrim.testing.default=false to build junit tests">
+ <antcall target="any-module">
+ <param name="module.name" value="testing"/>
+ </antcall>
+ <antcall target="any-module">
+ <param name="module.name" value="testing-drivers"/>
+ </antcall>
+ <antcall target="build-testing-drivers"/>
+ </target>
+
<target name="build-testing-client" depends="init-taskdefs,init">
<antcall target="build-module-all">
<param name="module.name" value="testing-client"/>
@@ -244,6 +245,7 @@ To use testing client jar in tests,
</echo>
</target>
+ <!-- remove as unused - see release/build.xml test-sources -->
<target name="ajcTests" depends="init,build-testing-drivers">
<java fork="true" jar="${aj.jar.dir}/testing-drivers-all.jar"
dir="${aspectj.modules.tests.dir}"