[JBoss JIRA] (FORGE-791) Forge auto complete in windows doesn't display command until after I forge again
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-791?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-791:
----------------------------------
Component/s: Usability
Windows
> Forge auto complete in windows doesn't display command until after I forge again
> --------------------------------------------------------------------------------
>
> Key: FORGE-791
> URL: https://issues.jboss.org/browse/FORGE-791
> Project: Forge
> Issue Type: Bug
> Components: Usability, Windows
> Reporter: John Ament
> Fix For: 1.x Future
>
>
> If I attempt to type in "sp" then tab, the screen fills with some blanks, then tells me the command was not filled in properly. So it identified the command I wanted, but didn't show it on the screen.
> [ooph] ooph $ sp ^C
> spartajs.io
> ***ERROR*** [spartajs.io] Missing command for plugin [spartajs.io], available commands: [addRestResource, addJackson, remove, setup, add, javascriptModel]
> [ooph] ooph $
> [ooph] ooph $ forge
> _____
> | ___|__ _ __ __ _ ___
> | |_ / _ \| `__/ _` |/ _ \ \\
> | _| (_) | | | (_| | __/ //
> |_| \___/|_| \__, |\___|
> |___/
> JBoss Forge, version [ 1.2.1.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
> After hitting forge again it does auto complete properly.
--
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
11 years
[JBoss JIRA] (FORGE-848) Forge should support a @CommandScoped annotation
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-848?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-848:
----------------------------------
Component/s: Container
> Forge should support a @CommandScoped annotation
> ------------------------------------------------
>
> Key: FORGE-848
> URL: https://issues.jboss.org/browse/FORGE-848
> Project: Forge
> Issue Type: Feature Request
> Components: Container
> Reporter: Vineet Reynolds
> Fix For: 1.x Future
>
>
> Forge should support a {{@CommandScoped}} just like the {{@ProjectScoped}} annotation. {{@CommandScoped}} objects would have a shorter lifetime since their lifecycle would be constrained to the execution of a command. This is equivalent to {{@RequestScoped}} instances, so we could renamed {{@CommandScoped}} to {{@RequestScoped}} if appropriate.
> Options passed to the Forge plugins could be made available via this scope. Not a binding requirement, since ambiguous dependencies could be encountered when injecting into managed beans.
--
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
11 years
[JBoss JIRA] (FORGE-848) Forge should support a @CommandScoped annotation
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-848?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-848:
----------------------------------
Component/s: Plugin API
> Forge should support a @CommandScoped annotation
> ------------------------------------------------
>
> Key: FORGE-848
> URL: https://issues.jboss.org/browse/FORGE-848
> Project: Forge
> Issue Type: Feature Request
> Components: Container, Plugin API
> Reporter: Vineet Reynolds
> Fix For: 1.x Future
>
>
> Forge should support a {{@CommandScoped}} just like the {{@ProjectScoped}} annotation. {{@CommandScoped}} objects would have a shorter lifetime since their lifecycle would be constrained to the execution of a command. This is equivalent to {{@RequestScoped}} instances, so we could renamed {{@CommandScoped}} to {{@RequestScoped}} if appropriate.
> Options passed to the Forge plugins could be made available via this scope. Not a binding requirement, since ambiguous dependencies could be encountered when injecting into managed beans.
--
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
11 years
[JBoss JIRA] (FORGE-781) forge install-plugin command fails with cygwin
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-781?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-781:
----------------------------------
Component/s: Init Scripts
> 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
> Affects Versions: 1.1.2.Final, 1.1.3.Final, 1.2.0.Final
> Environment: cygwin
> Reporter: Andreas Karalus
> Fix For: 1.x Future
>
>
> @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: http://www.atlassian.com/software/jira
11 years
[JBoss JIRA] (FORGE-875) the `scaffold setup --scaffoldType faces; ` command. failed to create beans.xml
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-875?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-875:
----------------------------------
Component/s: Scaffold
UI - Eclipse
> the `scaffold setup --scaffoldType faces;` command. failed to create beans.xml
> ------------------------------------------------------------------------------
>
> Key: FORGE-875
> URL: https://issues.jboss.org/browse/FORGE-875
> Project: Forge
> Issue Type: Bug
> Components: Scaffold, UI - Eclipse
> Affects Versions: 1.2.2.Final
> Environment: Mac: OS X 10.8.3, 2.66 GHz Intel Core i7, 4GG 1067 MHz DDR3
> Running Forge Console in JBoss Developers Studio version 6.1.0.GA, Deploying to JBoss EAP 6.0.1
> Reporter: Randy Thomas
> Assignee: Koen Aers
> Priority: Critical
> Labels: forge
> Fix For: 1.x Future
>
>
> I generated a sample project using the generate.fsh script. I deployed the war file to EAP 6 and everything seemed to be working fine.
> The welcome page comes up for the app with no problems. However, an error is generated upon the attempt to add data to the database.
> I was able to resolve the problem by adding the following lines to the script:
> @/* Add beans.xml for CDI */;
> touch src/main/webapp/WEB-INF/beans.xml
> Lincoln indicated that this should have already been done by the
> `scaffold setup --scaffoldType faces;` command.
--
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
11 years
[JBoss JIRA] (FORGE-779) Class parameters are not correctly loaded for the consuming addon's classloader
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-779?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-779:
----------------------------------
Component/s: Container
> Class parameters are not correctly loaded for the consuming addon's classloader
> -------------------------------------------------------------------------------
>
> Key: FORGE-779
> URL: https://issues.jboss.org/browse/FORGE-779
> Project: Forge
> Issue Type: Bug
> Components: Container
> Reporter: George Gastaldi
> Assignee: Lincoln Baxter III
> Priority: Critical
> Fix For: 2.x Future
>
>
> Having the following scenario:
> Eclipse plugin -> calls ConverterFactory -> passes Resource.class as a parameter
> {code:java}
> ConverterFactory.getConverter(File.class, Resource.class)
> {code}
> in ResourceConverterGenerator (resources addon):
> {code:java}
> @Override
> public boolean handles(Class<?> source, Class<?> target)
> {
> return Resource.class.isAssignableFrom(target);
> }
> {code}
> Returns false, because the classloader that loaded the Resource class is the Eclipse classloader, not the Resource addon classloader AND Resource.class is not visible in the convert addon.
--
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
11 years