"Bennett, Timothy (JIS - Applications)" <[EMAIL PROTECTED]> 
wrote on 08/26/2005 10:25:23 AM:

> IMO, the big question isn't whether we use Ant and/or Maven2 alpha/beta
> to compile/jar, but the issues that McAffer keeps bringing up, and
> that's project/framework/bundle organization -- that is one
> project/bundle.

Not sure where I kept bringing that up but for the record, Eclipse uses a 
very simple structure of one Eclipse project per bundle and building one 
project/bundle at a time and driving the build from the bundle metadata 
(e.g., manifest.mf and build.properties).  I'm not sure how this maps to a 
M2 project (if there is such a thing) or any other kind of project but so 
far simple => happy.  We also have not bothered to make a complex 
repository structure.  All bundles are peers in the repo since they are 
all just bundles (even the framework).

There is one issue.  OSGi's Import-Package mechanism makes it very easy to 
setup circularities between bundles.  The cirucularity can be immediate or 
via a long chain of bundle dependencies.  The nature of the cycle can 
theoretically change from build to build as different (versions of) 
bundles are involved.  To date we have been relatively lucky in avoiding 
these (we mostly use Require-Bundle) and where needed we can break cycles 
using local "shell jars". 

I'd be very interested to know how/if M2 resolves this issue as it is 
bound to show up in Felix or other projects using Felix.

Jeff

Reply via email to