Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "FAQ What is the use of the build.xml file?"

m
m
 
Line 8: Line 8:
 
*[[FAQ When is the build.xml script executed?]]
 
*[[FAQ When is the build.xml script executed?]]
 
*[[FAQ How do I create a feature?]]
 
*[[FAQ How do I create a feature?]]
*[[FAQ How do I create an update site site.xml?]]
+
*[[FAQ How do I create an update site (site.xml)?]]
 
*[[FAQ What is Ant?]]
 
*[[FAQ What is Ant?]]

Latest revision as of 22:28, 29 May 2006

The build.xml file is an Ant script that is created by the PDE to take your plug-in components and combine them into a deployable format. This file compiles and archives your plug-in source code into a single JAR file. The build.properties file controls what goes into your plug-in distribution.

The build.xml file can be created by using the context menu on plugin.xml and selecting PDE Tools > Create Ant Build File.

Ant build files are low-level mechanisms to package up plug-ins. A much easier way to share and deploy plug-ins is to create a feature for your plug-in and then an update site. The Update Site Editor has a very handy button, Build All..., that will create the build.xml behind the scenes, run it, and collect all the output without cluttering your plug-in and feature projects.

See Also:

Back to the top