[JBoss JIRA] (FORGE-1600) Support PreStep wizards
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1600:
--------------------------------------
Summary: Support PreStep wizards
Key: FORGE-1600
URL: https://issues.jboss.org/browse/FORGE-1600
Project: Forge
Issue Type: Feature Request
Components: UI - API
Affects Versions: 2.0.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.0.1.Final
Some wizards may require some steps to be executed before running it. The UI Addon should provide this feature out-of-the-box with the {{UICommandTransformer}} feature introduced in FORGE-1570
--
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
12 years, 1 month
[JBoss JIRA] (FORGE-1570) Introduce UICommandTransformer to the UI API
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1570?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1570:
-----------------------------------
Description:
A {{UICommandTransformer provides an extension point for the UI API to allow a UICommand to be modified before executing.
Implementations may, but not limited to:
- add security features to it;
- Add Pre/post steps to a UIWizard
was:
A {{UICommandEnricher}} provides an extension point for the UI API to allow a UICommand to be modified before executing.
Implementations may, but not limited to:
- add security features to it;
- Add Pre/post steps to a UIWizard
> Introduce UICommandTransformer to the UI API
> --------------------------------------------
>
> Key: FORGE-1570
> URL: https://issues.jboss.org/browse/FORGE-1570
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Affects Versions: 2.0.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.0.1.Final
>
>
> A {{UICommandTransformer provides an extension point for the UI API to allow a UICommand to be modified before executing.
> Implementations may, but not limited to:
> - add security features to it;
> - Add Pre/post steps to a UIWizard
--
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
12 years, 1 month
[JBoss JIRA] (FORGE-1570) Introduce UICommandTransformer to the UI API
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1570?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1570:
-----------------------------------
Summary: Introduce UICommandTransformer to the UI API (was: Introduce UICommandEnricher to the UI API)
> Introduce UICommandTransformer to the UI API
> --------------------------------------------
>
> Key: FORGE-1570
> URL: https://issues.jboss.org/browse/FORGE-1570
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Affects Versions: 2.0.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Fix For: 2.0.1.Final
>
>
> A {{UICommandEnricher}} provides an extension point for the UI API to allow a UICommand to be modified before executing.
> Implementations may, but not limited to:
> - add security features to it;
> - Add Pre/post steps to a UIWizard
--
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
12 years, 1 month
[JBoss JIRA] (FORGE-1551) After executing faces-setup command, facesFacet isn't available on project
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1551?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1551.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.1.Final
(was: 2.x Future)
Resolution: Done
Resolved in FORGE-1597
> After executing faces-setup command, facesFacet isn't available on project
> --------------------------------------------------------------------------
>
> Key: FORGE-1551
> URL: https://issues.jboss.org/browse/FORGE-1551
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE APIs
> Affects Versions: 2.0.0.Final
> Environment: Windows 7, JDK 1.7
> Reporter: Rudy De Busscher
> Assignee: George Gastaldi
> Fix For: 2.0.1.Final
>
>
> Create an addon with following execute method
> @Override
> public Result execute(UIExecutionContext context) throws Exception {
> Project project = getSelectedProject(context.getUIContext());
> Iterator<ProjectFacet> facets = project.getFacets().iterator();
> while (facets.hasNext()) {
> System.out.println(facets.next());
> }
> return Results.success("Testing addons.");
> }
> install the addon in Forge 2 (suppose it has the new command test-command)
> when execute following commands in forge 2
> project-new --named demo --type war
> faces-setup --facesVersion 2.2
> test-command
> The facesFacet is not in the list.
--
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
12 years, 1 month
[JBoss JIRA] (FORGE-1597) Optional facets are preventing installation of facets
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1597?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1597.
----------------------------------
Resolution: Done
> Optional facets are preventing installation of facets
> -----------------------------------------------------
>
> Key: FORGE-1597
> URL: https://issues.jboss.org/browse/FORGE-1597
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 2.0.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Priority: Blocker
> Fix For: 2.0.1.Final
>
>
> FacesFacet declares an optional constraint on ServletFacet. FacetFactoryImpl checks if the optional constraint is satisfied in https://github.com/forge/core/blob/master/facets/impl/src/main/java/org/j... , hence not registering the candidate facet.
> This test summarizes the problem (in
> {{org.jboss.forge.addon.javaee.faces.FacesFacetTest}}):
> {code}
> @Test
> public void testFacesFacetInstalledAfterProjectIsEvictedFromCache()
> {
> Project project = projectFactory.createTempProject();
> facetFactory.install(project, FacesFacet_2_2.class);
> Assert.assertTrue("Should have FacesFacet", project.hasFacet(FacesFacet.class));
> Assert.assertTrue("Should have FacesFacet_2_2", project.hasFacet(FacesFacet_2_2.class));
> projectFactory.invalidateCaches();
> project = projectFactory.findProject(project.getRootDirectory());
> Assert.assertTrue("Should have FacesFacet", project.hasFacet(FacesFacet.class));
> Assert.assertTrue("Should have FacesFacet_2_2", project.hasFacet(FacesFacet_2_2.class));
> }
> {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
12 years, 1 month
[JBoss JIRA] (FORGE-1597) Optional facets are preventing installation of facets
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1597?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1597:
-----------------------------------
Status: Open (was: Pull Request Sent)
Git Pull Request: (was: https://github.com/forge/core/pull/390)
> Optional facets are preventing installation of facets
> -----------------------------------------------------
>
> Key: FORGE-1597
> URL: https://issues.jboss.org/browse/FORGE-1597
> Project: Forge
> Issue Type: Bug
> Components: Plugin API
> Affects Versions: 2.0.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Priority: Blocker
> Fix For: 2.0.1.Final
>
>
> FacesFacet declares an optional constraint on ServletFacet. FacetFactoryImpl checks if the optional constraint is satisfied in https://github.com/forge/core/blob/master/facets/impl/src/main/java/org/j... , hence not registering the candidate facet.
> This test summarizes the problem (in
> {{org.jboss.forge.addon.javaee.faces.FacesFacetTest}}):
> {code}
> @Test
> public void testFacesFacetInstalledAfterProjectIsEvictedFromCache()
> {
> Project project = projectFactory.createTempProject();
> facetFactory.install(project, FacesFacet_2_2.class);
> Assert.assertTrue("Should have FacesFacet", project.hasFacet(FacesFacet.class));
> Assert.assertTrue("Should have FacesFacet_2_2", project.hasFacet(FacesFacet_2_2.class));
> projectFactory.invalidateCaches();
> project = projectFactory.findProject(project.getRootDirectory());
> Assert.assertTrue("Should have FacesFacet", project.hasFacet(FacesFacet.class));
> Assert.assertTrue("Should have FacesFacet_2_2", project.hasFacet(FacesFacet_2_2.class));
> }
> {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
12 years, 1 month
[JBoss JIRA] (FORGE-1596) Forge doesn't discover JVM properly on OS X
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1596?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1596:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Assignee: Tair Sabirgaliev
Resolution: Done
Merged, thanks!
> Forge doesn't discover JVM properly on OS X
> -------------------------------------------
>
> Key: FORGE-1596
> URL: https://issues.jboss.org/browse/FORGE-1596
> Project: Forge
> Issue Type: Enhancement
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Environment: OS X / Mavericks, with both java 1.6 and 1.7 installed
> Reporter: Tair Sabirgaliev
> Assignee: Tair Sabirgaliev
> Priority: Trivial
> Fix For: 2.0.1.Final
>
>
> When running a fresh Forge 2.0.0.Final CLI, I observer this:
> {code}
> $ forge
> Using Forge at /Users/tair/forge-distribution-2.0.0.Final
> Error: a Java 1.7 or higher JRE is required to run Forge; found [/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java -version == java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)].
> {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
12 years, 1 month
[JBoss JIRA] (FORGE-1596) Forge doesn't discover JVM properly on OS X
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1596?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1596:
--------------------------------------
Fix Version/s: 2.0.1.Final
> Forge doesn't discover JVM properly on OS X
> -------------------------------------------
>
> Key: FORGE-1596
> URL: https://issues.jboss.org/browse/FORGE-1596
> Project: Forge
> Issue Type: Enhancement
> Components: UI - Shell
> Affects Versions: 2.0.0.Final
> Environment: OS X / Mavericks, with both java 1.6 and 1.7 installed
> Reporter: Tair Sabirgaliev
> Priority: Trivial
> Fix For: 2.0.1.Final
>
>
> When running a fresh Forge 2.0.0.Final CLI, I observer this:
> {code}
> $ forge
> Using Forge at /Users/tair/forge-distribution-2.0.0.Final
> Error: a Java 1.7 or higher JRE is required to run Forge; found [/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java -version == java version "1.6.0_65"
> Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
> Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)].
> {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
12 years, 1 month