Community
Participate
Working Groups
We have set 67 classpath variables which our components refer. But when we open WSAD now, all these disappear and we have to manually add these again. The variables are added using Window --> Preferences --> Java --> Classpath Variables 1. Is there any file in Eclipse 1.0 where the variables can be added? 2. Is there a limit for the number of variables? When this is exceeded, they all disappear and only the default variables show up after startupup after startup Steps to reproduce: 1. Please add 65-70 variables using Window --> Preferences --> Java --> Classpath Variables 2. Shutdown Eclipse and restart it, the variables should have disappeared leaving only the default ones.
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.