Skip to main content



      Home
Home » Eclipse Projects » Equinox » Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2?
Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2? [message #55593] Mon, 02 January 2006 10:28 Go to next message
Eclipse UserFriend
Is the bundle manifest header Bundle-RequiredExecutionEnvironment
supported/respected in Eclipse 3.1 or, if not, will it be respected in 3.2?

I'm seeing the need to have the implementation of some of my stuff differ
depending on whether eclipse is running in a 1.4 or 1.5 VM.

Looking at the OSGI_R4.core spec it appears that one should be able to do
this:

Bundle-RequiredExecutionEnvironment:J2SE-1.4

or

Bundle-RequiredExecutionEnvironment:J2SE-1.5

comments?

Geoff
Re: Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2? [message #56650 is a reply to message #55593] Thu, 12 January 2006 15:12 Go to previous messageGo to next message
Eclipse UserFriend
No comment?
Re: Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2? [message #57742 is a reply to message #55593] Mon, 23 January 2006 23:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com

Yup. This certainly works in 3.2. I don't remember if it works in 3.1.
Did you try it? Be sure to use 3.1.1 (upcoming 3.1.2). PDE is even tooling
this to ensure that bundles are being compiled against the correct JRE.

Jeff


"Geoff Longman" <glongman@gmail.com> wrote in message
news:335e4b22b81a98b36cf7b8e4e605af31$1@www.eclipse.org...
> Is the bundle manifest header Bundle-RequiredExecutionEnvironment
> supported/respected in Eclipse 3.1 or, if not, will it be respected in
3.2?
>
> I'm seeing the need to have the implementation of some of my stuff differ
> depending on whether eclipse is running in a 1.4 or 1.5 VM.
>
> Looking at the OSGI_R4.core spec it appears that one should be able to do
> this:
>
> Bundle-RequiredExecutionEnvironment:J2SE-1.4
>
> or
>
> Bundle-RequiredExecutionEnvironment:J2SE-1.5
>
> comments?
>
> Geoff
>
Re: Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2? [message #58059 is a reply to message #57742] Wed, 25 January 2006 12:35 Go to previous messageGo to next message
Eclipse UserFriend
Pefect. I'll give it a whirl.

Cheers,

Geoff

Jeff McAffer wrote:

> Yup. This certainly works in 3.2. I don't remember if it works in 3.1.
> Did you try it? Be sure to use 3.1.1 (upcoming 3.1.2). PDE is even tooling
> this to ensure that bundles are being compiled against the correct JRE.

> Jeff


> "Geoff Longman" <glongman@gmail.com> wrote in message
> news:335e4b22b81a98b36cf7b8e4e605af31$1@www.eclipse.org...
>> Is the bundle manifest header Bundle-RequiredExecutionEnvironment
>> supported/respected in Eclipse 3.1 or, if not, will it be respected in
> 3.2?
>>
>> I'm seeing the need to have the implementation of some of my stuff differ
>> depending on whether eclipse is running in a 1.4 or 1.5 VM.
>>
>> Looking at the OSGI_R4.core spec it appears that one should be able to do
>> this:
>>
>> Bundle-RequiredExecutionEnvironment:J2SE-1.4
>>
>> or
>>
>> Bundle-RequiredExecutionEnvironment:J2SE-1.5
>>
>> comments?
>>
>> Geoff
>>
Re: Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2? [message #58164 is a reply to message #58059] Thu, 26 January 2006 03:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Please post back to let us know if it works and under which platforms

Regards
Stefan

Geoff Longman wrote:
> Pefect. I'll give it a whirl.
> Cheers,
>
> Geoff
>
> Jeff McAffer wrote:
>
>> Yup. This certainly works in 3.2. I don't remember if it works in 3.1.
>> Did you try it? Be sure to use 3.1.1 (upcoming 3.1.2). PDE is even
>> tooling
>> this to ensure that bundles are being compiled against the correct JRE.
>
>> Jeff
>
>
>> "Geoff Longman" <glongman@gmail.com> wrote in message
>> news:335e4b22b81a98b36cf7b8e4e605af31$1@www.eclipse.org...
>>> Is the bundle manifest header Bundle-RequiredExecutionEnvironment
>>> supported/respected in Eclipse 3.1 or, if not, will it be respected in
>> 3.2?
>>>
>>> I'm seeing the need to have the implementation of some of my stuff
>>> differ
>>> depending on whether eclipse is running in a 1.4 or 1.5 VM.
>>>
>>> Looking at the OSGI_R4.core spec it appears that one should be able
>>> to do
>>> this:
>>>
>>> Bundle-RequiredExecutionEnvironment:J2SE-1.4
>>>
>>> or
>>>
>>> Bundle-RequiredExecutionEnvironment:J2SE-1.5
>>>
>>> comments?
>>>
>>> Geoff
>>>
>
Re: Bundle-RequiredExecutionEnvironment: supported in 3.1/3.2? [message #58311 is a reply to message #58164] Thu, 26 January 2006 09:12 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com

Stefan, be more positive :-) It works. The only problem you might see is
if for some reason the System properties we use to detect the VM being run
differ wildly on some JRE. If that happens there are ways to tell the
framework what execution environment is being run and what other execution
environments it supports.

If you find any problems in this area, please let us know through bugzilla

Jeff

"Stefan Langer" <eclipse@bettsockentraeger.de> wrote in message
news:dra175$eqp$1@utils.eclipse.org...
> Please post back to let us know if it works and under which platforms
>
> Regards
> Stefan
>
> Geoff Longman wrote:
> > Pefect. I'll give it a whirl.
> > Cheers,
> >
> > Geoff
> >
> > Jeff McAffer wrote:
> >
> >> Yup. This certainly works in 3.2. I don't remember if it works in
3.1.
> >> Did you try it? Be sure to use 3.1.1 (upcoming 3.1.2). PDE is even
> >> tooling
> >> this to ensure that bundles are being compiled against the correct JRE.
> >
> >> Jeff
> >
> >
> >> "Geoff Longman" <glongman@gmail.com> wrote in message
> >> news:335e4b22b81a98b36cf7b8e4e605af31$1@www.eclipse.org...
> >>> Is the bundle manifest header Bundle-RequiredExecutionEnvironment
> >>> supported/respected in Eclipse 3.1 or, if not, will it be respected in
> >> 3.2?
> >>>
> >>> I'm seeing the need to have the implementation of some of my stuff
> >>> differ
> >>> depending on whether eclipse is running in a 1.4 or 1.5 VM.
> >>>
> >>> Looking at the OSGI_R4.core spec it appears that one should be able
> >>> to do
> >>> this:
> >>>
> >>> Bundle-RequiredExecutionEnvironment:J2SE-1.4
> >>>
> >>> or
> >>>
> >>> Bundle-RequiredExecutionEnvironment:J2SE-1.5
> >>>
> >>> comments?
> >>>
> >>> Geoff
> >>>
> >
Previous Topic:Class Loading Architecture
Next Topic:Missing required bundle org.eclipse.ui.cheatsheets_0.0.0 Error
Goto Forum:
  


Current Time: Wed May 07 12:45:37 EDT 2025

Powered by FUDForum. Page generated in 0.08957 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top