This document lists changes made to the Ant Project API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.project.ant/1 > 1.20
SourcesHelper; made by: mkubec; issues: #57656
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.
AntBuildExtenderFactory; made by: mkleint; issues: #93509
Add framework for extending the project's build script with 3rd party snippets, allowing automated extensions to the build process.
PathMatcher; made by: jglick; issues: #49026
Ant-based projects can now conveniently specify include and exclude lists for source groups based on Ant's standard patternset syntax.
PropertyUtils; made by: jglick; issues: #49636
Added a new class and a new method to
make it easier to write a customizer version of
among other things.
StoreGroup; made by: phrebejk; issues: #49648
StoreGroupwhich is capable of creating Swing models for simple Ant project properties and storing modified values back into properties.
AntArtifact; made by: dkonecny; issues: #47788 #50484 #50092
Several enhancements of
AntArtifact were implemented:
ReferenceHelper was simplified as part of the implementation.
New schema was defined, but upgrade from old schema to new one is realized only after some new features are used. If project's artifact does not define any properties for artifact nor produce multiple outputs and Ant script lies under the project's directory then old schema is always used. Once project start using some of these new features the schema will be upgraded automatically to new version. This affects any project type which is using ant/project module.
ReferenceHelper; made by: dkonecny; issues: #49550
ReferenceHelpershould reuse external project folders as base directories for references it creates where appropriate. The new API allows addition or removal of these base folders.
To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.
Clients should begin requesting the new version to avoid a warning at startup.
Built on January 29 2008. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.