[jitsi-dev] Problem with ant test target


#1

Hello,

we are developing in our company project based on SIP Communicator.
There were previously deleted all test folders and disallowed testing. I
tried to add tests Jitsi is now using. I solved many compatibility
problems, but there is one I can´t solve. It seem Felix is telling me
some bundles need some dependences, but they have them in their
manifests. I just ask if you haven't seen something similar before.

I add part of my error listing bellow:
org.osgi.framework.BundleException: Unresolved constraint in bundle [9]:
Unable to resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]
ERROR: Bundle [9] Error starting reference:file:sc-bundles/util.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[9]: Unable to resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]])
ERROR: Bundle [50] Error starting
reference:file:sc-bundles/advancedstorage.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[50]: Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword))
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:662)
org.osgi.framework.BundleException: Unresolved constraint in bundle
[50]: Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:662)
ERROR: Bundle [51] Error starting
reference:file:sc-bundles/fileaccess.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[51]: Unable to resolve 51.0: missing requirement [51.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]])
org.osgi.framework.BundleException: Unresolved constraint in bundle
[51]: Unable to resolve 51.0: missing requirement [51.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]]
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
ERROR: Bundle [37] Error starting
reference:file:sc-bundles/configuration.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[37]: Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]])
    at java.lang.Thread.run(Thread.java:662)
org.osgi.framework.BundleException: Unresolved constraint in bundle
[37]: Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
ERROR: Bundle [24] Error starting reference:file:sc-bundles/hid.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[24]: Unable to resolve 24.0: missing requirement [24.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]])
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:662)
org.osgi.framework.BundleException: Unresolved constraint in bundle
[24]: Unable to resolve 24.0: missing requirement [24.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]]
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
ERROR: Bundle [25] Error starting
reference:file:sc-bundles/ui-service.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[25]: Unable to resolve 25.0: missing requirement [25.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]]])
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:662)
org.osgi.framework.BundleException: Unresolved constraint in bundle
[25]: Unable to resolve 25.0: missing requirement [25.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.contactlist) [caused by:
Unable to resolve 38.0: missing requirement [38.0] package;
(package=net.java.sip.communicator.service.protocol) [caused by: Unable
to resolve 4.0: missing requirement [4.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]]]]]
ERROR: Bundle [26] Error starting
reference:file:sc-bundles/credentialsstorage.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
[26]: Unable to resolve 26.0: missing requirement [26.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]])
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
    at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:662)
org.osgi.framework.BundleException: Unresolved constraint in bundle
[26]: Unable to resolve 26.0: missing requirement [26.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.resources) [caused by: Unable
to resolve 28.0: missing requirement [28.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.util.xml) [caused by: Unable to
resolve 9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.keybindings) [caused by:
Unable to resolve 33.0: missing requirement [33.0] package;
(package=net.java.sip.communicator.util) [caused by: Unable to resolve
9.0: missing requirement [9.0] package;
(package=net.java.sip.communicator.service.configuration) [caused by:
Unable to resolve 37.0: missing requirement [37.0] package;
(package=net.java.sip.communicator.service.advancedstorage) [caused by:
Unable to resolve 50.0: missing requirement [50.0] package;
(package=net.java.sip.communicator.plugin.securityconfig.masterpassword)]]]]]]]]]
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1797)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)

Best regards,
Jan Truksa.


#2

Hey Jan

we are developing in our company project based on SIP Communicator.
There were previously deleted all test folders and disallowed testing. I
tried to add tests Jitsi is now using. I solved many compatibility
problems, but there is one I can´t solve. It seem Felix is telling me
some bundles need some dependences, but they have them in their
manifests. I just ask if you haven't seen something similar before.

[snip]
I add part of my error listing bellow:

Sometimes it helps to delete Felix' bundle cache. Normally the cache is
located at %appdata%\Jitsi\sip-communicator.bin, but if you are developing
it might also reside beside the source folders.

Best regards,
Jan Truksa.

Regards,
Ingo