站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

org.netbeans.api.project.ant (NetBeans Ant Project API) - NetBeans API Javadoc 5.0.0

 

Package org.netbeans.api.project.ant

Ways of getting information about Ant-based projects useful from other projects.

See:
          Description

Class Summary
AntArtifact Represents one artifact of an Ant build.
AntArtifactQuery Find out how to create a certain build artifact by calling some Ant script.
 

Package org.netbeans.api.project.ant Description

Ways of getting information about Ant-based projects useful from other projects.

An AntArtifact is a representation of a build product created from a (somehow Ant-based) project. Rather than relying on details of how another project arranges its builds, a parent project can use AntArtifactQuery to find Ant artifacts from another project (or, perhaps, arbitrary source not formally contained in a project). Using artifact information it is possible to tell what build product (file or directory) will be created and what general sort it is (e.g. JAR vs. Javadoc); which Ant script and target to run to create that build product; and how to request that it be cleaned. This information suffices to create an Ant build script in the parent project that can run sub-builds.


 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.