return ((War) project.task("archive_war")).getArchivePath();
}
});
}
private void configureJettyStop(Project project, final JettyPluginConvention jettyConvention) {
<BUG>JettyStop jettyStop = (JettyStop) project.createTask(GUtil.map("type", JettyStop.class), JETTY_STOP);
jettyStop.getConventionMapping().put("stopPort", new ConventionValue() {</BUG>
public Object getValue(Convention convention, IConventionAware conventionAwareObject) {
return jettyConvention.getStopPort();
}

return ((War) project.task("archive_war")).getArchivePath();
}
});
}
private void configureJettyStop(Project project, final JettyPluginConvention jettyConvention) {
JettyStop jettyStop = (JettyStop) project.createTask(GUtil.map("type", JettyStop.class), JETTY_STOP);
jettyStop.setDescription("Stops Jetty.");
jettyStop.getConventionMapping().put("stopPort", new ConventionValue() {
public Object getValue(Convention convention, IConventionAware conventionAwareObject) {
return jettyConvention.getStopPort();
}
