|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Ant | |
---|---|
org.apache.tools.ant.module.api | Examination and execution of Ant build scripts. |
org.apache.tools.ant.module.api.support | Utilities for examining and running Ant scripts. |
org.apache.tools.ant.module.spi | Ways of influencing how Ant is run inside NetBeans. |
The main uses of the Ant integration module are self-contained and do not interact directly with other modules: the user selects a target in an Ant script and runs it. Nonetheless, there are a few significant ways other modules can interact with this module:
Permits customization of the way Ant output is displayed.
Registering custom Ant task and type definitions (when these can be run inside the NetBeans JVM only). Typically used to add special tasks which somehow script the IDE, such as connecting the JPDA debugger to a process launched by Ant.
Permits additions to the default Ant classpath.
Examining cached and introspected data about which tasks and types are known to be defined in the user's Ant scripts, and what their design-time structure is. Used by XML code completion, for example.
Running named targets in specified Ant scripts. Can be used
by modules which provide a different UI for initiating Ant
execution. ActionUtils
provides a more convenient
wrapper around this functionality.
IntrospectedInfo
no longer serializable
As part of a switch to the Preferences API, this class no longer needs to be serialized.
AutomaticExtraClasspathProvider
can now be
created in a declarative way. So libraries that wish to
provide such Ant extension may just do it in declarative
way without depending on AutomaticExtraClasspathProvider
class.
You may now extend the Ant main node's context menu using the
layer context Loaders/text/x-ant+xml/Actions
.
The current ActionUtils.antIncludeList (FileObject[] files, FileObject dir) generates a recursive include list for directories. The API change introduces new ActionUtils.antIncludeList (FileObject[] files, FileObject dir, boolean recursive) which generates either recursive or non recursive include depending on the value of the recursive parameter. The old method is bridged into the new one.
Added a new SPI for influencing the logging behavior of Ant. See Javadoc for details.
The principal use cases for the API are covered in the overall API architecture.
|
|
|
The sources for the module are in NetBeans CVS in ant directory.
Read more about the implementation in the answers to architecture questions.
|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |