Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem with reloading target platform
Problem with reloading target platform [message #12817] Sat, 19 July 2008 04:45 Go to next message
Eclipse UserFriend
Originally posted by: b.l.kelly.bigpond.com

Hi,

We are developing an OSGi application based on Equinox and are currently
using Eclipse 3.3.

We use a target platform that consists of two different external
directories. One contains Equinox and other thirdparty bundles and the other
contains our specific application bundles.

In testing Eclipse 3.4 I have encountered a problem with reloading the
target platform. When you click on the reload button on the Target Platform
preferences page the second location is removed from the target platform;
only the primary location specified at the top of the page is reloaded.

This reload process works under 3.3.

I couldn't find any bug reports that looked like this problem.

Has anyone else seen this problem?

Thanks,
Bruce
Re: Problem with reloading target platform [message #12854 is a reply to message #12817] Sat, 19 July 2008 10:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

Bruce Kelly wrote:
> This reload process works under 3.3.
>
> I couldn't find any bug reports that looked like this problem.
>
> Has anyone else seen this problem?

Are you aware of the new target platform preference? Maybe that is
influencing what is appearing in your target.

http://mea-bloga.blogspot.com/2008/04/new-target-platform-pr eference.html

How is your second location added? Via link files?

Cheers,

~ Chris
Re: Problem with reloading target platform [message #13458 is a reply to message #12817] Mon, 21 July 2008 04:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b.l.kelly.bigpond.com

This problem is explained by Bug 216359 - Should Target Platform keep
additional locations on Reload?
In 3.3 the answer was yes, but in 3.4 the answer has changed to no.
This makes the reload button less than helpfull when the target platform
requires multiple locations.
Re: Problem with reloading target platform [message #13560 is a reply to message #13458] Mon, 21 July 2008 17:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

Bruce Kelly schrieb:
> This problem is explained by Bug 216359 - Should Target Platform keep
> additional locations on Reload?
> In 3.3 the answer was yes, but in 3.4 the answer has changed to no.
> This makes the reload button less than helpfull when the target platform
> requires multiple locations.
>
>
Bruce,
please create a Target Definition File, then add there all your
locations and in Preferences | PDE | Target Platform load this File
and all your plugins from all locations should be loaded as Target Platform

ekke
Re: Problem with reloading target platform [message #13604 is a reply to message #13560] Tue, 22 July 2008 04:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b.l.kelly.bigpond.com

"ekke" wrote:
> Bruce,
> please create a Target Definition File, then add there all your locations
> and in Preferences | PDE | Target Platform load this File
> and all your plugins from all locations should be loaded as Target
> Platform
>
> ekke
I was using a definition file in 3.3 and when I tried it under 3.4 the
behaviour was exactly the same; the additional locations are removed when
you press the reload button.

What I did discover, after thinking about the response from Chris, was that
you can use link files and when you do the additional locations do not
disappear when you press the reload button.

IMHO it isn't obvious from the help pages for target platform preferences
that you can use links, although now that I know you can, it seems pretty
obvious that you should be able to do so.

Namaste, Bruce
Re: Problem with reloading target platform [message #13647 is a reply to message #13604] Tue, 22 July 2008 08:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

hi bruce,

the trick is not to use "Reload",
select your target and click "Load Target" (on the bottom of the screen)
then all your locations are reloaded

ekke

Bruce Kelly schrieb:
> "ekke" wrote:
>> Bruce,
>> please create a Target Definition File, then add there all your locations
>> and in Preferences | PDE | Target Platform load this File
>> and all your plugins from all locations should be loaded as Target
>> Platform
>>
>> ekke
> I was using a definition file in 3.3 and when I tried it under 3.4 the
> behaviour was exactly the same; the additional locations are removed when
> you press the reload button.
>
> What I did discover, after thinking about the response from Chris, was that
> you can use link files and when you do the additional locations do not
> disappear when you press the reload button.
>
> IMHO it isn't obvious from the help pages for target platform preferences
> that you can use links, although now that I know you can, it seems pretty
> obvious that you should be able to do so.
>
> Namaste, Bruce
>
>
Re: Problem with reloading target platform [message #13689 is a reply to message #13647] Wed, 23 July 2008 05:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b.l.kelly.bigpond.com

Which I think makes the reload button less than useful.
What used to be a one button operation now requires 2 operations.

Namaste, Bruce

"ekke" <ekkehard@gentz-software.de> wrote in message
news:g64kpt$tlm$1@build.eclipse.org...
> hi bruce,
>
> the trick is not to use "Reload",
> select your target and click "Load Target" (on the bottom of the screen)
> then all your locations are reloaded
>
> ekke
Re: Problem with reloading target platform [message #13753 is a reply to message #13689] Wed, 23 July 2008 09:51 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Bruce Kelly wrote:
> Which I think makes the reload button less than useful.
> What used to be a one button operation now requires 2 operations.

The Reload button is useful (and necessary) if you're not using a
..target file and the target location has changes that you need to load.
As ekke wrote, you don't use Reload when you're using a .target file.
I'm pretty sure this pattern has not changed from 3.3

Eric


>
> Namaste, Bruce
>
> "ekke" <ekkehard@gentz-software.de> wrote in message
> news:g64kpt$tlm$1@build.eclipse.org...
>> hi bruce,
>>
>> the trick is not to use "Reload",
>> select your target and click "Load Target" (on the bottom of the screen)
>> then all your locations are reloaded
>>
>> ekke
>
>
Re: Problem with reloading target platform [message #573529 is a reply to message #12817] Sat, 19 July 2008 10:45 Go to previous message
Eclipse UserFriend
Bruce Kelly wrote:
> This reload process works under 3.3.
>
> I couldn't find any bug reports that looked like this problem.
>
> Has anyone else seen this problem?

Are you aware of the new target platform preference? Maybe that is
influencing what is appearing in your target.

http://mea-bloga.blogspot.com/2008/04/new-target-platform-pr eference.html

How is your second location added? Via link files?

Cheers,

~ Chris
Re: Problem with reloading target platform [message #573610 is a reply to message #12817] Mon, 21 July 2008 04:30 Go to previous message
Eclipse UserFriend
This problem is explained by Bug 216359 - Should Target Platform keep
additional locations on Reload?
In 3.3 the answer was yes, but in 3.4 the answer has changed to no.
This makes the reload button less than helpfull when the target platform
requires multiple locations.
Re: Problem with reloading target platform [message #573816 is a reply to message #13458] Mon, 21 July 2008 17:34 Go to previous message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

Bruce Kelly schrieb:
> This problem is explained by Bug 216359 - Should Target Platform keep
> additional locations on Reload?
> In 3.3 the answer was yes, but in 3.4 the answer has changed to no.
> This makes the reload button less than helpfull when the target platform
> requires multiple locations.
>
>
Bruce,
please create a Target Definition File, then add there all your
locations and in Preferences | PDE | Target Platform load this File
and all your plugins from all locations should be loaded as Target Platform

ekke
Re: Problem with reloading target platform [message #573896 is a reply to message #13560] Tue, 22 July 2008 04:43 Go to previous message
Eclipse UserFriend
"ekke" wrote:
> Bruce,
> please create a Target Definition File, then add there all your locations
> and in Preferences | PDE | Target Platform load this File
> and all your plugins from all locations should be loaded as Target
> Platform
>
> ekke
I was using a definition file in 3.3 and when I tried it under 3.4 the
behaviour was exactly the same; the additional locations are removed when
you press the reload button.

What I did discover, after thinking about the response from Chris, was that
you can use link files and when you do the additional locations do not
disappear when you press the reload button.

IMHO it isn't obvious from the help pages for target platform preferences
that you can use links, although now that I know you can, it seems pretty
obvious that you should be able to do so.

Namaste, Bruce
Re: Problem with reloading target platform [message #573969 is a reply to message #13604] Tue, 22 July 2008 08:45 Go to previous message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

hi bruce,

the trick is not to use "Reload",
select your target and click "Load Target" (on the bottom of the screen)
then all your locations are reloaded

ekke

Bruce Kelly schrieb:
> "ekke" wrote:
>> Bruce,
>> please create a Target Definition File, then add there all your locations
>> and in Preferences | PDE | Target Platform load this File
>> and all your plugins from all locations should be loaded as Target
>> Platform
>>
>> ekke
> I was using a definition file in 3.3 and when I tried it under 3.4 the
> behaviour was exactly the same; the additional locations are removed when
> you press the reload button.
>
> What I did discover, after thinking about the response from Chris, was that
> you can use link files and when you do the additional locations do not
> disappear when you press the reload button.
>
> IMHO it isn't obvious from the help pages for target platform preferences
> that you can use links, although now that I know you can, it seems pretty
> obvious that you should be able to do so.
>
> Namaste, Bruce
>
>
Re: Problem with reloading target platform [message #574027 is a reply to message #13647] Wed, 23 July 2008 05:22 Go to previous message
Eclipse UserFriend
Which I think makes the reload button less than useful.
What used to be a one button operation now requires 2 operations.

Namaste, Bruce

"ekke" <ekkehard@gentz-software.de> wrote in message
news:g64kpt$tlm$1@build.eclipse.org...
> hi bruce,
>
> the trick is not to use "Reload",
> select your target and click "Load Target" (on the bottom of the screen)
> then all your locations are reloaded
>
> ekke
Re: Problem with reloading target platform [message #574135 is a reply to message #13689] Wed, 23 July 2008 09:51 Go to previous message
Eclipse UserFriend
Bruce Kelly wrote:
> Which I think makes the reload button less than useful.
> What used to be a one button operation now requires 2 operations.

The Reload button is useful (and necessary) if you're not using a
..target file and the target location has changes that you need to load.
As ekke wrote, you don't use Reload when you're using a .target file.
I'm pretty sure this pattern has not changed from 3.3

Eric


>
> Namaste, Bruce
>
> "ekke" <ekkehard@gentz-software.de> wrote in message
> news:g64kpt$tlm$1@build.eclipse.org...
>> hi bruce,
>>
>> the trick is not to use "Reload",
>> select your target and click "Load Target" (on the bottom of the screen)
>> then all your locations are reloaded
>>
>> ekke
>
>
Previous Topic:Bundled library jar, importing classes gives compiler errors
Next Topic:Building a plugin-producing plugin
Goto Forum:
  


Current Time: Wed Apr 30 11:32:18 EDT 2025

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

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

Back to the top