Created
June 12, 2015 17:08
-
-
Save agoncal/e494ef338df530b86f61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public Result execute(UIExecutionContext context) throws Exception | |
{ | |
Project project = getSelectedProject(context); | |
WildflySwarmConfigurationBuilder builder = WildflySwarmConfigurationBuilder.create(); | |
builder.contextPath(contextPath.getValue()).httpPort(httpPort.getValue()).portOffset(portOffset.getValue()); | |
facet.setConfiguration(builder); | |
facetFactory.install(project, facet); | |
return Results.success("Wildfly Swarm is now set up! Enjoy!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment