Default location of the runtime configuration [message #63204] |
Tue, 26 May 2009 00:44 |
|
Hi,
If you run a new RCP application or if you create a new runtime
configuration for a plug-in the runtime configuration is populated with
some values.
I would like to change the default value for the location of the runtime
configuration.
Currently the location in which the Eclipse application is started
defaults to:
${workspace_loc}/../runtime-NAMEOFPROJECT.application
I would like to change the default ${workspace_loc}/.. to another place,
e.g. c:\temp\
Is this possible?
Best regards, Lars
|
|
|
|
Re: Default location of the runtime configuration [message #63274 is a reply to message #63227] |
Tue, 26 May 2009 15:23 |
|
Hi,
thanks for the reply, but unfortunately this was not my question.
I would like to know if the default workspace location in a new runtime
configuration can be changed.
Of course I can change the default workspace location every time manually
but it would like to change it once for all future runtime configurations.
Best regards, Lars
|
|
|
|
|
Re: Default location of the runtime configuration [message #63367 is a reply to message #63344] |
Wed, 27 May 2009 05:19 |
|
Hi Ankur,
thanks you, works perfectly. Best regards, Lars
Ankur Sharma wrote:
> Lars Vogel wrote:
>> Hi,
>>
>> If you run a new RCP application or if you create a new runtime
>> configuration for a plug-in the runtime configuration is populated
>> with some values.
>>
>> I would like to change the default value for the location of the
>> runtime configuration.
>>
>> Currently the location in which the Eclipse application is started
>> defaults to:
>> ${workspace_loc}/../runtime-NAMEOFPROJECT.application
>>
>> I would like to change the default ${workspace_loc}/.. to another
>> place, e.g. c:\temp\
>>
>> Is this possible?
>>
>> Best regards, Lars
>
>
>
> There is a trick.
> Go to Window -> Preferences -> Run/Debug -> String Substitution
> Add a new variable by the name workspace_loc and give a value
> C:\temp\dummy (this way ${workspace_loc}/.. will resolve to c:\temp)
>
> However, in case you have used this variable in launch arguments, that
> will be impacted too. So be careful.
>
|
|
|
|
Re: Default location of the runtime configuration [message #597865 is a reply to message #63227] |
Tue, 26 May 2009 15:23 |
|
Hi,
thanks for the reply, but unfortunately this was not my question.
I would like to know if the default workspace location in a new runtime
configuration can be changed.
Of course I can change the default workspace location every time manually
but it would like to change it once for all future runtime configurations.
Best regards, Lars
|
|
|
|
|
Re: Default location of the runtime configuration [message #597885 is a reply to message #63344] |
Wed, 27 May 2009 05:19 |
|
Hi Ankur,
thanks you, works perfectly. Best regards, Lars
Ankur Sharma wrote:
> Lars Vogel wrote:
>> Hi,
>>
>> If you run a new RCP application or if you create a new runtime
>> configuration for a plug-in the runtime configuration is populated
>> with some values.
>>
>> I would like to change the default value for the location of the
>> runtime configuration.
>>
>> Currently the location in which the Eclipse application is started
>> defaults to:
>> ${workspace_loc}/../runtime-NAMEOFPROJECT.application
>>
>> I would like to change the default ${workspace_loc}/.. to another
>> place, e.g. c:\temp\
>>
>> Is this possible?
>>
>> Best regards, Lars
>
>
>
> There is a trick.
> Go to Window -> Preferences -> Run/Debug -> String Substitution
> Add a new variable by the name workspace_loc and give a value
> C:\temp\dummy (this way ${workspace_loc}/.. will resolve to c:\temp)
>
> However, in case you have used this variable in launch arguments, that
> will be impacted too. So be careful.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03393 seconds