Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Custom install handler not getting run with Eclipse 3.4
Custom install handler not getting run with Eclipse 3.4 [message #332034] Wed, 01 October 2008 16:11 Go to next message
Eclipse UserFriend
I have a custom install handler for my plugin. This all works fine in Eclipse 3.2. Moving
to Eclipse 3.4 my custom install handler never gets run during install. My feature and
plugin get downloaded from the update site but the custom install handler never runs.
Here is a snippet from my feature.xml:

<feature
id="com.ibm.auiml.toolkit.install"
label="AUIML Toolkit"
version="7.1.1.0809290408"
provider-name="IBM"
os="aix,hpux,linux,macosx,qnx,solaris,win32"
ws="win32,gtk"
nl="en">
<install-handler library="installtools.jar"
handler="com.ibm.auiml.toolkit.AuimlInstallHandler"/>


Any ideas why this wouldn't work anymore on Elcipse 3.4?

Andy Arhelger
Re: Custom install handler not getting run with Eclipse 3.4 [message #332048 is a reply to message #332034] Wed, 01 October 2008 18:56 Go to previous messageGo to next message
Eclipse UserFriend
p2 doesn't support install handlers. When detected, though, they're
supposed to offer the user the option to switch to the old Update
Manager (which will run the install handlers).

Are you doing a headless install? Are there any errors in the workspace
of the eclipse you are trying to update? <workspace>/.metadata/.log

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Re: Custom install handler not getting run with Eclipse 3.4 [message #332057 is a reply to message #332048] Wed, 01 October 2008 19:57 Go to previous messageGo to next message
Eclipse UserFriend
No I am not doing a headless install, normal Help -> Software Updates...
(I am running RAD 7.5)

Don't see any errors in the .log file that pertain to the install. I will try again and
clear the log first.

Andy Arhelger


Paul Webster wrote:
> p2 doesn't support install handlers. When detected, though, they're
> supposed to offer the user the option to switch to the old Update
> Manager (which will run the install handlers).
>
> Are you doing a headless install? Are there any errors in the workspace
> of the eclipse you are trying to update? <workspace>/.metadata/.log
>
> PW
>
Re: Custom install handler not getting run with Eclipse 3.4 [message #332061 is a reply to message #332048] Wed, 01 October 2008 20:28 Go to previous messageGo to next message
Eclipse UserFriend
Paul:

No, don't see any exceptions in the log and it didn't ask me if I wanted to use the old
Update Manager.

Is there anyway to force my install to use the old Update Manager?

Andy Arhelger


Paul Webster wrote:
> p2 doesn't support install handlers. When detected, though, they're
> supposed to offer the user the option to switch to the old Update
> Manager (which will run the install handlers).
>
> Are you doing a headless install? Are there any errors in the workspace
> of the eclipse you are trying to update? <workspace>/.metadata/.log
>
> PW
>
Re: Custom install handler not getting run with Eclipse 3.4 [message #332083 is a reply to message #332061] Thu, 02 October 2008 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Andy Arhelger wrote:
> Paul:
>
> No, don't see any exceptions in the log and it didn't ask me if I wanted
> to use the old Update Manager.

This sounds like a bug, please open a bug at
https://bugs.eclipse.org/bugs/ against RT Equinox P2 (Equinox is no
longer under Eclipse). It's a serious problem if the Install Handlers
are not causing a switch to the old Update Manager.

>
> Is there anyway to force my install to use the old Update Manager?

Yes, go to Window>Preferences>General>Capabilities and activate Classic
Update. Then there should be the old Software Updates> submenu as well.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Re: Custom install handler not getting run with Eclipse 3.4 [message #332088 is a reply to message #332083] Thu, 02 October 2008 15:13 Go to previous message
Eclipse UserFriend
Paul:

Thanks. I will open a problem.
I did find the Capabilities option and turned on the Classic Update Manager. When I
installed using the Classic Update Manager it did work for me.

Andy Arhelger


Paul Webster wrote:
> Andy Arhelger wrote:
>> Paul:
>>
>> No, don't see any exceptions in the log and it didn't ask me if I
>> wanted to use the old Update Manager.
>
> This sounds like a bug, please open a bug at
> https://bugs.eclipse.org/bugs/ against RT Equinox P2 (Equinox is no
> longer under Eclipse). It's a serious problem if the Install Handlers
> are not causing a switch to the old Update Manager.
>
>>
>> Is there anyway to force my install to use the old Update Manager?
>
> Yes, go to Window>Preferences>General>Capabilities and activate Classic
> Update. Then there should be the old Software Updates> submenu as well.
>
> PW
>
Previous Topic:enable command handler on startup
Next Topic:display whitespace toggle shortcut
Goto Forum:
  


Current Time: Tue Feb 18 13:56:45 GMT 2025

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

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

Back to the top