I am attempting to compile Fortress, however I am getting the following problem:
checkJUnit:
checkRequiredClass:
checkRequiredClass.fail:
compile-test: [echo] jUnit classpath is "D:\Program
Files\jakarta-ant-1.5\lib\junit.jar"
[javac] Compiling 38 source files to D:
\JavaDevelopment\avalon-excalibur\fortress\build\testclasses
[javac] D:
\JavaDevelopment\avalon-excalibur\fortress\build\testsrc\org\apache\avalon\fortress\test\RoleEntryTestCase.java:52: cannot resolve symbol
[javac] symbol : class TestCase [javac] location: package framework [javac] import junit.framework.TestCase; [javac] ^
(I modified the build script to report the value of the property with a little echo)
However, I also notice that the compile-test target refers to 2 classpath refids test.class.path and build.path. The path test.class.path contains a reference to junit.jar. Even got into cross-checking between the various parts of the build script (which in itself was most informative).
A perusal of the mailing list archive did not reveal any problem although some have had some fun getting the compile to work.
Any thoughts on what I am doing wrong? The question is where does everyone else have their junit.jar located?
ANT needs the JUnit JAR in its classpath to get the TestCases run. Most of us have already put it in our ANT distribution.
-- "You know the world is going crazy when the best rapper is a white guy, the best golfer is a black guy, The Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war. And the 3 most powerful men in America are named 'Bush', 'Dick', and 'Colon' (sic)".
-----Chris Rock
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
