Community
Participate
Working Groups
How to reproduce: create a classpath variable called "BCOMROOT", and set it to some path. Shutdown and restart Eclipse. The variable BCOMROOT will be gone. This is the only variable I've found so far that exhibits this behaviour. Several developers in my organization have reported the same problems with that variable.
exists on at least Eclipse 2.1, 2.1.1 and 3.0M2. Did not exist in Eclipse 2.0.
Pls investigate
not reproduced in Eclipse M2 with recent eclipse.jdt.core (07/29). i went to preferences | java | classpath variables. create a new var (tried both file and folder), exited eclispe, started it again, variable was there. i think that it depends on the folder BCOMROOT it points to.
Odd. I tried installing the JDT core plugin from last night's build, and I still cannot create a BCOMROOT variable. I tried using the variable name "BLAH" against the same folder, and it persists just fine. I tried using the BCOMROOT variable name, but pointed it to a folder for which I have an existing variable; that still fails to persists on shutdown. One possible factor is that when I initially created the variable, I used a custom plugin with the following API call: <pre> IPath bcomRoot = JavaCore.getClasspathVariable("BCOMROOT"); Shell shell = getShell(); if (bcomRoot == null) { DirectoryDialog dialog = new DirectoryDialog(shell); dialog.setMessage("Select the location of your BCOMROOT."); String path = dialog.open(); if (path == null) { return; } bcomRoot = new Path(path); JavaCore.setClasspathVariable( "BCOMROOT", bcomRoot, new NullProgressMonitor()); } </pre> Now every time I try to create the BCOMROOT variable, either through the standard GUI or through the API, it does not persist on shutdown. It's possible that using the API has fouled up the variable persistance in some way. I suppose that if there is a convenient way to delete my Eclipse configuration, I can try creating a BCOMROOT variable without using the API.
Sorry but I cannot reproduce your problem. Is the name of the folder the variable points to special in some way?
Please reopen when you have more information.
Closing as no response in a long time.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.