Install handler questions [message #506213] |
Wed, 06 January 2010 10:08 |
Eclipse User |
|
|
|
Originally posted by: pawolf.us.ibm.com
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, com.ibm.bbp.paw.feature, specifying
"install.jar" for the "Install Handler Library" field.
2) In the feature editor, go to the "Installation" tab and specify
"com.ibm.bbp.paw.InstallHandler" for the "Install Handler Handler" field.
3) Create class com.ibm.bbp.paw.InstallHandler 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/Manaifest.mf, but no install.jar. Below is the content of
feature.xml and build.properties. Any help would be most appreciated.
Thanks.
Paul
<feature id="com.ibm.bbp.paw.feature" label="Feature Feature"
version="1.0.0" provider-name="IBM">
<install-handler library="install.jar"
handler="com.ibm.bbp.paw.InstallHandler"/>
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
</feature>
source.install.jar = src/
output.install.jar = bin/
bin.includes = feature.xml,\
install.jar
|
|
|
Powered by
FUDForum. Page generated in 0.03411 seconds