Noel J. Bergman wrote:
Stefano Bagnara wrote:
Maybe the jakarta continuos integration server uses the jdk1.5
because I think it was succesfully building james the past days.
It compiles just fine with JDK 1.4. The error shows up when you try to RUN
the code. And since we don't have automated unit testing integrated into
the build scripts, runtime errors don't show up during a build.
Would be great if Bernd or others contributed the necessary changes to
support a unit-test target in the Ant script. Get at least some minimal
sanity check on things.
The basics are already there: build.[bat|sh] run-unit-tests
In addition to what is in SVN one needs
tools/lib/junit.jar
tools/lib/ristretto-1.0-all.jar
tools/lib/commons-net-1.4.1.jar
commons-net is not yet included on the lib-list in ant target
"unit-test-classpath" in build.xml
what else is needed to run this on the integration machine?
the tests aquire random ports in the range 8000-11000. would this be ok?
(see o.a.j.test.util.Util)
i wonder how the build checks the test results?
Bernd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]