|
org.netbeans.modules.project.ant/1 1.37.1 | |||||||||
| 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.
SourceGroupModifierImplementation implementation for Ant-based projects
Added method SourcesHelper.createSourceGroupModifierImplementation creating SourceGroupModifierImplementation
implementation for Ant-based projects. Also added SourcesHelper.SourceRootConfig class
and SourcesHelper.sourceRoot(String location) method for more readable configuration
of source roots. These support additional parameter hint(), which is required
for the implementation to work. Existing SourcesHelper.addPrincipalSourceRoot
and SourcesHelper.addTypedSourceRoot methods are deprecated.
SourcesHelper constructor accepting Project
The new constructor enables simplified control flow.
Introducing AntBasedProjectRegistration to
simplify registering Ant based projects. Just write the
project class and annotate it.
Added SourcesHelper.registerExternalRoots with additional parameter
minimalSubfolders controlling how the roots having an explicit include
list are registered. When true only those subfolders which are included
(or folders directly containing included files) will be registered, otherwise the
whole source root is registered.
AntProjectHelper.createSimpleAntArtifact enhanced
with new parameter: property name holding project relative location
and name of Ant build script to use.
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.37.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||