[
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