]
Lincoln Baxter III closed FORGE-781.
------------------------------------
Assignee: Lincoln Baxter III
Fix Version/s: (was: 1.x Future)
Resolution: Unresolved
Closing since it's been quite some time and the reporter has not replied.
forge install-plugin command fails with cygwin
-----------------------------------------------
Key: FORGE-781
URL:
https://issues.jboss.org/browse/FORGE-781
Project: Forge
Issue Type: Bug
Components: Init Scripts, Windows
Affects Versions: 1.1.2.Final, 1.1.3.Final, 1.2.0.Final
Environment: cygwin
Reporter: Andreas Karalus
Assignee: Lincoln Baxter III
@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
{code}
roots:
D:\Programme\forge-distribution-1.2.0.Final\modules,C:\cygwin\home\297646\.forge\plugins,D:\workspaces\forge-jbossas-quickstart\
{code}
The .forge folder is installed under: C:\Users\297646\.forge\plugin (even if forge was
called from cygwin first time).
{code}
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 $
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: