Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Preference Transfer plug-in, project mapping problem
Preference Transfer plug-in, project mapping problem [message #316856] Wed, 20 June 2007 10:03 Go to next message
Johan is currently offline JohanFriend
Messages: 12
Registered: July 2009
Junior Member
Hi all !

I have made an extension to the org.eclipse.ui.preferenceTransfer plug-in.
As I understand you could specify three mappings for the transfer,
configuration, project and instance. Instance is the only mapping that is
working for me. I try to specify the transfer on a project level but without
any success.



Has anybody done this successfully and could give me any hints ?



Brgds / Johan
Re: Preference Transfer plug-in, project mapping problem [message #316904 is a reply to message #316856] Thu, 21 June 2007 13:11 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Johan Andersson wrote:
> Hi all !
>
> I have made an extension to the org.eclipse.ui.preferenceTransfer plug-in.
> As I understand you could specify three mappings for the transfer,
> configuration, project and instance. Instance is the only mapping that is
> working for me. I try to specify the transfer on a project level but without
> any success.

Are your preferences supported at the project scope, or just the
instance (workspace) scope?

PW


Re: Preference Transfer plug-in, project mapping problem [message #317061 is a reply to message #316904] Mon, 25 June 2007 07:34 Go to previous message
Johan is currently offline JohanFriend
Messages: 12
Registered: July 2009
Junior Member
Hi paul

This text is from the faq
The project scope (as defined by the resources plug-in) defines its path
structure to be /project/<projectName>/<qualifier>/key and therefore the
full path for the resources' plug-in auto-build preference for the project
"MyProject" would be:
/project/MyProject/org.eclipse.core.resources/description.au tobuild

To get preferences stored under the project scope it seems that you must
know the project name. I was trying to use the
org.eclipse.ui.preferenceTransfer extension point to get attributes stored
on a a project scope. As i dont know the name of the project, it has nor
been created yet (im writing this definitions in plugin.xml), this approach
will never work. Is there any other approach to this ?

Brgds / Johan

"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:f5dt8u$ggk$3@build.eclipse.org...
> Johan Andersson wrote:
>> Hi all !
>>
>> I have made an extension to the org.eclipse.ui.preferenceTransfer
>> plug-in. As I understand you could specify three mappings for the
>> transfer, configuration, project and instance. Instance is the only
>> mapping that is working for me. I try to specify the transfer on a
>> project level but without any success.
>
> Are your preferences supported at the project scope, or just the instance
> (workspace) scope?
>
> PW
Previous Topic:problems removing plugin
Next Topic:What is the best way to configure the platform
Goto Forum:
  


Current Time: Tue Apr 23 13:23:25 GMT 2024

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

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

Back to the top