ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo Foschia <riccardo.fosc...@meta-level.de>
Subject Problem in OSGi support: obr resolver does not find system bundle
Date Mon, 21 Oct 2013 09:00:17 GMT
Hi,

I'm trying to use Ivy 2.3.0 OSGi support to develop an Eclipse plugin
and followed exactly the instructions of the sample "Building an Eclipse
plugin" from the Ivy docs.

When I'm calling ant task ivy:resolve the obr resolver correctly
resolves recursively a lot of bundles target platform (that acts a obr
repository like in the Ivy docs), but resolve fails with the following
output:

....
bundle#org.eclipse.equinox.p2.metadata;2.1.0.v20120430-2001 in eclipse
[ivy:resolve] 	[2.1.0.v20120430-2001]
bundle#org.eclipse.equinox.p2.metadata;[2.0.0,3.0.0)
[ivy:resolve] :: resolution report :: resolve 7063ms :: artifacts dl 140ms
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      compile     |  164  |  156  |   0   |   0   ||   65  |   0   |
	---------------------------------------------------------------------
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] 		module not found: bundle#system.bundle;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		module not found: package#javax.crypto;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		module not found: package#javax.crypto.spec;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		module not found: package#javax.security.auth;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		module not found: package#javax.security.auth.callback;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		module not found: package#javax.security.auth.login;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		module not found: package#javax.security.auth.spi;[0,)
[ivy:resolve] 	==== eclipse: tried
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] 		:: bundle#system.bundle;[0,): not found
[ivy:resolve] 		:: package#org.w3c.dom.events;[3.0.0,4.0.0):
java.lang.NullPointerException at
org.apache.ivy.osgi.repo.AbstractOSGiResolver.findResource(AbstractOSGiResolver.java:287)
[ivy:resolve] 		:: package#javax.crypto;[0,): not found
[ivy:resolve] 		:: package#javax.crypto.spec;[0,): not found
[ivy:resolve] 		:: package#javax.security.auth;[0,): not found
[ivy:resolve] 		:: package#javax.security.auth.callback;[0,): not found
[ivy:resolve] 		:: package#javax.security.auth.login;[0,): not found
[ivy:resolve] 		:: package#javax.security.auth.spi;[0,): not found
[ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

What am I doing wrong? Do I really need an OSGi bundle with the Java
runtime in my obr repository?


Greetings,
Riccardo

-- 

META-LEVEL Software AG
Saarbrücker Str. 51
66130 Saarbrücken
Deutschland
Tel: +49 - 681 / 99687-0
Fax: +49 - 681 / 99687-99
Mail: info@meta-level.de
Web: www.meta-level.de

Rechtsform: Aktiengesellschaft
Sitz: Saarbrücken
HR B Nr. 13 380 Amtsgericht Saarbrücken
USt-IdNr. DE 1 38 166667
Vorstände: Dipl.-Inform. Peter Badt und Dipl.-Inform. Peter Raber
Vorsitzender des Aufsichtsrats:  Reinhard Kuhn


Mime
View raw message