Summary: | Inconsistent validation of CP entries | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 3.0 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2003-03-19 04:41:54 EST
Actually, the problem is slightly different. Issue comes from the fact that the variable value wasn't an absolute path. Variable settings should likely enforce an absolute path is used then, wondering though if source attachments are expecting absolute paths though JavaCore.setClasspathVariable("MyVar", new Path("P/lib"), null); IJavaProject proj = this.createJavaProject("P", new String[] {}, "bin"); this.createFolder("/P/lib"); final int length = 200; IClasspathEntry[] classpath = new IClasspathEntry[length]; for (int i = 0; i < length; i++){ this.createFile("/P/lib/lib"+i+".jar", ""); classpath[i] = JavaCore.newVariableEntry(new Path ("/MyVar/lib"+i+".jar"), null, null); } proj.setRawClasspath(classpath, null); Not critical, just need to check Source attachment root path is not expected to be absolute. Ok to close then. Closing |