From a72995f708680a2d24d483a96677442d1206dfec Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 28 Oct 2023 11:47:13 -0700 Subject: [PATCH] Minor cleanup --- .../java/com/example/demo/DemoApplicationBuild.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java b/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java index a141f1c..8f1e5d7 100644 --- a/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java +++ b/examples/src/bld/java/com/example/demo/DemoApplicationBuild.java @@ -56,15 +56,20 @@ public class DemoApplicationBuild extends WebProject { .execute(); } + @BuildCommand(summary = "Create an executable WAR for the project") + public void bootwar() throws Exception { + new BootWarOperation() + .fromProject(this) + .execute(); + } + @BuildCommand(summary = "Creates an executable JAR for the project") public void uberjar() throws Exception { bootjar(); } - @BuildCommand(summary = "Creates WAR for the project") + @BuildCommand(summary = "Create an executable WAR for the project") public void war() throws Exception { - new BootWarOperation() - .fromProject(this) - .execute(); + bootwar(); } } \ No newline at end of file