]> source.dussan.org Git - aspectj.git/commitdiff
Added ability to specify property aspectjrt.path
authoracolyer <acolyer>
Wed, 12 Mar 2003 15:42:27 +0000 (15:42 +0000)
committeracolyer <acolyer>
Wed, 12 Mar 2003 15:42:27 +0000 (15:42 +0000)
- needed for release testing.

tests/junitModules.xml

index 1bd6f5177f8917dd1a24ed1640417a7fdc337c04..c432f64c567f754d3472a6c7364d9b2d93ce5c0e 100644 (file)
           <pathelement location="${aspectj.modules.lib.dir}/test/aspectjrt.jar" />
         </classpath>
 
+               <!-- AMC added this next line, needed when testing release builds,
+                 (those whose version is something other than DEVELOPMENT). The NullIdeAdapter
+                 used for various Ajde tests picks up this property and adds it to the project
+                 classpath, which allows the Ajde version tests to complete. 
+                 Having built a release version, use e.g. 
+                 ant -Daspectjrt.path=../aj-build/dist/lib/aspectjrt.jar
+                 -->
+               <jvmarg value="-Daspectjrt.path=${aspectjrt.path}" />
+
         <formatter type="xml"/>
 
         <batchtest todir="${junitModules.output.dir}/${moduleName}">