| java.lang.Object org.netbeans.spi.java.project.classpath.ProjectClassPathModifierImplementation org.netbeans.modules.java.api.common.classpath.j2ee.J2EEProjectClassPathModifier
Method Summary | |
protected boolean | addAntArtifacts(AntArtifact[] artifacts, URI[] artifactElements, SourceGroup sourceGroup, String type) | protected boolean | addLibraries(Library[] libraries, SourceGroup sourceGroup, String type) | protected boolean | addRoots(URL[] classPathRoots, SourceGroup sourceGroup, String type) | public static J2EEProjectClassPathModifier | create(Project project, UpdateHelper helper, PropertyEvaluator eval, ReferenceHelper refHelper, J2EEClassPathSupport classPathSupport, SourceRoots sourceRoots, SourceRoots testSourceRoots, Properties properties) | protected String[] | getExtensibleClassPathTypes(SourceGroup sourceGroup) | protected SourceGroup[] | getExtensibleSourceGroups() | protected boolean | handleLibraries(Library[] libraries, String classPathProperty, String elementName, Operation operation) | public boolean | handleLibraries(Library[] libraries, String classPathProperty, Operation operation, ClassPathItemProvider<J2EEClassPathSupport.Item> provider) | protected boolean | handleRoots(URL[] classPathRoots, String classPathProperty, String elementName, Operation operation) | public void | notifyDeleting() | public void | propertyChange(PropertyChangeEvent e) | protected boolean | removeAntArtifacts(AntArtifact[] artifacts, URI[] artifactElements, SourceGroup sourceGroup, String type) | protected boolean | removeLibraries(Library[] libraries, SourceGroup sourceGroup, String type) | protected boolean | removeRoots(URL[] classPathRoots, SourceGroup sourceGroup, String type) | public static void | storeLibrariesLocations(Iterator<J2EEClassPathSupport.Item> classpath, EditableProperties privateProps) Store locations of libraries in the classpath param that have more the one
file into the properties in the following format:
- libs.foo.classpath.libdir.1=C:/foo
- libs.foo.classpath.libdirs=1
- libs.foo.classpath.libfile.1=C:/bar/a.jar
- libs.foo.classpath.libfile.2=C:/bar/b.jar
- libs.foo.classpath.libfiles=1
This is needed for the Ant copy task as it cannot copy more the one file
and it needs different handling for files and directories. |
getExtensibleClassPathTypes | protected String[] getExtensibleClassPathTypes(SourceGroup sourceGroup)(Code) | | |
getExtensibleSourceGroups | protected SourceGroup[] getExtensibleSourceGroups()(Code) | | |
notifyDeleting | public void notifyDeleting()(Code) | | |
storeLibrariesLocations | public static void storeLibrariesLocations(Iterator<J2EEClassPathSupport.Item> classpath, EditableProperties privateProps)(Code) | | Store locations of libraries in the classpath param that have more the one
file into the properties in the following format:
- libs.foo.classpath.libdir.1=C:/foo
- libs.foo.classpath.libdirs=1
- libs.foo.classpath.libfile.1=C:/bar/a.jar
- libs.foo.classpath.libfile.2=C:/bar/b.jar
- libs.foo.classpath.libfiles=1
This is needed for the Ant copy task as it cannot copy more the one file
and it needs different handling for files and directories.
It removes all properties that match this format that were in the
J2EEProjectClassPathModifier.properties but are not in the
J2EEProjectClassPathModifier.classpath .
|
Methods inherited from org.netbeans.spi.java.project.classpath.ProjectClassPathModifierImplementation | abstract protected boolean addAntArtifacts(AntArtifact[] artifacts, URI[] artifactElements, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException(Code)(Java Doc) abstract protected boolean addLibraries(Library[] libraries, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException(Code)(Java Doc) abstract protected boolean addRoots(URL[] classPathRoots, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException(Code)(Java Doc) abstract protected String[] getExtensibleClassPathTypes(SourceGroup sourceGroup)(Code)(Java Doc) abstract protected SourceGroup[] getExtensibleSourceGroups()(Code)(Java Doc) final protected String performSharabilityHeuristics(URL classpathRoot, AntProjectHelper helper) throws URISyntaxException, IOException(Code)(Java Doc) abstract protected boolean removeAntArtifacts(AntArtifact[] artifacts, URI[] artifactElements, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException(Code)(Java Doc) abstract protected boolean removeLibraries(Library[] libraries, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException(Code)(Java Doc) abstract protected boolean removeRoots(URL[] classPathRoots, SourceGroup sourceGroup, String type) throws IOException, UnsupportedOperationException(Code)(Java Doc)
|
|
|