|
Re: Target Platform not working when restart eclipse [message #332109 is a reply to message #332103] |
Fri, 03 October 2008 15:09 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
Jean-François Garreau schrieb:
> Hello
>
> I've a problem with using a file .target or configurating a target
> platform with additionnal locations
>
> If I create a .target file with my additionnal locations and I click
> "Set as Target Platform", it works
> If go to Windows -> Preferences -> Plug-in Developpement -> Target
> Definition : if I add manually my additionnal locations and I click
> apply, it works
>
> But if I go to Target Platform screen and select the .target file as my
> target platform. My workspace doesn't compile :( all is red...
>
> If it was compiling (by configuration manually the Target Platform, not
> using a .target) and If I restart my eclipse. When eclipse is started,
> my workspace doesn't compile. I have to reconfigure my target platform.
>
> If it was compiling (by clicking "Set as Target Platform" on my .target
> file) and if I restart my eclipse. When eclipse is started, my workspace
> compile...
>
> I don't understand what's wrong....?
>
> Could someone help me ?
>
Jean-Francois,
I'm also using a TargetPlatform with a TargetPlatformFile with some
additional locations.
This file is applied from Preferences-Plug-In Development - TargetPlatform
the checkbox on top of window is checked
all works well
but you to know, that there can be problems if you have same bundles at
different locations - then eclipse doesnt remember the selected plug-ins
correct.
I'm always using many different locations, per ex.:
* RCP
* Riena
* EasyBeans
* Equinox
* ...
but there's no bundle twice over all locations, so in my TargetPlatform
file I always use ALL bundles from each location.
perhaps you can tell more about your specific situation ?
ciao
ekke
|
|
|
|
Re: Target Platform not working when restart eclipse [message #332388 is a reply to message #332111] |
Mon, 20 October 2008 20:22 |
|
Hi Jeff,
It's likely the exact same problem described in bug #242002 [1]
Cheers,
Benjamin
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=242002
Jean-François Garreau a écrit :
> Hi ekke,
>
> Thanks for your response.
>
> I check my configuration and I've also check the checkbox button in
> preferences screen...
> I have no problems of possibles duplicates bundles. All bundles added
> with additionnal Locations are new bundles.
>
> Here is my example
>
> I'm working with an eclipse RCP 3.4 and I have one folder called
> additionnalBundle witch is containing specifics bundles (springs bundle).
>
> C:\tools\ide\eclipse34 => my basic targetPlatform
> C:\tools\ide\additionnalBundle => the springs bundles
>
> My target file is in separate project
>
> C:\tools\projects\TargetProject => name of project where .target is.
>
> That is strange is that the my problem only appear in the cases I speak
> in my original post.
>
> My problem is just a compilation problem.
>
> It doesn't compile when :
> * I create a .target and I go to target platform preference screen and I
> choose the .target as new target and I click "load target"
> * I go to Target platform preference screen and i configure a target
> platform and I "Apply" and I restart eclipse
>
> It compile when :
> * I create a .target and I select "Set as Target Platform"
> * I go to Target platform preference screen and i configure a target
> platform and click on "Apply"
>
> best regards
>
My blog: http://blog.benjamin-cabe.com
|
|
|
Powered by
FUDForum. Page generated in 0.04066 seconds