Skip to main content



      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 06:03 Go to next message
Eclipse UserFriend
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 09:11 Go to previous messageGo to next message
Eclipse UserFriend
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 03:34 Go to previous message
Eclipse UserFriend
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: Fri May 09 08:10:57 EDT 2025

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

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

Back to the top