aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-04-20 10:57:13 +0000
committeravasseur <avasseur>2005-04-20 10:57:13 +0000
commitcf35fc6351b60933460fe44e00e262cb72f43cef (patch)
tree573d23d687941b1042eee1abc1e71d6045277880
parentc850c085804bc42cb378638cbe0e65a0a5358d3f (diff)
downloadaspectj-cf35fc6351b60933460fe44e00e262cb72f43cef.tar.gz
aspectj-cf35fc6351b60933460fe44e00e262cb72f43cef.zip
fixing Alex build dependancies. Adding top level build. Usefull for patch creation
-rw-r--r--build.xml51
-rw-r--r--build/build-master.xml18
-rw-r--r--testing/build.xml3
-rw-r--r--tests/build.xml2
4 files changed, 62 insertions, 12 deletions
diff --git a/build.xml b/build.xml
new file mode 100644
index 000000000..75a356a95
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<project name="aspectj" basedir="." default="all">
+
+ <!-- a root build.xml that redirects to build/build-master.xml for convenience so that ones can type
+ "ant .." straight in the modules/ root -->
+
+ <target name="patch">
+ <cvs output="patch">
+ <commandline>
+ <argument line="-q diff -u -N"/>
+ </commandline>
+ </cvs>
+ </target>
+
+ <target name="clean">
+ <subant target="clean">
+ <fileset dir="." includes="build/build-master.xml"/>
+ </subant>
+ </target>
+
+ <target name="cleanall">
+ <subant target="cleanall">
+ <fileset dir="." includes="build/build-master.xml"/>
+ </subant>
+ </target>
+
+ <target name="all">
+ <subant target="all">
+ <fileset dir="." includes="build/build-master.xml"/>
+ </subant>
+ </target>
+
+ <target name="compile">
+ <subant target="compile">
+ <fileset dir="." includes="build/build-master.xml"/>
+ </subant>
+ </target>
+
+ <target name="test">
+ <subant target="test">
+ <fileset dir="." includes="build/build-master.xml"/>
+ </subant>
+ </target>
+
+ <target name="jar">
+ <subant target="jar">
+ <fileset dir="." includes="build/build-master.xml"/>
+ </subant>
+ </target>
+
+</project> \ No newline at end of file
diff --git a/build/build-master.xml b/build/build-master.xml
index 980e3a242..fe2ee3a0b 100644
--- a/build/build-master.xml
+++ b/build/build-master.xml
@@ -1,14 +1,6 @@
<?xml version="1.0"?>
<project name="build" basedir=".">
- <target name="patch">
- <cvs output="patch">
- <commandline>
- <argument line="-q diff -u -N"/>
- </commandline>
- </cvs>
- </target>
-
<macrodef name="targets">
<attribute name="name"/>
<sequential>
@@ -33,6 +25,9 @@
ajdoc/build.xml,
ajbrowser/build.xml,
tests/build.xml"/>
+<!--FIXME AV when LTW modules are there -->
+<!-- loadtime/build.xml,-->
+<!-- loadtime5/build.xml"-->
</subant>
</sequential>
</macrodef>
@@ -76,9 +71,10 @@ loadtime5/build.xml
ajde/build.xml,
taskdefs/build.xml,
ajdoc/build.xml,
- ajbrowser/build.xml,
- loadtime/build.xml,
- loadtime5/build.xml"/>
+ ajbrowser/build.xml"/>
+<!--FIXME AV when LTW modules are there -->
+<!-- loadtime/build.xml,-->
+<!-- loadtime5/build.xml-->
<!-- TODO av org.aspectj.lib -->
</subant>
<!-- FIXME av bcel-builder -->
diff --git a/testing/build.xml b/testing/build.xml
index 3358fc43f..5bd931aa5 100644
--- a/testing/build.xml
+++ b/testing/build.xml
@@ -5,6 +5,7 @@
<import file="../ajde/build.xml"/>
<import file="../bridge/build.xml"/>
<import file="../taskdefs/build.xml"/>
+ <import file="../testing-client/build.xml"/>
<path id="testing.test.src.path">
<path refid="testing.src.path"/>
@@ -28,6 +29,7 @@
<pathelement path="../asm/bin"/>
<pathelement path="../bridge/bin"/>
<pathelement path="../taskdefs/bin"/>
+ <pathelement path="../testing-client/bin"/>
<pathelement path="../testing-util/bin"/>
<pathelement path="../util/bin"/>
<fileset dir="${basedir}/../lib">
@@ -42,6 +44,7 @@
asm.compile,
bridge.compile,
taskdefs.compile,
+ testing-client.compile,
testing-util.compile,
util.compile">
<srccompile project="testing" path="testing.src.path"/>
diff --git a/tests/build.xml b/tests/build.xml
index 34005cf00..aed5613f7 100644
--- a/tests/build.xml
+++ b/tests/build.xml
@@ -13,7 +13,6 @@
<!-- all are for test run -->
<path refid="tests.src.path"/>
<pathelement path="../runtime/bin"/>
- <pathelement path="../org.aspectj.ajdt.core/bin"/>
<pathelement path="../weaver/bin"/>
<fileset dir="${basedir}/../lib">
<include name="junit/*.jar"/>
@@ -28,6 +27,7 @@
<pathelement path="../ajde/bin"/>
<pathelement path="../asm/bin"/>
<pathelement path="../bridge/bin"/>
+ <pathelement path="../org.aspectj.ajdt.core/bin"/>
<pathelement path="../org.aspectj.ajdt.core/bintest"/>
<pathelement path="../testing/bin"/>
<pathelement path="../testing-drivers/bin"/>