[JBoss JIRA] (FORGE-2768) Forge command line fails with Windows 10 Command Prompt window
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2768?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2768:
----------------------------------------
Do you have anything in your {{%USER_HOME%/.forge/log/forge.log}} that could help?
> Forge command line fails with Windows 10 Command Prompt window
> --------------------------------------------------------------
>
> Key: FORGE-2768
> URL: https://issues.jboss.org/browse/FORGE-2768
> Project: Forge
> Issue Type: Bug
> Components: Windows
> Affects Versions: 3.7.2.Final
> Environment: Windows 10 Pro version 1703 build 15063.726
> JDK 1.8.0_144 with JAVA_HOME and PATH set
> Forge 3.7.2.Final download unzipped with FORGE_HOME and PATH set
> Reporter: Bruce Link
>
> 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)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (FORGE-2768) Forge command line fails with Windows 10 Command Prompt window
by Bruce Link (JIRA)
[ https://issues.jboss.org/browse/FORGE-2768?page=com.atlassian.jira.plugin... ]
Bruce Link commented on FORGE-2768:
-----------------------------------
Running the above set FORGE_OPTS in command window before forge command does not change anything.
> Forge command line fails with Windows 10 Command Prompt window
> --------------------------------------------------------------
>
> Key: FORGE-2768
> URL: https://issues.jboss.org/browse/FORGE-2768
> Project: Forge
> Issue Type: Bug
> Components: Windows
> Affects Versions: 3.7.2.Final
> Environment: Windows 10 Pro version 1703 build 15063.726
> JDK 1.8.0_144 with JAVA_HOME and PATH set
> Forge 3.7.2.Final download unzipped with FORGE_HOME and PATH set
> Reporter: Bruce Link
>
> 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)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (FORGE-2768) Forge command line fails with Windows 10 Command Prompt window
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2768?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2768:
----------------------------------------
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:
{code}
set FORGE_OPTS=-Dorg.jboss.forge.addon.shell.forcePOSIXTerminal=true
{code}
> Forge command line fails with Windows 10 Command Prompt window
> --------------------------------------------------------------
>
> Key: FORGE-2768
> URL: https://issues.jboss.org/browse/FORGE-2768
> Project: Forge
> Issue Type: Bug
> Components: Windows
> Affects Versions: 3.7.2.Final
> Environment: Windows 10 Pro version 1703 build 15063.726
> JDK 1.8.0_144 with JAVA_HOME and PATH set
> Forge 3.7.2.Final download unzipped with FORGE_HOME and PATH set
> Reporter: Bruce Link
>
> 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)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (FORGE-2768) Forge command line fails with Windows 10 Command Prompt window
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2768?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2768:
-----------------------------------
Component/s: Windows
(was: Forge Build)
> Forge command line fails with Windows 10 Command Prompt window
> --------------------------------------------------------------
>
> Key: FORGE-2768
> URL: https://issues.jboss.org/browse/FORGE-2768
> Project: Forge
> Issue Type: Bug
> Components: Windows
> Affects Versions: 3.7.2.Final
> Environment: Windows 10 Pro version 1703 build 15063.726
> JDK 1.8.0_144 with JAVA_HOME and PATH set
> Forge 3.7.2.Final download unzipped with FORGE_HOME and PATH set
> Reporter: Bruce Link
>
> 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)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (FORGE-2768) Forge command line fails with Windows 10 Command Prompt window
by Bruce Link (JIRA)
Bruce Link created FORGE-2768:
---------------------------------
Summary: Forge command line fails with Windows 10 Command Prompt window
Key: FORGE-2768
URL: https://issues.jboss.org/browse/FORGE-2768
Project: Forge
Issue Type: Bug
Components: Forge Build
Affects Versions: 3.7.2.Final
Environment: Windows 10 Pro version 1703 build 15063.726
JDK 1.8.0_144 with JAVA_HOME and PATH set
Forge 3.7.2.Final download unzipped with FORGE_HOME and PATH set
Reporter: Bruce Link
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)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (FORGE-2047) Commands to add and remove Maven plugins into pom.xml
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2047?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2047:
----------------------------------------
The command could add new options based on the plugin configuration if you parse the plugin.xml
> Commands to add and remove Maven plugins into pom.xml
> -----------------------------------------------------
>
> Key: FORGE-2047
> URL: https://issues.jboss.org/browse/FORGE-2047
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.10.1.Final
> Reporter: Antonio Goncalves
> Labels: starter
> Fix For: 3.x Future
>
>
> Today we have commands to add/remove dependencies into a `pom.xml` :
> {code}
> project-add-dependencies
> project-remove-dependencies
> project-add-managed-dependencies
> project-remove-managed-dependencies
> {code}
> We need to same functionnalites but for plugins. Commands such as :
> {code}
> project-add-plugin-dependencies
> project-remove-plugin-dependencies
> {code}
> So a command like this :
> {code}
> project-add-plugin-dependencies org.codehaus.mojo:exec-maven-plugin:1.3.1
> {code}
> Would add the following to the {{pom.xml}} :
> {code}
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>exec-maven-plugin</artifactId>
> <version>1.3.1</version>
> </plugin>
> </plugins>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (FORGE-2047) Commands to add and remove Maven plugins into pom.xml
by Rafael Soares (Tuelho) (JIRA)
[ https://issues.jboss.org/browse/FORGE-2047?page=com.atlassian.jira.plugin... ]
Rafael Soares (Tuelho) commented on FORGE-2047:
-----------------------------------------------
and what about specific maven plugin's configuration? This should be handled by a specific add-on?
> Commands to add and remove Maven plugins into pom.xml
> -----------------------------------------------------
>
> Key: FORGE-2047
> URL: https://issues.jboss.org/browse/FORGE-2047
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.10.1.Final
> Reporter: Antonio Goncalves
> Labels: starter
> Fix For: 3.x Future
>
>
> Today we have commands to add/remove dependencies into a `pom.xml` :
> {code}
> project-add-dependencies
> project-remove-dependencies
> project-add-managed-dependencies
> project-remove-managed-dependencies
> {code}
> We need to same functionnalites but for plugins. Commands such as :
> {code}
> project-add-plugin-dependencies
> project-remove-plugin-dependencies
> {code}
> So a command like this :
> {code}
> project-add-plugin-dependencies org.codehaus.mojo:exec-maven-plugin:1.3.1
> {code}
> Would add the following to the {{pom.xml}} :
> {code}
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>exec-maven-plugin</artifactId>
> <version>1.3.1</version>
> </plugin>
> </plugins>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years