Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-update-dev] Automatic Product Extension Install

We would like to install a product documentation extension on-the-fly when Eclipse starts up, or when one of my plug-ins starts up. I did this by adding some code to my UI plugin to create the links subdirectory (if it does not exist), then create and write the file containing the pathname of the plugin. However, this does not work. Eclipse does not even recognize the linked plugin next time it restarts.

I understand the recommended procedure is a separate install program, but that creates quite a few difficulties for us as the documentation can move.

Is there a way to dynamically install a link? Ideally I would like to check for our product extension (the documentation) on every invocation of Eclipse, and if its not there, recreate the link (as the documentation may have moved).

However, it may be enough to be able to run some code when "Please wait...completing the install" appears the first time Eclipse is run with our plug-ins installed.

I tried writing an install handler extending BaseInstallHandler, but it is never called. I presume this is because it is only called when the Update Manager is working.

Any thoughts?

Thanks,
Mary Kroening
Amzi! inc.






Back to the top