Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Default location of the runtime configuration
Default location of the runtime configuration [message #63204] Tue, 26 May 2009 00:44 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1095
Registered: July 2009
Senior Member

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 #63227 is a reply to message #63204] Tue, 26 May 2009 08:39 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Lars Vogel wrote:
>
> I would like to change the default ${workspace_loc}/.. to another place,
> e.g. c:\temp\
>
> Is this possible?

I believe you are talking about running your RCP app from an
Eclipse. If that is the case you can edit the Launch Configuration and
point to a location you want.

- Prakash

---
http://blog.eclipse-tips.com
Re: Default location of the runtime configuration [message #63274 is a reply to message #63227] Tue, 26 May 2009 15:23 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1095
Registered: July 2009
Senior Member

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 #63298 is a reply to message #63274] Tue, 26 May 2009 17:00 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Lars Vogel wrote:
> I would like to know if the default workspace location in a new runtime
> configuration can be changed.

I don't think its configurable.

- Prakash

---
http://blog.eclipse-tips.com
Re: Default location of the runtime configuration [message #63344 is a reply to message #63204] Tue, 26 May 2009 19:15 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
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.

--
hth,
Ankur..
Re: Default location of the runtime configuration [message #63367 is a reply to message #63344] Wed, 27 May 2009 05:19 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1095
Registered: July 2009
Senior Member

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 #597855 is a reply to message #63204] Tue, 26 May 2009 08:39 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Lars Vogel wrote:
>
> I would like to change the default ${workspace_loc}/.. to another place,
> e.g. c:\temp\
>
> Is this possible?

I believe you are talking about running your RCP app from an
Eclipse. If that is the case you can edit the Launch Configuration and
point to a location you want.

- Prakash

---
http://blog.eclipse-tips.com
Re: Default location of the runtime configuration [message #597865 is a reply to message #63227] Tue, 26 May 2009 15:23 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1095
Registered: July 2009
Senior Member

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 #597870 is a reply to message #63274] Tue, 26 May 2009 17:00 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Lars Vogel wrote:
> I would like to know if the default workspace location in a new runtime
> configuration can be changed.

I don't think its configurable.

- Prakash

---
http://blog.eclipse-tips.com
Re: Default location of the runtime configuration [message #597881 is a reply to message #63204] Tue, 26 May 2009 19:15 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
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.

--
hth,
Ankur..
Re: Default location of the runtime configuration [message #597885 is a reply to message #63344] Wed, 27 May 2009 05:19 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1095
Registered: July 2009
Senior Member

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.
>
Previous Topic:Default location of the runtime configuration
Next Topic:Parameterized product builds
Goto Forum:
  


Current Time: Sun Jun 13 05:57:08 GMT 2021

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

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

Back to the top