-
Bug
-
Resolution: Done
-
Major
-
8.0.0.Beta1
-
Low
On cygwin is the implementation of the path variables not correct in the script jboss-cli.sh. Right now under cygwin the paths get mixed in POSIX and Windows style. The module path (-mp param) is in POSIX style and the rest of the command is in windows style. So the startup of the org.jboss.as.cli ends up with
org.jboss.modules.ModuleNotFoundException: org.jboss.as.cli:main at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240) at org.jboss.modules.Main.main(Main.java:385)
Right now wildfly 8 beta1 has following implementation:
jboss-cli.sh
# For Cygwin, switch paths to Windows format before running java if $cygwin; then JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` fi
and it should be:
jboss-cli.sh
# For Cygwin, switch paths to Windows format before running java if $cygwin; then JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` JBOSS_MODULEPATH=`cygpath --path --windows "$JBOSS_MODULEPATH"` fi
PS: I searched for similar cli issues in the issue tracker, but couldn't find any issue.