Home » Eclipse Projects » Eclipse Platform » Running Eclipse 3.4M6 with "-configuration"
Running Eclipse 3.4M6 with "-configuration" [message #326824] |
Tue, 01 April 2008 13:23  |
Eclipse User |
|
|
|
Hi,
Prior to Eclipse 3.4M6, I used to run
eclipse -configuration [path_to_my_configuration]
to use several configurations with the same Eclipse install.
Also I was able to set path_to_my_configuration to an empty (or even
missing) directory, and everything was auto-created.
It is no longer the case with 3.4M6...
I tried to copy the default "configuration" directory to another place,
then put a copy of "p2" nearby (because I discovered a reference
"eclipse.p2.data.area=@config.dir/../p2" in config.ini).
Eclipse started normally, and the new update manager says it expects
dropins dir at the same location as configuration dir.
So, I added "dropins" at the same level and put some update site
archives there.
Eclipse started normally again, and dropins are displayed by the update
manager... but they don't work! Nothing of their functionality appears.
I even tried to "install" them through the update manager although I
already saw them added - it doesnot help.
So, the question is: what is the correct way to specify an alternate
configuration location via Eclipse 3.4M6 command line and what
preparation are required?
~
Roman
|
|
| |
Re: Running Eclipse 3.4M6 with "-configuration" [message #326862 is a reply to message #326830] |
Wed, 02 April 2008 05:21   |
Eclipse User |
|
|
|
Dropins are great, but still: how can I specify different configurations
based on same Eclipse install?
Say, every morning I want Eclipse with Mylyn and every night I'd like to
launch Eclipse with EMF but without Mylyn (for whatever reason).
I used to call something like
eclipse -configuration configs/with_mylyn
or
eclipse -configuration configs/emf_no_mylyn
respectively.
Now it doesnot work.
Matthew Hall wrote:
> See:
> http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
>
> Matthew
>
> Roman Porotnikov wrote:
>> Hi,
>>
>> Prior to Eclipse 3.4M6, I used to run
>>
>> eclipse -configuration [path_to_my_configuration]
>>
>> to use several configurations with the same Eclipse install.
>>
>> Also I was able to set path_to_my_configuration to an empty (or even
>> missing) directory, and everything was auto-created.
>>
>> It is no longer the case with 3.4M6...
>>
>> I tried to copy the default "configuration" directory to another
>> place, then put a copy of "p2" nearby (because I discovered a
>> reference "eclipse.p2.data.area=@config.dir/../p2" in config.ini).
>>
>> Eclipse started normally, and the new update manager says it expects
>> dropins dir at the same location as configuration dir.
>>
>> So, I added "dropins" at the same level and put some update site
>> archives there.
>>
>> Eclipse started normally again, and dropins are displayed by the
>> update manager... but they don't work! Nothing of their functionality
>> appears. I even tried to "install" them through the update manager
>> although I already saw them added - it doesnot help.
>>
>> So, the question is: what is the correct way to specify an alternate
>> configuration location via Eclipse 3.4M6 command line and what
>> preparation are required?
>>
>> ~
>> Roman
>>
>>
|
|
|
Re: Running Eclipse 3.4M6 with "-configuration" [message #326863 is a reply to message #326862] |
Wed, 02 April 2008 05:27   |
Eclipse User |
|
|
|
To make things more clear, before 3.4M6 I used to put separate
plugin/feature sets to separate extension locations, say one for Mylyn
and another for EMF, and then added them with "Add extension location"
in plug-in manager, so my configurations resulted in different plug-in sets.
Roman Porotnikov wrote:
> Dropins are great, but still: how can I specify different configurations
> based on same Eclipse install?
>
> Say, every morning I want Eclipse with Mylyn and every night I'd like to
> launch Eclipse with EMF but without Mylyn (for whatever reason).
>
> I used to call something like
>
> eclipse -configuration configs/with_mylyn
>
> or
>
> eclipse -configuration configs/emf_no_mylyn
>
> respectively.
>
> Now it doesnot work.
>
>
> Matthew Hall wrote:
>> See:
>> http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
>>
>> Matthew
>>
>> Roman Porotnikov wrote:
>>> Hi,
>>>
>>> Prior to Eclipse 3.4M6, I used to run
>>>
>>> eclipse -configuration [path_to_my_configuration]
>>>
>>> to use several configurations with the same Eclipse install.
>>>
>>> Also I was able to set path_to_my_configuration to an empty (or even
>>> missing) directory, and everything was auto-created.
>>>
>>> It is no longer the case with 3.4M6...
>>>
>>> I tried to copy the default "configuration" directory to another
>>> place, then put a copy of "p2" nearby (because I discovered a
>>> reference "eclipse.p2.data.area=@config.dir/../p2" in config.ini).
>>>
>>> Eclipse started normally, and the new update manager says it expects
>>> dropins dir at the same location as configuration dir.
>>>
>>> So, I added "dropins" at the same level and put some update site
>>> archives there.
>>>
>>> Eclipse started normally again, and dropins are displayed by the
>>> update manager... but they don't work! Nothing of their functionality
>>> appears. I even tried to "install" them through the update manager
>>> although I already saw them added - it doesnot help.
>>>
>>> So, the question is: what is the correct way to specify an alternate
>>> configuration location via Eclipse 3.4M6 command line and what
>>> preparation are required?
>>>
>>> ~
>>> Roman
>>>
>>>
|
|
|
Re: Running Eclipse 3.4M6 with "-configuration" [message #327020 is a reply to message #326863] |
Fri, 04 April 2008 16:42  |
Eclipse User |
|
|
|
Hi all,
I experienced the same problems. I work in different projects with
different sets of features in the same way as Roman described.
My operation system is Windows XP.
Before 3.4M6 everything worked fine.
I tried different solutions:
1. Make the install read-only
Doesn't help, because eclipse writes its configuration in a directory
besides the eclipse.exe whether I specified -configuration or not.
2. Copy eclipse.exe and eclipse.ini besides the new configuration
Doesn't help, because eclipse can't find any plugin.
2.1 Same as 2, except modify eclipse.ini with a better location for its
plugins
Doesn't help, for reasons I can't remember.
3. Use the p2 installer for shared install
Experiment not finished yet.
I am an experienced eclipse power user and I normally know what I do.
That's why, solution 3 is not really an option in the future.
When I specify a different (but valid) configuration area, eclipse
should not write any data besides its plugins directory in a newly
created configuration directory.
CU,
Marco
Roman Porotnikov schrieb:
> To make things more clear, before 3.4M6 I used to put separate
> plugin/feature sets to separate extension locations, say one for Mylyn
> and another for EMF, and then added them with "Add extension location"
> in plug-in manager, so my configurations resulted in different plug-in
> sets.
>
> Roman Porotnikov wrote:
>> Dropins are great, but still: how can I specify different
>> configurations based on same Eclipse install?
>>
>> Say, every morning I want Eclipse with Mylyn and every night I'd like
>> to launch Eclipse with EMF but without Mylyn (for whatever reason).
>>
>> I used to call something like
>>
>> eclipse -configuration configs/with_mylyn
>>
>> or
>>
>> eclipse -configuration configs/emf_no_mylyn
>>
>> respectively.
>>
>> Now it doesnot work.
>>
>>
>> Matthew Hall wrote:
>>> See:
>>> http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
>>>
>>> Matthew
>>>
>>> Roman Porotnikov wrote:
>>>> Hi,
>>>>
>>>> Prior to Eclipse 3.4M6, I used to run
>>>>
>>>> eclipse -configuration [path_to_my_configuration]
>>>>
>>>> to use several configurations with the same Eclipse install.
>>>>
>>>> Also I was able to set path_to_my_configuration to an empty (or even
>>>> missing) directory, and everything was auto-created.
>>>>
>>>> It is no longer the case with 3.4M6...
>>>>
>>>> I tried to copy the default "configuration" directory to another
>>>> place, then put a copy of "p2" nearby (because I discovered a
>>>> reference "eclipse.p2.data.area=@config.dir/../p2" in config.ini).
>>>>
>>>> Eclipse started normally, and the new update manager says it expects
>>>> dropins dir at the same location as configuration dir.
>>>>
>>>> So, I added "dropins" at the same level and put some update site
>>>> archives there.
>>>>
>>>> Eclipse started normally again, and dropins are displayed by the
>>>> update manager... but they don't work! Nothing of their
>>>> functionality appears. I even tried to "install" them through the
>>>> update manager although I already saw them added - it doesnot help.
>>>>
>>>> So, the question is: what is the correct way to specify an alternate
>>>> configuration location via Eclipse 3.4M6 command line and what
>>>> preparation are required?
>>>>
>>>> ~
>>>> Roman
>>>>
>>>>
|
|
|
Goto Forum:
Current Time: Mon Mar 17 01:32:08 EDT 2025
Powered by FUDForum. Page generated in 0.04314 seconds
|