ProjectClassPathModifier
instead.
As an implementor, use ProjectClassPathModifier.extenderForModifier(org.netbeans.spi.java.project.classpath.ProjectClassPathModifierImplementation)
.@Deprecated public interface ProjectClassPathExtender
lookup
to
allow clients to extend its compilation classpath
by a new classpath element (JAR, folder, dependent project, or library).Modifier and Type | Method and Description |
---|---|
boolean |
addAntArtifact(AntArtifact artifact,
URI artifactElement)
|
boolean |
addArchiveFile(FileObject archiveFile)
Deprecated.
Please use
ProjectClassPathModifier.addRoots(URL[], FileObject, String) instead. |
boolean |
addLibrary(Library library)
|
@Deprecated boolean addLibrary(Library library) throws IOException
ProjectClassPathModifier.addLibraries(org.netbeans.api.project.libraries.Library[], org.openide.filesystems.FileObject, java.lang.String)
instead.library
- to be addedIOException
- in case the project metadata cannot be changed@Deprecated boolean addArchiveFile(FileObject archiveFile) throws IOException
ProjectClassPathModifier.addRoots(URL[], FileObject, String)
instead.archiveFile
- ZIP/JAR file to be addedIOException
- in case the project metadata cannot be changed@Deprecated boolean addAntArtifact(AntArtifact artifact, URI artifactElement) throws IOException
ProjectClassPathModifier.addAntArtifacts(org.netbeans.api.project.ant.AntArtifact[], java.net.URI[], org.openide.filesystems.FileObject, java.lang.String)
instead.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