diff --git a/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.bat b/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.bat index 72ed089a4..90674e45a 100644 --- a/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.bat +++ b/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.bat @@ -5,4 +5,4 @@ IF NOT DEFINED JAVA_HOME ( EXIT /B ) -%JAVA_HOME%\bin\java -cp resources\;lib\* org.springframework.batch.core.launch.support.CommandLineJobRunner classpath:/launch-context.xml personJob +%JAVA_HOME%\bin\java -cp resources\;lib\* org.springframework.batch.core.launch.support.CommandLineJobRunner example.LaunchContext personJob diff --git a/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.sh b/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.sh index fe9e1c8bd..c8c6a723d 100644 --- a/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.sh +++ b/archetypes/simple-cli-javaconfig/src/main/scripts/runJob.sh @@ -5,4 +5,4 @@ if [ "$JAVA_HOME" = "" ]; then exit 1 fi -$JAVA_HOME/bin/java -cp resources/:lib/* org.springframework.batch.core.launch.support.CommandLineJobRunner classpath:/launch-context.xml personJob +$JAVA_HOME/bin/java -cp resources/:lib/* org.springframework.batch.core.launch.support.CommandLineJobRunner example.LaunchContext personJob