您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
aclement f75a66ece0 Add ajdoc.jar to jar classpath 20 年前
..
build.xml Add ajdoc.jar to jar classpath 20 年前
readme.txt Script is usable! 21 年前

readme.txt


This script builds and tests an AspectJ release.
Use the info target to emit details.

At the bottom is a bash script to run it.

---- Evaluating the results of a build cycle

There is a ../release-checklist.txt which has steps for a release, some of
which are automated in this script. Try the others ;).

Known issues with these tests

- ajc compile of tjp example as part of nonGui target
runs out of memory. Reproducible on the command-line:
[ajc] Running in-process using -verbose -d R:\home\wes\ec\aj-
build\install\doc\examples\classes -classpath R:\home\wes\ec\aj-buil
d\install\lib\aspectjrt.jar -argfile R:\home\wes\ec\aj-build\install
\doc\examples\tjp\files.lst
Exception reading component R:\home\wes\ec\aj-build\install\lib\aspe
ctjtools.jar
java.lang.OutOfMemoryError
<<no stack trace available>>
Exception in thread "main" java.lang.OutOfMemoryError
<<no stack trace available>>

This target is run without failonerror="true" to complete
the testing.

Known imperfect results in the AspectJ 1.1 release:

- ajdeCompiler tests will have five known fails, listed
in releases/aspectj1.1/ajcTests-ajdeCompiler-FAIL.txt

- under 1.4, the junit module test output for the weaver
module is corrupted - the last two characters are
duplicated, which cause the junit reporting task to
not pick up the weaver tests. Verify that the
weaver XML file lists no JUnit failures or errors.


------ untested bash/sh script
#!/bin/sh
sp="-Dskip.cvs=true -Daspectj.modules.dir=../.."
sp="$${sp} -Djava13.home=d:/jdk13 -Djava14.home=d:/jdk14"
alias myant="../../lib/ant/bin/ant"

# clean
cd `dirname "$0"`
cd ..
myant clean

# build local tree and install distribution:
cd release
myant install ${sp}

# test installation and sources in local tree:
myant test ${sp} -Dskip.build=true