[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-update-dev] NPE opening feature.xml
|
I've had decent success with the feature editor if I start from scratch.
That is, I do this to generate the file:
Load my workspace with the required plugins (by import or from a team
repository)
Create a new Plug-in project > Feature Project
Using the wizards, select the plug-ins that the feature should
reference.
Review the feature.xml after the wizard is complete.
I've produced this type of feature definition using this technique:
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="com.ibm.wswb.gef"
label="Graphical Editing Framework"
version="2.0.0"
provider-name="IBM">
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.resources"/>
</requires>
<plugin
id="com.ibm.etools.draw2d.doc.isv"
download-size="0"
install-size="0"
version="2.0.0">
</plugin>
<plugin
id="com.ibm.etools.common.command"
download-size="0"
install-size="0"
version="1.0.0">
</plugin>
<plugin
id="com.ibm.etools.gef.doc.isv"
download-size="0"
install-size="0"
version="2.0.0">
</plugin>
<plugin
id="com.ibm.etools.draw2d"
download-size="0"
install-size="0"
version="1.0.0">
</plugin>
<plugin
id="com.ibm.etools.gef"
download-size="0"
install-size="0"
version="1.0.0">
</plugin>
</feature>
Regards,
Pat McCarthy