Generating a feature JAR
Once versions are synchronized, we can package our feature in the format fit for publishing. This
process has three steps:
- Setting up the build configuration. The build configuration includes
information about the files and
directories that should be included in the feature for each individual plug-in
and fragment. There may be some design-time files and directories that
should not be shipped.
- Creating Ant build scripts. Ant is an open-source scripting engine that is capable of running
scripts written in XML format. Ant is ideal for executing tasks usually found in
automated builds. Ant build scripts are used to create individual JARs as well as the overall
feature JAR.
This step is mostly automatic if the build configuration is set up correctly.
- Creating the final JARs. The JARs are built by running the Ant scripts
created in step 2.
