Package | Description |
---|---|
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.
getLibraryChooserImportHandler
method into ReferenceHelper
accepting URL
A new method enables a client to specify target folder different from AntProjectHelper.getLibrariesLocation
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.
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.
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.