ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Weber <>
Subject Re: OSGI and IVY
Date Wed, 21 Jul 2010 17:19:14 GMT
Am 21.07.2010 15:07, schrieb Nicolas Lalevée:
> On Wednesday 21 July 2010 12:04:28 Martin Weber wrote:
>> Am 20.07.2010 19:53, schrieb Shawn Castrianni:
>>> Has anybody researched the relationship between OSGI and IVY?  I have
>> The main limitations of Ivy/Ant to build OSGI-bundles are caused by the
>> structure of bundles from the dependencies (at compile time):
>> 1) bundle jar with classes/resources: This can be handled by Ivy/Ant.
>> 2) a bundle jar that contains other jars: the Java compiler will not
>> look at the inner jars.
>> 3) the bundle is a directory with jars and other files: Bundles of this
>> structure can neither be published nor retrieved by Ivy.
>> With structure 2 and 3 you will have difficulties to construct a
>> class-path for the java compiler.
> I think thoses issues are more related to the compiler than the dependency
> management. And 3 is just an "unzipped" view of 2. That's why to build
> Eclipse plugins (which are OSGi bundles), you have to use the Eclipse Ant
> runtime and builder.

I'm not very happy with the Eclipse Ant builder (aka headless build). It 
will work only if it can find the _sources_ of dependend bundles. It 
does not accept any bundles that are already built and packaged as a jar 
and have been retrieved by Ivy.


View raw message