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.
|
Modifier and Type | Method and Description |
---|---|
static AntArtifact |
AntArtifactQuery.findArtifactByID(Project p,
String id)
Try to find a particular build artifact according to the Ant target producing it.
|
static AntArtifact |
AntArtifactQuery.findArtifactFromFile(File file)
Try to find an Ant artifact object corresponding to a given file on disk.
|
static AntArtifact[] |
AntArtifactQuery.findArtifactsByType(Project p,
String type)
Try to find build artifacts of a certain type in a project.
|
Modifier and Type | Method and Description |
---|---|
AntArtifact |
AntArtifactQueryImplementation.findArtifact(File file)
Find an Ant build artifact corresponding to a given file.
|
AntArtifact[] |
AntArtifactProvider.getBuildArtifacts()
Get a list of supported build artifacts.
|
Modifier and Type | Method and Description |
---|---|
AntArtifact |
AntProjectHelper.createSimpleAntArtifact(String type,
String locationProperty,
PropertyEvaluator eval,
String targetName,
String cleanTargetName)
Create a basic implementation of
AntArtifact which assumes everything of interest
is in a fixed location under a standard Ant-based project. |
AntArtifact |
AntProjectHelper.createSimpleAntArtifact(String type,
String locationProperty,
PropertyEvaluator eval,
String targetName,
String cleanTargetName,
String buildScriptProperty)
Create a basic implementation of
AntArtifact which assumes everything of interest
is in a fixed location under a standard Ant-based project. |
AntArtifact |
ReferenceHelper.getForeignFileReferenceAsArtifact(String reference)
Deprecated.
|
AntArtifact |
ReferenceHelper.RawReference.toAntArtifact(ReferenceHelper helper)
Attempt to convert this reference to a live artifact object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReferenceHelper.addReference(AntArtifact artifact)
Deprecated.
to add reference use
ReferenceHelper.addReference(AntArtifact, URI) ;
to check whether reference exist or not use ReferenceHelper.isReferenced(AntArtifact, URI) .
This method creates reference for the first artifact location only. |
String |
ReferenceHelper.addReference(AntArtifact artifact,
URI location)
Add a reference to an artifact's location coming from a foreign project.
|
String |
ReferenceHelper.createForeignFileReference(AntArtifact artifact)
Deprecated.
use
ReferenceHelper.addReference(AntArtifact, URI) instead |
boolean |
ReferenceHelper.isReferenced(AntArtifact artifact,
URI location)
Tests whether reference for artifact's location was already created by
ReferenceHelper.addReference(AntArtifact, URI) for this project or not. |
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.