Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Platform Plug-in Development Environment Guide
Previous Page Home Next Page

Building plug-ins / bundles

In order to build plug-ins, bundles or fragments, PDE build requires that you create a feature listing all the elements to be built. In this case the feature is only used to drive the build and will not be present in the final archive nor will it force you to use update sites.

A feature used to drive a plug-in build is a standard feature. What makes it different is that its build.properties file does not contain the property bin.includes. It is possible to automatically generate a feature containing the plug-ins you wish to build. This lets you build your plug-ins without requiring you to maintain a feature. See the eclipse.generateFeature task and the Customizing a Headless Build page.
Example:

build.properties:  topLevelElementId = acme.build.feature
customTargets.xml : 
	<target name="preSetup">
		<eclipse.generateFeature
			featureId="acme.build.feature"
			buildDirectory="${buildDirectory}"
			baseLocation="${baseLocation}"
			productFile="${product}"
			verify="false"
			pluginPath="${pluginPath}"
			configInfo="${configs}"
			pluginList="acme.plugin.A,acme.plugin.B"
			featureList="${featureList}"
			includeLaunchers="false"
		/>
	</target>

Once you have created the feature to drive the build, follow the instructions on building features.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire