This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42309 - Create an API from ProjectClassPathImplementation
Summary: Create an API from ProjectClassPathImplementation
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: API
Depends on: 53056
Blocks: 41535
  Show dependency tree
 
Reported: 2004-04-22 03:03 UTC by Jesse Glick
Modified: 2005-01-13 09:38 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-04-22 03:03:11 UTC
This class, currently in j2seproject, is a good
candidate for a sharable convenience impl in
java/project somewhere. I would suggest a factory
method like the following:

package
org.netbeans.spi.java.project.support.classpath;
public class ProjectClassPathSupport {
    private ProjectClassPathSupport() {}
    public static ClassPathImplementation
createPropertyBasedClassPathImplementation(FileObject
basedir, String propertyName, PropertyEvaluator
evaluator) {
        // ... return something like current impl
    }
}
Comment 1 Jesse Glick 2004-06-15 13:08:34 UTC
OK, looks like we do it for E.
Comment 2 Tomas Zezula 2005-01-13 09:38:04 UTC
Checking in
java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ClassPathProviderImpl.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ClassPathProviderImpl.java,v
 <--  ClassPathProviderImpl.java
new revision: 1.15; previous revision: 1.14
done
Removing
java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ProjectClassPathImplementation.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/ProjectClassPathImplementation.java,v
 <--  ProjectClassPathImplementation.java
new revision: delete; previous revision: 1.6
done
Processing log script arguments...
More commits to come...
Checking in java/project/apichanges.xml;
/cvs/java/project/apichanges.xml,v  <--  apichanges.xml
new revision: 1.4; previous revision: 1.3
done
Checking in java/project/arch.xml;
/cvs/java/project/arch.xml,v  <--  arch.xml
new revision: 1.11; previous revision: 1.10
done
Processing log script arguments...
More commits to come...
Checking in java/project/nbproject/project.properties;
/cvs/java/project/nbproject/project.properties,v  <--  project.properties
new revision: 1.11; previous revision: 1.10
done
Checking in java/project/nbproject/project.xml;
/cvs/java/project/nbproject/project.xml,v  <--  project.xml
new revision: 1.18; previous revision: 1.17
done
Processing log script arguments...
More commits to come...
RCS file:
/cvs/java/project/src/org/netbeans/spi/java/project/classpath/support/ProjectClassPathImplementation.java,v
done
Checking in
java/project/src/org/netbeans/spi/java/project/classpath/support/ProjectClassPathImplementation.java;
/cvs/java/project/src/org/netbeans/spi/java/project/classpath/support/ProjectClassPathImplementation.java,v
 <--  ProjectClassPathImplementation.java
initial revision: 1.1
done
RCS file:
/cvs/java/project/src/org/netbeans/spi/java/project/classpath/support/ProjectClassPathSupport.java,v
done
Checking in
java/project/src/org/netbeans/spi/java/project/classpath/support/ProjectClassPathSupport.java;
/cvs/java/project/src/org/netbeans/spi/java/project/classpath/support/ProjectClassPathSupport.java,v
 <--  ProjectClassPathSupport.java
initial revision: 1.1