For what its worth, the equinox build does build against the OSGi classes
from other bundles in equinox.  BJ says, people should also not compile
against an OSGi framework implementation to get OSGi packages.  That may be
true, but in equinox our bundles most definitely do compile against
org.eclipse.osgi to get the core osgi packages because in our build
org.eclipse.osgi is considered just another bundle.  That is just how our
mavin/tycho build works.

Other than that tidbit I agree with BJ about how to proceed with the
annotations.jar.

Tom





From:   BJ Hargrave/Austin/IBM@IBMUS
To:     Equinox development mailing list <equinox-dev@eclipse.org>,
Date:   04/10/2014 06:49 AM
Subject:        Re: [equinox-dev] branch for R6
Sent by:        equinox-dev-boun...@eclipse.org



See
http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.osgi/osgi/osgi.annotation.jar
. The projects build.properties includes it as an extra jar:
http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.osgi/build.properties#n34


The org.osgi.annotation.versioning package is not a runtime package.
Therefore, an OSGi framework must not include that package and must not
export that package at runtime. People should also not compile against an
OSGi framework implementation to get the OSGi packages.

Your project can do the same for osgi.annotation.jar as the
org.eclipse.osgi project.
--


                                                                       
 BJ Hargrave                                                           
 Senior Technical Staff Member, IBM                   office: +1 386 848 1781
 OSGi Fellow and CTO of the OSGi Alliance             mobile: +1 386 848 3788
 hargr...@us.ibm.com                                                   
                                                                       








From:        Raymond Auge <raymond.a...@liferay.com>
To:        Equinox development mailing list <equinox-dev@eclipse.org>
Date:        2014/04/09 22:26
Subject:        [equinox-dev] branch for R6
Sent by:        equinox-dev-boun...@eclipse.org



Is there an rt.equinox.framework R6 branch?

I don't see one which includes org.osgi.annotation.versioning package.

The latest http spec depends on this annotation unless I strip the Version
package annotation from this work.

Thoughts?

--
Raymond Augé (@rotty3000)
Senior Software Architect
Liferay, Inc. (@Liferay)
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


<<inline: graycol.gif>>

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to