| java.lang.Object org.netbeans.api.project.ant.AntArtifactQuery
AntArtifactQuery | public class AntArtifactQuery (Code) | | Find out how to create a certain build artifact by calling some Ant script.
See Also: AntArtifactQueryImplementation author: Jesse Glick |
findArtifactByID | public static AntArtifact findArtifactByID(Project p, String id)(Code) | | Try to find a particular build artifact according to the Ant target producing it.
Parameters: p - a project (should have AntArtifactProvider in lookupin order for this query to work) Parameters: id - a desired AntArtifact.getID ID an artifact produced by that project with the specified target,or null if none such can be found |
findArtifactFromFile | public static AntArtifact findArtifactFromFile(File file)(Code) | | Try to find an Ant artifact object corresponding to a given file on disk.
The file need not currently exist for the query to succeed.
All registered
AntArtifactQueryImplementation providers are asked.
Parameters: file - a file which might be built by some Ant target an Ant artifact object describing it, or null if it is not recognized |
findArtifactsByType | public static AntArtifact[] findArtifactsByType(Project p, String type)(Code) | | Try to find build artifacts of a certain type in a project.
Parameters: p - a project (should have AntArtifactProvider in lookupin order for this query to work) Parameters: type - a desired AntArtifact.getType artifact type all artifacts of the specified type produced by that project(may be an empty list) |
|
|