|
org.netbeans.modules.project.ant/1 1.19 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
See:
Description
| Ant-Based Project Support | |
|---|---|
| org.netbeans.api.project.ant | Ways of getting information about Ant-based projects useful from other projects. |
| org.netbeans.spi.project.ant | Pluggable implementations of inter-project Ant dependencies. |
| org.netbeans.spi.project.support.ant | Principal package for implementing typical Ant-based projects. |
| org.netbeans.spi.project.support.ant.ui | Package containing classes supporting development of UI for Ant-based projects. |
AntProjectAPI
Mostly an SPI for creating project types centered around the Ant build tool.
Permits Ant-based project types to be registered and supplies various support
implementations to help satisfy the contract of Project and
various optional interfaces.
A new XML schema
(http://www.netbeans.org/ns/ant-project-libraries/1),
several new API methods
(AntProjectHelper.getProjectLibrariesPropertyProvider,
AntProjectHelper.isSharableProject,
AntProjectHelper.getLibrariesLocation,
AntProjectHelper.setLibrariesLocation,
ProjectGenerator.createProject(FileObject, String, String),
ReferenceHelper.createForeignFileReferenceAsIs,
ReferenceHelper.createExtraForeignFileReferenceAsIs,
ReferenceHelper.copyLibrary,
ReferenceHelper.getLibraryChooserImportHandler,
ReferenceHelper.createLibraryReference,
ReferenceHelper.getProjectLibraryManager,
ReferenceHelper.findLibrary) and
custom file chooser (FileChooser)
provide support for collocated library definitions
referred to from Ant-based projects.
Added a method for registering external file that is supposed to be owned by the project, typically used in freeform project to register build products that are external to project dir.
Add framework for extending the project's build script with 3rd party snippets, allowing automated extensions to the build process.
Ant-based projects can now conveniently specify include and exclude lists for source groups based on Ant's standard patternset syntax.
Added a new class and a new method to PropertyUtils to
make it easier to write a customizer version of
AntProjectHelper.getStandardPropertyEvaluator(),
among other things.
Mostly an SPI for use by project type providers to create the project type. Also includes a small API/SPI for other projects to find what Ant build steps are necessary to create a certain build product, for use in inter-project dependencies.
Ant project support faq:You basicaly need to do two things. First create the representation of the project properties which can be used in the GUI. Second at some time convert the objects back to the ANT properties form and store them into the project.
|
|
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
|
org.netbeans.modules.project.ant/1 1.19 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||