Equinox will not export the annotation package (via Export-Package) 
because it will lead to a bad practice of using Import-Package for these 
non-runtime packages. Whatever the solution ends up being to get the 
annotations on the classpath of the project, PDE must do so without 
requiring the bundle manifest to declare a runtime dependency on the 
annotation package (Import-Package or Require-Bundle).

Tom





From:   "Daniel Megert" <daniel_meg...@ch.ibm.com>
To:     "Eclipse PDE general developers list." <pde-...@eclipse.org>, 
equinox-dev@eclipse.org
Date:   04/04/2016 04:24 AM
Subject:        Re: [equinox-dev] [pde-dev] Repackaging 
org.osgi.service.component.annotations  from Equinox
Sent by:        equinox-dev-boun...@eclipse.org



I don't like that approach which leaves us with maintaining and shipping 
the same thing twice. Let's continue the discussion in the bug report.

Dani



From:        Gunnar Wagenknecht <gun...@wagenknecht.org>
To:        "Eclipse PDE general developers list." <pde-...@eclipse.org>
Cc:        equinox-dev@eclipse.org
Date:        04.04.2016 02:24
Subject:        Re: [pde-dev] Repackaging 
org.osgi.service.component.annotations        from Equinox
Sent by:        pde-dev-boun...@eclipse.org



Hi Peter,

I think it's possible for PDE to ship their own jar of the code. You can 
simply copy the sources from Equinox. I think you still need a CQ, though. 
It can be a re-use CQ for a subset of the original CQ. Might be easier to 
jut go with a full re-use.

I've cc'ed equinox-dev because I think this topic may be interesting for 
them, too.

-Gunnar

-- 
Gunnar Wagenknecht
gun...@wagenknecht.org, http://guw.io/






On 03 Apr 2016, at 14:04, Peter Nehrer <pneh...@eclipticalsoftware.com> 
wrote:

Hi,

in order to improve user experience with DS Annotations, I need to 
contribute package org.osgi.service.component.annotations to PDE projects' 
classpath (https://bugs.eclipse.org/bugs/show_bug.cgi?id=488800). This 
package is already part of Equinox's org.eclipse.osgi.services bundle; 
however, in order to make these annotations available to external 
builders, they would need to be in a separate jar (otherwise users would 
have to place the entire bundle on the build path).

Would it be OK to extract that package from Equinox and provide it via PDE 
as a separate JAR? Since this isn't new code contribution, do I need any 
special permissions/process? Thanks!

--Peter
_______________________________________________
pde-dev mailing list
pde-...@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-...@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev


_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to