From 326cf8ed836b4b738636e7bcf7073da39897de34 Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Mon, 15 Jul 2013 08:54:28 -0400 Subject: [PATCH] Replace java -jar with run_the_application macro --- README.ftl.md | 9 +-------- README.md | 7 +++---- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.ftl.md b/README.ftl.md index c7ca7433d9..f72ac89238 100644 --- a/README.ftl.md +++ b/README.ftl.md @@ -102,14 +102,7 @@ This example uses a memory-based database (provided by `@EnableBatchProcessing`) ## <@build_an_executable_jar/> - -Run the batch job ------------------ - -Now you can run the job from the JAR as well, and distribute that as an executable artifact: - - $ java -jar target/${project_id}-complete-0.1.0.jar - +<@run_the_application module="batch job"/> The job prints out a line for each person that gets transformed. After the job runs, you can also see the output from querying the database. diff --git a/README.md b/README.md index 41857c3afb..49f3ec3b36 100644 --- a/README.md +++ b/README.md @@ -470,13 +470,12 @@ Now run the following to produce a single executable JAR file containing all nec [maven-shade-plugin]: https://maven.apache.org/plugins/maven-shade-plugin - Run the batch job ------------------ +------------------- +Run your batch job with `java -jar` at the command line: -Now you can run the job from the JAR as well, and distribute that as an executable artifact: + java -jar target/gs-batch-processing-0.1.0.jar - $ java -jar target/gs-batch-processing-complete-0.1.0.jar The job prints out a line for each person that gets transformed. After the job runs, you can also see the output from querying the database.