]
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:
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.