[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Cannot install features into a runtime workbench
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Thu, 13 Oct 2011 12:01:45 -0700
- Delivered-to: firstname.lastname@example.org
Thanks, but this is actually not working for me. I've gotten a bit
closer in that now the features are listed in the installed software
But, in order to reproduce the bug, I need to run my workbench with
the install directory being read-only (ie- simulating the situation
where someone installs Eclipse into /opt or C:\Program Files). When I
launch the workbench in read-only mode and click "Install new
software", I get this exception:
java.lang.IllegalStateException: Profile not locked due to exception:
And the Install manager silently does not open.
I'm guessing that there is something that needs to be specified
differently, but not sure what it is.
On Thu, Oct 13, 2011 at 11:34 AM, Pascal Rapicault <pascal@xxxxxxxxxxxx> wrote:
> Disable this option and instead point your runtime workbench to an eclipse install that is in the desired starting state by setting the following VM properties (make sure to adjust the value of the properties)
> On 2011-10-13, at 2:27 PM, Andrew Eisenberg wrote:
>> I am working on a patch for
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=332158. I am trying to
>> reproduce the problem in a runtime workspace. (This is the problem
>> where trying to install into a Shared Install fails, but the error
>> message is confusing).
>> For this, in my launch configuration, I have checked "Support software
>> installation in the launched application". Also, in the plug-ins tab,
>> I have selected all features.
>> Then, when I launch the runtime workbench and go to About Eclipse ->
>> Installation Details -> Installed software, the page is blank. This
>> seems to be causing feature-based installs to fail since the runtime
>> workbench does not think there are any features installed. Hence, I
>> cannot reproduce this bug in a runtime workbench.
>> Does anyone have any suggestions?
>> p2-dev mailing list