Skip to main content

ant all-tests fails

No replies
ivelin
Offline
Joined: 2003-07-13
Points: 0

The following build error occurs. Please use java.util.Logger in tests instead of 3rd party logging frameworks.

compile-tests:
[echo] Compiling TCK tests. tck.source=tests/src, classes.sleetests=tests/classes/sleetests
[javac] Compiling 6 source files to C:\work\Mobicents\tests\classes\sleetests
[javac] C:\work\Mobicents\tests\src\org\mobicents\sleetests\container\installService\InstallServiceTestSbb.java:27:
package org.apache.log4j does not exist
[javac] import org.apache.log4j.Logger;
[javac] ^
[javac] C:\work\Mobicents\tests\src\org\mobicents\sleetests\container\installService\InstallServiceTestSbb.java:67:
cannot find symbol
[javac] symbol : class Logger
[javac] location: class org.mobicents.sleetests.container.installService.InstallServiceTestSbb
[javac] protected static Logger logger = Logger.getLogger(InstallServiceTestSbb.class);
[javac] ^
[javac] C:\work\Mobicents\tests\src\org\mobicents\sleetests\ejbconnectionproxy\RemoteAccess\RemoteAccessTest.java:27
: package org.apache.log4j does not exist
[javac] import org.apache.log4j.Logger;
[javac] ^
[javac] C:\work\Mobicents\tests\src\org\mobicents\sleetests\ejbconnectionproxy\RemoteAccess\RemoteAccessTest.java:48
: cannot find symbol
[javac] symbol : class Logger
[javac] location: class org.mobicents.sleetests.ejbconnectionproxy.RemoteAccess.RemoteAccessTest
[javac] protected static Logger logger = Logger.getLogger(RemoteAccessTest.class);
[javac] ^