Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem building a feature with an install handler
Problem building a feature with an install handler [message #604015] Thu, 07 January 2010 14:22
Eclipse UserFriend
Originally posted by:

I have an Eclipse 3.3 based RCP application for which I want to create a
feature which requires an install handler, but am running into some
problems. Here is what I'm doing -- I must be missing a step somewhere.

1) Create a new feature project,, specifying
"install.jar" for the "Install Handler Library" field.

2) In the feature manifest editor, go to the "Installation" tab and
specify "" for the "Install Handler
Handler" field.

3) Create class which extends
BaseInstallHandler and implements IInstallHandler.

4) Add org.eclipse.equinox.common and org.eclipse.update.core to the
Java Build Path to get InstallHandler to compile.

5) Create an update site project, add my feature to the site, and build
the feature.

When I open the feature jar, it contains feature.xml, and
meta-inf/, but no install.jar.

In testing, I found if I create install.jar myself, and put the jar file
in the feature project, everything works as expected. Is this
necessary, or should the IDE be doing this for me?

Also, in the help for the feature manifest editor
(help/topic/org.eclipse.pde.doc.user/guide/tools/editors/fea ture_editor/installation.htm),
there is mention of a Platform Install and Update guide. Perhaps some
of my questions are already answered there, but I can't seem to find
that guide. Does anyone know where to find it?

Below is the content of feature.xml and Any help
would be most appreciated. Thanks.


<feature id="" label="Feature Feature"
version="1.0.0" provider-name="IBM">
<install-handler library="install.jar"
<description url="">
[Enter Feature Description here.]
<copyright url="">
[Enter Copyright Description here.]
<license url="">
[Enter License Description here.]

source.install.jar = src/
output.install.jar = bin/
bin.includes = feature.xml,\
Previous Topic:Problem building a feature with an install handler
Next Topic:Handling of extracted nested jar files
Goto Forum:

Current Time: Tue Jun 22 15:04:53 GMT 2021

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

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

Back to the top