Preference Transfer plug-in, project mapping problem [message #316856] |
Wed, 20 June 2007 06:03  |
Eclipse User |
|
|
|
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 #317061 is a reply to message #316904] |
Mon, 25 June 2007 03:34  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03252 seconds