|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for project's compile classpath extension Project can provide this interface in its lookup to allow clients to extend its compilation classpath by new classpath element (jar, folder, dependent project, library).
Method Summary | |
boolean |
addAntArtifact(AntArtifact artifact,
URI artifactElement)
Adds AntArtifact into project's compile classpath if the artifact is not already on it. |
boolean |
addArchiveFile(FileObject archiveFile)
Adds archive file into project's compile classpath if the file is not already on it. |
boolean |
addLibrary(Library library)
Adds Library into project's compile classpath if the library is not already included. |
Method Detail |
public boolean addLibrary(Library library) throws IOException
library
- to be added, not null.
IOException
- in case the project metadata can not be stored.public boolean addArchiveFile(FileObject archiveFile) throws IOException
archiveFile
- to be added, can't be null.
IOException
- in case the project metadata can not be stored.public boolean addAntArtifact(AntArtifact artifact, URI artifactElement) throws IOException
artifact
- to be added, can't be null.artifactElement
- the URI of the build output, the artifactElement
has to be owned by the artifact and must be relative to it.
IOException
- in case the project metadata can not be stored.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |