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

Forge command line fails with Windows 10 Command Prompt window

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.7.2.Final
    • Windows
    • None
    • Hide

      Download and unzip forge-distribution-3.7.2.Final-offline.zip
      Set up FORGE_HOME and put %FORGE_HOME%\bin in front of PATH
      Open command Prompt window and type forge
      Type exit

      Show
      Download and unzip forge-distribution-3.7.2.Final-offline.zip Set up FORGE_HOME and put %FORGE_HOME%\bin in front of PATH Open command Prompt window and type forge Type exit

      Downloaded and unzipped forge-distribution-3.7.2.Final-offline.zip
      Set up FORGE_HOME and put %FORGE_HOME%\bin in front of PATH
      Open command Prompt window and type forge
      Type exit
      output follows:
      ----------------------------------------------------------------------------------------------
      C:\Users\drbdl>forge
      Using Forge at D:\Apps\forge-distribution-3.7.2.Final

      _____

      ___ __ _ __ __ _ ___
        _ / _ | `__/ _` / _ \
      _ (_)     (_   __/ //
      _ ___/ _ __, ___
      __/

      JBoss Forge, version [ 3.7.2.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
      Hit '<TAB>' for a list of available commands and 'man [cmd]' for help on a specific command.

      To quit the shell, type 'exit'.

      \�[0G�[2K�[;39;49m[drbdl]$ �[0G�[2K�[;39;49m[drbdl]$ exit
      exit
      was not found.

      Did you mean this?
      �[;99;109m exit�[0m
      �[0G�[2K�[;39;49m[drbdl]$
      ---------------------------------------------------------------------------------------------------
      Typing tab just produces a tab, not a list of commands
      Other Java programs work (eclipse, wildfly)

            [FORGE-2768] Forge command line fails with Windows 10 Command Prompt window

            Bruce Link added a comment -

            forge.log

            Log attached (after clean install and typing "forge" at command line followed by "exit"

            I do not see anything of interest in the log.

            I duplicated the issue on a second machine running Windows 10.

            Both systems have the windows 10 version of the bash shell installed (but not used in running forge)

            Bruce Link added a comment - forge.log Log attached (after clean install and typing "forge" at command line followed by "exit" I do not see anything of interest in the log. I duplicated the issue on a second machine running Windows 10. Both systems have the windows 10 version of the bash shell installed (but not used in running forge)

            Do you have anything in your %USER_HOME%/.forge/log/forge.log that could help?

            George Gastaldi added a comment - Do you have anything in your %USER_HOME%/.forge/log/forge.log that could help?

            Bruce Link added a comment -

            Running the above set FORGE_OPTS in command window before forge command does not change anything.

            Bruce Link added a comment - Running the above set FORGE_OPTS in command window before forge command does not change anything.

            Does anything change if you add -Dorg.jboss.forge.addon.shell.forcePOSIXTerminal=true to the java arguments?

            You can try the following command before executing forge.bat:

            set FORGE_OPTS=-Dorg.jboss.forge.addon.shell.forcePOSIXTerminal=true
            

            George Gastaldi added a comment - Does anything change if you add -Dorg.jboss.forge.addon.shell.forcePOSIXTerminal=true to the java arguments? You can try the following command before executing forge.bat: set FORGE_OPTS=-Dorg.jboss.forge.addon.shell.forcePOSIXTerminal= true

              Unassigned Unassigned
              bdlink Bruce Link
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: