]> source.dussan.org Git - aspectj.git/commitdiff
build of testing jars changed slightly.
authorwisberg <wisberg>
Sat, 31 May 2003 07:39:17 +0000 (07:39 +0000)
committerwisberg <wisberg>
Sat, 31 May 2003 07:39:17 +0000 (07:39 +0000)
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.

build/build.xml

index 65a3f984879ac9bf97b5e9a8c24e1e811e54240e..f238a5e3aa9e8934f0bb86e61e10a3df847de0eb 100644 (file)
     <!-- ===================================================================== -->
        <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}"