Build and test the AspectJ source tree. Targets:
all (default)
install # install distribution
build
build-release # build distribution
build-tests # build test classes
test
test-sources # - requires only sources
test-harness-tests # run tests/{suite}.xml's
test-junit-modules # tests/junitModules.xml
test-install # - requires distribution
test-build-examples # install/docs/examples
test-ajc-aspectj # ajc compiles aspectj
Normally this builds with Java 1.3 and tests with both
Java 1.3 and 1.4, so define both as properties. You
can select any target (not prefixed "do-" or "init-").
The leaf targets will run with Java version set in
${java.home.file}
When running non-leaf targets, if you want to test
only in 1.3 or 1.4, set property "run.1[3|4].only".
Properties to consider setting on the command-line:
-- required
java11.home JAVA_HOME for latest JDK 1.1
java13.home JAVA_HOME for latest J2SE 1.3
java14.home JAVA_HOME for latest J2SE 1.4
-- flags to control
run.13.only only use Java 1.3
run.14.only only use Java 1.4
skip.cvs no CVS checkout (true)
skip.build no build (done already)
skip.test no tests
skip.build.release no build of release
skip.build.tests no build of tests
version set if not DEVELOPMENT(?)
aspectj.build.props Ant props for ../build.xml
-- locations to re-use existing tree or install
aspectj.workspace location for new cvs tree
aspectj.modules.dir ... for existing cvs tree
aj.build.install.dir ... for installed dist
-- when building behind a proxy server
(currently only used for test-doc-links target)
proxy.host name of proxy server
proxy.port proxy server's port number
Example command lines for using this script:
- define variable for standard properties
sp="-Djava13.home=d:/j13 -Djava14.home=d:/j14"
sp="$${sp} -Daspectj.modules.dir=../.."
- clean first
cd build
ant clean
- test only sources in local tree
cd build/release
ant test-sources $${sp}
- build and install distribution:
cd build/release
ant install $${sp}
- test installation and sources in local tree:
cd build/release
ant test $${sp} -Dskip.build=true
- do everything but checkout from cvs:
cd build
ant clean
cd release
ant all $${sp}
test-doc-links ${doclink.start.file}
to ${doclink.output.file}-[out|messages].txt
WARNING: verify manually if result code is not 0. Known failures:
- google link nets 403, but works in browser
- progguide/printable.html has harmless empty link to d0e26 (ajc-ref?)
do-run-harness ${suite.filename}.xml
with options ${drho.default.options} ${harness.args}
to ${harness.output.file}
do-run-ant dir ${ant.dir}
file/target -f ${run.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