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-util/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-util/build.xml')
-rw-r--r-- | testing-util/build.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing-util/build.xml b/testing-util/build.xml new file mode 100644 index 000000000..f5c57973e --- /dev/null +++ b/testing-util/build.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<project name="testing-util" default="all" basedir="."> + + <import file="../build/build-common.xml"/> + <import file="../bridge/build.xml"/> + <import file="../util/build.xml"/> + <import file="../runtime/build.xml"/> + + + <path id="testing-util.test.src.path"> + <fileset dir="${basedir}/../lib"> + <include name="junit/*.jar"/> + <include name="bcel/*.jar"/> + </fileset> + <!-- depends on weaver to use Dissasemble feature on LazyClassGen to test comparison of .class file --> + <pathelement path="../weaver/bin"/> + <pathelement path="../runtime/bin"/> + <path refid="testing-util.src.path"/> + </path> + + <path id="testing-util.src.path"> + <fileset dir="${basedir}/../lib"> + <include name="jdiff/*.jar"/> + </fileset> + <pathelement path="../bridge/bin"/> + <pathelement path="../util/bin"/> + </path> + + <target name="compile" depends="init, + bridge.compile, + util.compile"> + <srccompile project="testing-util" path="testing-util.src.path"/> + </target> + + <target name="test:compile" depends="compile"> + <testcompile project="testing-util" path="testing-util.test.src.path"/> + </target> + + <target name="test" depends="test:compile, + runtime.compile"> + <!-- depends on weaver to access .class dissassemble utility hence circular --> + <subant antfile="build.xml" target="test:compile" buildpath="../weaver" /> + <testrun project="testing-util" path="testing-util.test.src.path" suite="TestingUtilModuleTests"/> + </target> + +</project> + |