This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Eclipse config questions

3 replies
michelou
Joined: 2008-07-09,
User offline. Last seen 1 year 6 weeks ago.

Hello scallions,

The file META-INF/MANIFEST.MF in the Scala trunk seems to be outdated.

When I load the Scala project with Eclipse 3.4 Classic I get several
warning about missing/deprecated properties:

1) Property "Bundle-RequiredExecutionEnvironment" is missing

I added Bundle-RequiredExecutionEnvironment: J2SE-15, JavaSE-1.6 in
my local settings

2) Property "Eclipse-LazyStart" is deprecated

I replaced it with Bundle-ActivationPolicy: lazy in my local settings

Can anybody confirm that ?!

Thanks
--Stephane

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: Eclipse config questions


On Tue, Mar 10, 2009 at 6:51 AM, Stephane <stephane.micheloud@epfl.ch> wrote:
Hello scallions,

The file META-INF/MANIFEST.MF in the Scala trunk seems to be outdated.

When I load the Scala project with Eclipse 3.4 Classic I get several warning about missing/deprecated properties:

1) Property "Bundle-RequiredExecutionEnvironment" is missing

  I added Bundle-RequiredExecutionEnvironment: J2SE-15, JavaSE-1.6 in my local settings

this should be ok, unless we plan to try to make the sclaac compiler work on a mobile device. 
 


2) Property "Eclipse-LazyStart" is deprecated

  I replaced it with Bundle-ActivationPolicy: lazy in my local settings

I believe Bundle-ActivationPolicy wasn't supported until eclipse 3.3 or 3.4.  As long as we don't support too much earlier, it should be fine to change this.
 

Can anybody confirm that ?!

Thanks
--Stephane



I'd say, unless there are any objections, we should make the changes in trunk?
milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse config questions

On Tue, Mar 10, 2009 at 12:07 PM, Josh Suereth wrote:
> I'd say, unless there are any objections, we should make the changes in
> trunk?

No objections from me ... assuming we're happy that these really are
the right property values. Whoever gets there first should also do
scala-library, scala-plugin and scala-plugin-aspects ...

Cheers,

Miles

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: Eclipse config questions
I'm not so sure about scala-library.  If this is the reference OSGi bundle, I'd like to keep the option of potentially using it for Mobile Platforms, so we should make sure we use the right values there.  Personally, I'd rather individualize "core scala-library", scala-swing and scala-dbc as scalac is ignoreing the Bundle-ClassPath attribute anyway....



On Tue, Mar 10, 2009 at 11:28 AM, Miles Sabin <miles@milessabin.com> wrote:
On Tue, Mar 10, 2009 at 12:07 PM, Josh Suereth <joshua.suereth@gmail.com> wrote:
> I'd say, unless there are any objections, we should make the changes in
> trunk?

No objections from me ... assuming we're happy that these really are
the right property values. Whoever gets there first should also do
scala-library, scala-plugin and scala-plugin-aspects ...

Cheers,


Miles

--
Miles Sabin
tel:    +44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland