Summary: | Java Classpath variables lost after restart | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Sandeep Grewal <gsandeep> |
Component: | Core | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | gsandeep |
Version: | 1.0 | ||
Target Milestone: | 3.0 M3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Sandeep Grewal
2003-06-24 16:29:40 EDT
Have same problem after creating more that one workspace. Confirmed the bug. If you create a folder whose path is 256 characters, and create very long variable names, you can get it to fail with about 20 variables. This is because classpath variables in 1.0 were stored in an IResource persistent property, which has a limit of 2KB per property. It is likely that the CoreException was not correctly handled on IResource.setPersistentProperty. So, to answer your questions: 1. No, there is no file that you can modify to add variables. These were stored in a binary b-tree file that cannot be directly modified. 2. Yes, there was a limit on the number of variables in 1.0. Since release 2.0, variables are no longer stored in persistent properties. Since no further maintenance releases are planned on 1.0, it is not likely that this will be fixed. |