|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for project's compile classpath extension.
A project can provide this interface in its lookup
to
allow clients to extend its compilation classpath
by a new classpath element (JAR, folder, dependent project, or library).
Method Summary | |
boolean |
addAntArtifact(AntArtifact artifact,
URI artifactElement)
Adds an artifact (e.g. |
boolean |
addArchiveFile(FileObject archiveFile)
Adds an archive file or folder into the project's compile classpath if the entry is not already there. |
boolean |
addLibrary(Library library)
Adds a library into the project's compile classpath if the library is not already included. |
Method Detail |
public boolean addLibrary(Library library) throws IOException
library
- to be added
IOException
- in case the project metadata cannot be changedpublic boolean addArchiveFile(FileObject archiveFile) throws IOException
archiveFile
- ZIP/JAR file to be added
IOException
- in case the project metadata cannot be changedpublic boolean addAntArtifact(AntArtifact artifact, URI artifactElement) throws IOException
artifact
- to be addedartifactElement
- the URI of the build output
(must be owned by the artifact and be relative to it)
IOException
- in case the project metadata cannot be changed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |