Skip to content

Instantly share code, notes, and snippets.

@agoncal
Created June 12, 2015 17:08
Show Gist options
  • Save agoncal/e494ef338df530b86f61 to your computer and use it in GitHub Desktop.
Save agoncal/e494ef338df530b86f61 to your computer and use it in GitHub Desktop.
@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