Skip to content

Commit

Permalink
Refined the messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetReynolds committed Nov 14, 2013
1 parent 681f81b commit 5665c31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ protected void setupWebXML()
{
WebResourcesFacet web = this.origin.getFacet(WebResourcesFacet.class);
// TODO: Refactor this and remove the duplication
// TODO: origin.getFacet(ServletFacet.class) returns null!!
if (this.origin.hasFacet(ServletFacet_3_0.class))
{
ServletFacet servlet = this.origin.getFacet(ServletFacet_3_0.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void validate(UIValidationContext validator)
public Metadata getMetadata(UIContext context)
{
return Metadata.from(super.getMetadata(context), getClass()).name("Scaffold: Setup")
.description("Setups the scaffold")
.description("Setup the scaffold")
.category(Categories.create("Scaffold", "Setup"));
}

Expand All @@ -112,7 +112,7 @@ public Result execute(UIContext context) throws Exception
{
ScaffoldProvider selectedProvider = provider.getValue();
selectedProvider.setup(getSelectedProject(context), createScaffoldContext());
return Results.success();
return Results.success("Scaffold was setup successfully.");
}

@Override
Expand Down

0 comments on commit 5665c31

Please sign in to comment.