summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-24 13:46:50 +0000
committerwisberg <wisberg>2003-05-24 13:46:50 +0000
commitdbb235342768ccb4e638ac7525caadacb22db7da (patch)
tree9025cd8fc1639c88ead841a0a6ba744ed6abdf33 /build
parentfcc0a6b0673cabb565a007e73ef111377cf45971 (diff)
downloadaspectj-dbb235342768ccb4e638ac7525caadacb22db7da.tar.gz
aspectj-dbb235342768ccb4e638ac7525caadacb22db7da.zip
no real changes, just better docs and an (untested) "all" target.
Diffstat (limited to 'build')
-rw-r--r--build/release/build.xml47
1 files changed, 45 insertions, 2 deletions
diff --git a/build/release/build.xml b/build/release/build.xml
index 897b8386d..add913711 100644
--- a/build/release/build.xml
+++ b/build/release/build.xml
@@ -16,7 +16,7 @@
<target name="info">
<echo>
- This downloads and build the AspectJ source tree:
+ This downloads and builds the AspectJ source tree:
- checkout entire tree
- build distribution
@@ -44,7 +44,44 @@
aspectj.workspace location for new cvs tree
aspectj.modules.dir location for existing cvs tree
aj.build.install.dir location for installed distribution
-
+
+ Trails
+ - clean first
+
+ cd build
+ ant clean
+
+ - test only sources in local tree (junit and harness tests):
+
+ cd build/release
+ ant test-sources \
+ -Dskip.cvs=true \
+ -Daspectj.modules.dir=../..
+
+ - build local tree and install distribution:
+
+ cd build/release
+ ant install \
+ -Dskip.cvs=true \
+ -Daspectj.modules.dir=../..
+
+ - test installation and sources in local tree:
+
+ cd build/release
+ ant test \
+ -Dskip.cvs=true \
+ -Daspectj.modules.dir=../.. \
+ -Dskip.build=true
+
+ - do everything but checkout from cvs:
+
+ cd build
+ ant clean
+ cd release
+ ant all \
+ -Dskip.cvs=true \
+ -Daspectj.modules.dir=../..
+
</echo>
</target>
@@ -236,6 +273,11 @@
<!-- ========================================================================= -->
+ <target name="all">
+ <antcall target="install"/>
+ <antcall target="test"/>
+ </target>
+
<target name="test" depends="test-sources,test-install"/>
<target name="test-sources"
@@ -297,6 +339,7 @@
<target name="compile-aspectj-using-aspectj"
depends="init-variables,sources-available">
+ <echo message="WARNING: output dir created in tests/product/build-aspectj"/>
<antcall target="run-ant">
<param name="ant.dir"
location="${aspectj.modules.dir}/tests/product/build-aspectj"/>