-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
1.1.2.Final, 1.1.3.Final, 1.2.0.Final
-
None
@See: https://community.jboss.org/message/797250
forge install-plugin <plugin> command fails if it is called from cygwin.
I tried this with different forge versions (1.1.2, 1.1.3, 1.2.0) and different plugins (jboss-as-7, richfaces)
I think the problem relies in the path resolution for loading modules with cygwin. This path ist not present: C:\cygwin\home\297646\.forge\plugins
roots: D:\Programme\forge-distribution-1.2.0.Final\modules,C:\cygwin\home\297646\.forge\plugins,D:\workspaces\forge-jbossas-quickstart\
The .forge folder is installed under: C:\Users\297646\.forge\plugin (even if forge was called from cygwin first time).
297646@TB01448C ~/workspaces/forge-jbossas-quickstart # forge Failed loading: org.richfaces.forge.richfaces-forge-plugin:1.0.5.Final:1.0.0-SNAPSHOT-d292c53d-b7ad-41b8-800e-8c2b4ea1475b org.jboss.modules.ModuleNotFoundException: Module org.richfaces.forge.richfaces-forge-plugin:1.0.0-SNAPSHOT-d292c53d-b7ad-41b8-800e-8c2b4ea1475b is not found in local module loader @2fcac6db (roots: D:\Programme\forge-distribution-1.2.0.Final\modules,C:\cygwin\home\297646\.forge\plugins,D:\workspaces\forge-jbossas-quickstart\.) at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126) at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275) at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222) at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94) at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:204) at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:254) at org.jboss.forge.shell.Bootstrap.access$200(Bootstrap.java:38) at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:125) at java.lang.Thread.run(Thread.java:662) _____ | ___|__ _ __ __ _ ___ | |_ / _ \| `__/ _` |/ _ \ \\ | _| (_) | | | (_| | __/ // |_| \___/|_| \__, |\___| |___/ JBoss Forge, version [ 1.2.0.Final ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] [jboss-as-quickstarts-parent] forge-jbossas-quickstart $