Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] branch for R6

Just put a copy of osgi.annotation.jar in your repo. It's not big :-) Then you are self-contained.
--

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the
OSGi Alliance
hargrave@xxxxxxxxxx

office: +1 386 848 1781
mobile: +1 386 848 3788





From:        Raymond Auge <raymond.auge@xxxxxxxxxxx>
To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date:        2014/04/10 09:44
Subject:        Re: [equinox-dev] branch for R6
Sent by:        equinox-dev-bounces@xxxxxxxxxxx





Next concern is that this is a cross repo dependency.

Is it ok for a bundle in one repo to reference a bundle in another repo?

jars.extra.classpath = platform:/plugin/org.eclipse.osgi/osgi/osgi.annotation.jar

Aren't these repos "theoretically" standalone for the purpose of building?

- Ray


On Thu, Apr 10, 2014 at 9:08 AM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
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



Inactive hide details for BJ Hargrave---04/10/2014 06:49:08 AM---See  http://git.eclipse.org/c/equinox/rt.equinox.framework.gitBJ Hargrave---04/10/2014 06:49:08 AM---See  http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.osgi/osgi/os

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


Sent by:
equinox-dev-bounces@xxxxxxxxxxx





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
OSGi Fellow and CTO of the
OSGi Alliance
hargrave@xxxxxxxxxx 





From:        
Raymond Auge <raymond.auge@xxxxxxxxxxx> 
To:        
Equinox development mailing list <equinox-dev@xxxxxxxxxxx> 
Date:        
2014/04/09 22:26 
Subject:        
[equinox-dev] branch for R6 
Sent by:        
equinox-dev-bounces@xxxxxxxxxxx 




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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev




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


Back to the top