I usually set up a remote debug session to test things like this. This is what I do:
- download a nightly build (I uses nightlies because 1) they contain the
latest code which most likely matches what is in my workspace and 2) the
bundle qualifiers are all the same which makes it easier if I need to
export multiple bundles)
- set the following properties in the eclipse.ini file:
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
- In your Eclipse create a new Remote Debug launch configuration and
connect to the remote session
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Andrew Eisenberg <[email protected]>
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|P2 developer discussions <[email protected]>
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|2011/10/13 02:34 PM
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: [p2-dev] Cannot install features into a runtime workbench
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|[email protected]
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Found out an answer:
http://wiki.eclipse.org/Equinox_p2_Getting_Started_for_Developers#Self_hosting
Thanks anyway.
On Thu, Oct 13, 2011 at 11:27 AM, Andrew Eisenberg <[email protected]>
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?
>
> thanks,
> Andrew
>
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
