|
org.netbeans.modules.project.ant/1 1.25 | |||||||||
| 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.
AntProjectHelper.createSimpleAntArtifact enhanced
with new parameter: property name holding project relative location
and name of Ant build script to use.
XML schemas may now be registered in ProjectXMLCatalog/**/*.xsd.
Any attempts to read or write project.xml or private.xml
will first try to validate against the registered schemas.
FileChooser enhanced with "Use Variable Path" option. Following
methods were added:
FileChooser.getSelectedPathVariables and
FileChooser.enableVariableBasedSelection.
For backward compatibility "Use Variable Path" option is by default
switched off and has to be enabled. Existing getSelectedPaths()
method will keep returning either absolute
or relative paths. If "Use Variable Path" option was selected it will
return absolute path. Variable based paths are returned via new
getSelectedPathVariables method.
Support class added for showing variables manager.
Added methods for adding/copying global libraries that are needed
for Ant build script. Added methods:
AntBuildExtender.addLibrary,
AntBuildExtender.removeLibrary
A new API method AntProjectHelper.createAuxiliaryProperties.
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.25 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||