[forge-issues] [JBoss JIRA] (FORGE-781) forge install-plugin command fails with cygwin

Andreas Karalus (JIRA) jira-events at lists.jboss.org
Tue Feb 12 10:38:56 EST 2013


Andreas Karalus created FORGE-781:
-------------------------------------

             Summary: forge install-plugin command fails with cygwin 
                 Key: FORGE-781
                 URL: https://issues.jboss.org/browse/FORGE-781
             Project: Forge
          Issue Type: Story
    Affects Versions: 1.2.0.Final, 1.1.3.Final, 1.1.2.Final
         Environment: cygwin
            Reporter: Andreas Karalus


@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


The .forge folder is installed under: C:\Users\297646\.forge\plugin (even if  called from cygwin).

{code}
297646 at 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: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list