Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-update-dev] Global Install Handlers


Chris,

I think the problem is caused by the fact you did not use a fully qualified identifier in your feature. I think it should be:
<install-handler handler="YOUR_PLUGINID.installhandler.MyInstallHandler"/>

To debug:

Setup your development environment for feature based self hosting. See the PDE tips and tricks for details, but the basics are:
- your workspace is located in a folder called "plugins", say, eclipse.exe -data c:\myworkspace\plugins
- import all the features and projects in the workspace (binary is fine, but not linked projects).
- in the Run/Debug launcher, select feature based self hosting on the Plugins tab

Add breakpoints on the InstallHandlerProxy class in the org.eclipse.update.core plugin.


-Dorian




Chris Aniszczyk <zx@xxxxxxxxxx>
Sent by: platform-update-dev-bounces@xxxxxxxxxxx

03/14/2006 12:47 PM

Please respond to
"Eclipse Platform Update component developers list." <platform-update-dev@xxxxxxxxxxx>

To
platform-update-dev@xxxxxxxxxxx
cc
Subject
[platform-update-dev] Global Install Handlers





I'm trying to work with global install handlers and I'm stuck on how to exactly use them.

I have two install handlers defined in a plugin already installed.

<extension
id=
"installhandler"
name=
"MyInstallHandler"
point=
"org.eclipse.update.core.installHandlers">
<install-handler
class="installhandler.MyInstallHandler"/>
<install-handler
class="installhandler.NewInstallHandler"/>
</extension>


I have a feature containing the install handler reference:

<install-handler
handler="installhandler.MyInstallHandler"/>

However, when I do an install of a feature, I get a dialog that popups saying that Eclipse was unable to find
my custom install handler. Any advice on this issue would be appreciated. Especially on how to debug this
stuff (breakpoints, etc...)

Cheers,

------------
Chris Aniszczyk <zx@xxxxxxxxxx>
Lotus -- Eclipse Committer
+1 860.839.2465
_______________________________________________
platform-update-dev mailing list
platform-update-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-update-dev


Back to the top