Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1902

Initial context in Forge Console appears to be incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.7.0.Final
    • 2.6.0.Final
    • UI - Shell
    • None
    • Hide

      1. Start Forge console.
      2. Enforce path autocompletion during typing, by using a suitable command, like 'cd'. Do not execute this command.
      3. Execute a command like 'pwd' or 'clear' that does not change the current working directory.
      4. Repeat step 2, to see different results for the autocomplete suggestions.

      Show
      1. Start Forge console. 2. Enforce path autocompletion during typing, by using a suitable command, like 'cd'. Do not execute this command. 3. Execute a command like 'pwd' or 'clear' that does not change the current working directory. 4. Repeat step 2, to see different results for the autocomplete suggestions.
    • Workaround Exists
    • Hide

      Execute a neutral command like 'pwd' or 'clear' on starting the Forge console.

      Show
      Execute a neutral command like 'pwd' or 'clear' on starting the Forge console.

    Description

      When I launch the Forge console for the first time (or restart it), the initial context appears to be incorrectly set. Although the console shows that, Forge does not seem to recognize it.

      As an example, the following console output shows different responses to the ls command without changing the current working directory:

      [JDF]$ cd <TAB> 
      hs_err_pid1248.log               jbdevstudio.ini                  
      hs_err_pid1372.log               org.jboss.tools.vpe.browsersim/  
      jbdevstudio                      
      [JDF]$ pwd
      /Users/vineet/workspaces/JDF
      [JDF]$ cd <TAB>
      .metadata/  RemoteSystemsTempFiles/  
      

      This seems to affect path autocompletion mainly, but is also likely to affect Forge command execution that relies on the current working directory, since paths seem to be computed from JBDS root instead of the current workspace root for the very first time.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: