karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: javax.annotation 1.2.0 and KARAF-2660
Date Thu, 23 Oct 2014 05:11:57 GMT
Hi Christoph,

for me the current solution is just wrong. So if we need the never versions
of those API packages, we need to add the corresponding bundle to Karaf as
std. feature.


regards, Achim

2014-10-22 23:27 GMT+02:00 Christoph Gritschenberger <
christoph.gritschenberger@gmail.com>:

> Hi,
>
> I created KARAF-3329 [1] I have the commit local here, but didn't want
> to commit it right away because it "breaks" KARAF-2660 [2].
>
> I wasn't quite sure whether Java SE or Java EE is considered the primary
> target environment.
>
> I'm all for Java SE as a primary target
>
> kind regards,
> Christoph
>
> [1] https://issues.apache.org/jira/browse/KARAF-3329
> [2] https://issues.apache.org/jira/browse/KARAF-2660
>
> On 22/10/14 22:18, Achim Nierbeck wrote:
> > Hi,
> >
> > in that case plz. open a Jira Issue so we make sure the version in the
> > jre.properties is corrected to 1.0.
> >
> > If a newer version is needed it's usually best to provide that bundle
> with
> > the "custome" code/bundles.
> >
> > regards, Achim
> >
> > 2014-10-21 22:15 GMT+02:00 Christoph Gritschenberger <
> > christoph.gritschenberger@gmail.com>:
> >
> >> I recently discovered an "oddity", with javax.annotation.
> >>
> >> The problem afaics is that Java 6/7/8 SE all only contain the 1.0-specs
> >> of javax.annotation whereas Java EE contains 1.1/1.2 (don't know exactly
> >> which versions contain what).
> >>
> >> I'm not sure Java EE should be the reference for package-versions in
> >> jre.properties
> >>
> >> kind regards
> >> Christoph
> >>
> >> On 21/10/14 21:25, jsnharris wrote:
> >>> Although the javax.annotation version is fixed in Karaf 3.0.1, the new
> >>> annotations in 1.2.0 (e.g. javax.annotation.Priority) are still not
> >>> available to Karaf out of the box. Is the solution really a case of
> >>> commenting out the javax.annotation entry in the jre 7 part of
> >>> etc/jre.properties and then including the 1.2 javax.annotation bundle
> as
> >> a
> >>> feature or should the latest bundle be included as part of the karaf
> >>> distribution?
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>
> http://karaf.922171.n3.nabble.com/javax-annotation-1-2-0-and-KARAF-2660-tp4036056.html
> >>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
> >>>
> >>
> >>
> >>
> >
> >
>
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message