Custom install handler not getting run with Eclipse 3.4 [message #332034] |
Wed, 01 October 2008 16:11  |
Eclipse User |
|
|
|
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 #332057 is a reply to message #332048] |
Wed, 01 October 2008 19:57   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #332088 is a reply to message #332083] |
Thu, 02 October 2008 15:13  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.04080 seconds