Hi Guys,
After testing it on the phones I saw some problems with it.
Fixed these problems and completed the phonebook provisioning.
Now I have some problems checking the code
When checking the code with ant style I get:
#############################
ant style
Buildfile: build.xml
init:
check.src.present:
style.check:
[checkstyle] log4j:WARN No appenders could be found for logger
(org.apache.commons.beanutils.BeanUtils).
[checkstyle] log4j:WARN Please initialize the log4j system properly.
[checkstyle] Running Checkstyle 4.1 on 0 files
style:
BUILD SUCCESSFUL
Total time: 1 second
#############################
P.S. I use the EDE with the Eclipse code styles imported
When I run the JUnit test in Eclipse they all pass but the unit tests from ant
I get the following error message;
#############################
ant -D test.name=unidataPhone default test
Buildfile: build.xml
init:
with.clover:
compile:
manifest:
jar:
default:
check.compile.test:
init:
with.clover:
compile:
compile.test:
[sipx-javac] Compiling 2 source files to
/home/Sipx/WORKING/BUILD/sipXconfig/plugins/unidata/tests
[sipx-javac]
/home/Sipx/WORKING/main/sipXconfig/plugins/unidata/test/org/sipfoundry/sipxconfig/phone/unidata/UnidataPhoneTest.java:17:
cannot find symbol
[sipx-javac] symbol : class TestHelper
[sipx-javac] location: package org.sipfoundry.sipxconfig
[sipx-javac] import org.sipfoundry.sipxconfig.TestHelper;
[sipx-javac] ^
[sipx-javac]
/home/Sipx/WORKING/main/sipXconfig/plugins/unidata/test/org/sipfoundry/sipxconfig/phone/unidata/UnidataPhoneTest.java:21:
cannot find symbol
[sipx-javac] symbol : class PhoneTestDriver
[sipx-javac] location: package org.sipfoundry.sipxconfig.phone
[sipx-javac] import org.sipfoundry.sipxconfig.phone.PhoneTestDriver;
[sipx-javac] ^
[sipx-javac]
/home/Sipx/WORKING/main/sipXconfig/plugins/unidata/test/org/sipfoundry/sipxconfig/phone/unidata/UnidataPhonebookTest.java:19:
cannot find symbol
[sipx-javac] symbol : class TestHelper
[sipx-javac] location: package org.sipfoundry.sipxconfig
[sipx-javac] import org.sipfoundry.sipxconfig.TestHelper;
[sipx-javac] ^
[sipx-javac]
/home/Sipx/WORKING/main/sipXconfig/plugins/unidata/test/org/sipfoundry/sipxconfig/phone/unidata/UnidataPhoneTest.java:37:
cannot find symbol
[sipx-javac] symbol : variable PhoneTestDriver
[sipx-javac] location: class
org.sipfoundry.sipxconfig.phone.unidata.UnidataPhoneTest
[sipx-javac] PhoneTestDriver.supplyTestData(phone);
[sipx-javac] ^
[sipx-javac]
/home/Sipx/WORKING/main/sipXconfig/plugins/unidata/test/org/sipfoundry/sipxconfig/phone/unidata/UnidataPhoneTest.java:38:
cannot find symbol
[sipx-javac] symbol : variable TestHelper
[sipx-javac] location: class
org.sipfoundry.sipxconfig.phone.unidata.UnidataPhoneTest
[sipx-javac] MemoryProfileLocation location =
TestHelper.setVelocityProfileGenerator(phone);
[sipx-javac] ^
[sipx-javac]
/home/Sipx/WORKING/main/sipXconfig/plugins/unidata/test/org/sipfoundry/sipxconfig/phone/unidata/UnidataPhonebookTest.java:33:
cannot find symbol
[sipx-javac] symbol : variable TestHelper
[sipx-javac] location: class
org.sipfoundry.sipxconfig.phone.unidata.UnidataPhonebookTest
[sipx-javac] pg.setVelocityEngine(TestHelper.getVelocityEngine());
[sipx-javac] ^
[sipx-javac] Note: Some input files use unchecked or unsafe operations.
[sipx-javac] Note: Recompile with -Xlint:unchecked for details.
[sipx-javac] 6 errors
BUILD FAILED
/home/Sipx/WORKING/main/sipXconfig/ant-targets.xml:190: Compile failed; see the
compiler error output for details.
Total time: 2 seconds
#############################
The same error messages are there when trying the lg-nortel and hitachi plugin.
Is there a problem with my EDE or my code??
Greetings,
Tom
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/