SMTPAppenderTest was added just before Gump started failing. The problem appear to be that tests/build.xml does not request SMTPAppender.java to be compiled resulting in its test failing to compile. Possible resolutions include:

Excluding SMTPAppenderTest from the javac step for now.

Adding <ant target="build.smtp"/> to parent build

This would allow the tests to run in environments that have Java Mail, but you'd still get the same problem on environments without Java Mail.

Adding build.smtp plus using available to check if SMTPAppender is actually available.

This would allow the test to run when Java mail is available and skipped when now.

Unless somebody else wants to step forward. I'll try to do something to get Gump running before the next iteration.


On Feb 21, 2005, at 3:39 AM, [EMAIL PROTECTED] wrote:

To whom it may engage...

build:
[javac] Compiling 102 source files to /home/gump/workspaces2/public/workspace/logging-log4j/tests/classes
[javac] /home/gump/workspaces2/public/workspace/logging-log4j/tests/src/java/ org/apache/log4j/net/SMTPAppenderTest.java:32: cannot resolve symbol
[javac] symbol : class SMTPAppender
[javac] location: class org.apache.log4j.net.SMTPAppenderTest
[javac] return new SMTPAppender();
[javac] ^
[javac] /home/gump/workspaces2/public/workspace/logging-log4j/tests/src/java/ org/apache/log4j/net/SMTPAppenderTest.java:36: cannot resolve symbol
[javac] symbol : class SMTPAppender
[javac] location: class org.apache.log4j.net.SMTPAppenderTest
[javac] SMTPAppender ca = new SMTPAppender();
[javac] ^
[javac] /home/gump/workspaces2/public/workspace/logging-log4j/tests/src/java/ org/apache/log4j/net/SMTPAppenderTest.java:36: cannot resolve symbol
[javac] symbol : class SMTPAppender
[javac] location: class org.apache.log4j.net.SMTPAppenderTest
[javac] SMTPAppender ca = new SMTPAppender();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 3 errors


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to