diff options
author | aclement <aclement> | 2005-04-19 10:38:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-19 10:38:38 +0000 |
commit | f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c (patch) | |
tree | 2362d53afe3cb37c15b9ff0a3d513fcad9e0b89b /testing/build.xml | |
parent | 45ae94da9e44a31f970c9f5ee4f678902b26fc17 (diff) | |
download | aspectj-f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c.tar.gz aspectj-f7bcff6dbf16ed80ca4934fd8529deae6ebdde7c.zip |
From branch: New build scripts that Alex uses under IntelliJ - can be run individually or via master in build module.
Diffstat (limited to 'testing/build.xml')
-rw-r--r-- | testing/build.xml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/testing/build.xml b/testing/build.xml new file mode 100644 index 000000000..3358fc43f --- /dev/null +++ b/testing/build.xml @@ -0,0 +1,71 @@ +<?xml version="1.0"?> +<project name="testing" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../ajde/build.xml"/> + <import file="../bridge/build.xml"/> + <import file="../taskdefs/build.xml"/> + + <path id="testing.test.src.path"> + <path refid="testing.src.path"/> + <fileset dir="${basedir}/../lib"> + <include name="junit/*.jar"/> + </fileset> + <!-- for test run --> + <pathelement path="../org.aspectj.ajdt.core/bin"/> + <pathelement path="../weaver/bin"/> + <pathelement path="../runtime/bin"/> + <fileset dir="${basedir}/../org.eclipse.jdt.core"> + <include name="*.jar"/> + </fileset> + <fileset dir="${basedir}/../lib"> + <include name="bcel/*.jar"/> + </fileset> + </path> + + <path id="testing.src.path"> + <pathelement path="../ajde/bin"/> + <pathelement path="../asm/bin"/> + <pathelement path="../bridge/bin"/> + <pathelement path="../taskdefs/bin"/> + <pathelement path="../testing-util/bin"/> + <pathelement path="../util/bin"/> + <fileset dir="${basedir}/../lib"> + <include name="commons/*.jar"/> + </fileset> + <!-- for newsrc --> + <pathelement path="../org.aspectj.ajdt.core/bintest"/> + </path> + + <target name="compile" depends="init, + ajde.compile, + asm.compile, + bridge.compile, + taskdefs.compile, + testing-util.compile, + util.compile"> + <srccompile project="testing" path="testing.src.path"/> + <!-- newsrc depends on ajdt.test:compile and we cannot use a depends for it due to the way + Ant manage overrides thru <import --> + <testcompile project="weaver" path="weaver.test.src.path"/> + <testcompile project="org.aspectj.ajdt.core" path="org.aspectj.ajdt.core.test.src.path"/> + <javac debug="on" destdir="../testing/bin" source="1.2" target="1.1"> + <src path="../testing/newsrc"/> + <classpath refid="testing.src.path"/> + <classpath path="../org.aspectj.ajdt.core/bintest"/> + </javac> + </target> + + <target name="test:compile" depends="compile"> + <testcompile project="testing" path="testing.test.src.path"/> + </target> + + <target name="test" depends="test:compile, + org.aspectj.ajdt.core.compile, + weaver.compile, + runtime.compile"> + <testrun project="testing" path="testing.test.src.path" suite="TestingModuleTests"/> + </target> + +</project> + |