Bug 302152 New path variable created unexpectedly
One of the latest 3.6 IBuilds Steps: 1) Create a general project (let's call is 'project1') 2) Go to Project Properties and make sure that there are only dynamic path variables 2) Drag and drop a folder with a subfolder and files inside to 'project1' In my case it is c:/Folder > SubFolder > a.txt 3) In the "File and Folder Import" dialog, choose 'Automatic' (or later 'Default') and 'Recreate with Virtual Folders and Links' 4) Go to Project Properties again and see that a new variable is added ('C' which is defined relatively to PROJECT_LOC) 5) Open Properties for myProject/Folder/SubFolder/a.txt and see that its location is defined using this new 'C' variable. I should be at least asked if I want Eclipse to create any variables for me.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/PathVariableDialog.java
* @param type the dialog type: <code>NEW_VARIABLE</code> or
     * 	<code>EXISTING_VARIABLE</code>
     * @param variableType the type of variable that can be edited in 
     * 	this dialog. <code>IResource.FILE</code> or <code>IResource.FOLDER</code>
     * @param pathVariableManager a reference to the path variable manager
     * @param namesInUse a set of variable names currently in use 
     */
    public PathVariableDialog(Shell parentShell, int type, int variableType,
            IPathVariableManager pathVariableManager, Set namesInUse) {
        super(parentShell);
        this.type = type;
        this.operationMode = type;
        this.variableName = ""; 
        this.variableValue = ""; 
        this.variableType = variableType;
        this.pathVariableManager = pathVariableManager;
        this.namesInUse = namesInUse;
        if (operationMode == NEW_VARIABLE)
            this.standardMessage = IDEWorkbenchMessages.PathVariableDialog_message_newVariable;
        else if (operationMode == EXISTING_VARIABLE)
            this.standardMessage = IDEWorkbenchMessages.PathVariableDialog_message_existingVariable;
        else
            this.standardMessage = IDEWorkbenchMessages.PathVariableDialog_message_editLocation;
    }
    /**
     * Configures this dialog's shell, setting the shell's text.
     * 
     * @see org.eclipse.jface.window.Window#configureShell(Shell)
     */
    protected void configureShell(Shell shell) {