[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 updated FORGE-1551:
-----------------------------------
Fix Version/s: 2.x Future
> 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
> Fix For: 2.x Future
>
>
> 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
10 years, 4 months
[JBoss JIRA] (FORGE-1551) After executing faces-setup command, facesFacet isn't available on project
by Rudy De Busscher (JIRA)
[ https://issues.jboss.org/browse/FORGE-1551?page=com.atlassian.jira.plugin... ]
Rudy De Busscher commented on FORGE-1551:
-----------------------------------------
using projectFactory.invalidateCaches() doesn't help. (suggestion of George in the forum)
> 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
>
> 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
10 years, 4 months
[JBoss JIRA] (FORGE-1551) After executing faces-setup command, facesFacet isn't available on project
by Rudy De Busscher (JIRA)
Rudy De Busscher created FORGE-1551:
---------------------------------------
Summary: 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
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
10 years, 4 months