[forge-issues] [JBoss JIRA] (FORGE-2635) Path needs to be properly escaped

George Gastaldi (JIRA) issues at jboss.org
Sat Apr 2 19:56:00 EDT 2016


    [ https://issues.jboss.org/browse/FORGE-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185654#comment-13185654 ] 

George Gastaldi commented on FORGE-2635:
----------------------------------------

[~misterdee],

Thanks for submitting this bug report. This is caused because forge.bat is not escaping the PATH variable properly. 
As you are running in Windows, would you be interested in submitting a fix? This is the file that needs to be changed: https://github.com/forge/core/blob/master/dist/src/main/resources/bin/forge.bat


> Path needs to be properly escaped
> ---------------------------------
>
>                 Key: FORGE-2635
>                 URL: https://issues.jboss.org/browse/FORGE-2635
>             Project: Forge
>          Issue Type: Bug
>          Components: Init Scripts
>    Affects Versions: 3.0.1.Final
>         Environment: Windows 10 x64, MySQL 5.7.11-log MySQL Community Server (GPL)
>            Reporter: John Spencer
>             Fix For: 3.x Future
>
>
> Whenever I start forge I get the following warnings:
> {code:java}
> 'MySQL' is not recognized as an internal or external command,
> operable program or batch file.
> 'MySQL' is not recognized as an internal or external command,
> operable program or batch file.
> Using Forge at C:\Program Files\JForge-3.01\bin\..
>     _____
>    |  ___|__  _ __ __ _  ___
>    | |_ / _ \| `__/ _` |/ _ \  \\
>    |  _| (_) | | | (_| |  __/  //
>    |_|  \___/|_|  \__, |\___|
>                    |__/
> JBoss Forge, version [ 3.0.1.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
> {code}
> MySQL path is defined in PATH enviroment variable like ";C:\Program Files\MySQL\MySQL Server 5.1\bin" and is also recognized by windows when using the command line. I also defined a variable called MySQL just in case forge would use it aswell as MYSQL_HOME without any effect.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list