From a00f675b6ab4f97faed1600e340d58e1ba297bc5 Mon Sep 17 00:00:00 2001 From: dsyer Date: Sat, 19 Jan 2008 17:10:52 +0000 Subject: [PATCH] Complete - task 67: Football job failures . Remove unnecessary extra properties file and launcher - use jobLauncher instead --- .../.settings/footballJob.launch | 13 ------- .../.settings/jobLauncher.launch | 4 +- .../data/footballjob/input/input.properties | 2 - .../src/main/resources/jobs/footballJob.xml | 37 +++++++++++++------ 4 files changed, 27 insertions(+), 29 deletions(-) delete mode 100644 spring-batch-samples/.settings/footballJob.launch delete mode 100644 spring-batch-samples/src/main/resources/data/footballjob/input/input.properties diff --git a/spring-batch-samples/.settings/footballJob.launch b/spring-batch-samples/.settings/footballJob.launch deleted file mode 100644 index e612cd3bd..000000000 --- a/spring-batch-samples/.settings/footballJob.launch +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/spring-batch-samples/.settings/jobLauncher.launch b/spring-batch-samples/.settings/jobLauncher.launch index 9edd2c284..d491336bb 100644 --- a/spring-batch-samples/.settings/jobLauncher.launch +++ b/spring-batch-samples/.settings/jobLauncher.launch @@ -1,7 +1,7 @@ - + @@ -11,5 +11,5 @@ - + diff --git a/spring-batch-samples/src/main/resources/data/footballjob/input/input.properties b/spring-batch-samples/src/main/resources/data/footballjob/input/input.properties deleted file mode 100644 index 7667c2e69..000000000 --- a/spring-batch-samples/src/main/resources/data/footballjob/input/input.properties +++ /dev/null @@ -1,2 +0,0 @@ -games.file.name=games-small.csv -player.file.name=player-small.csv \ No newline at end of file diff --git a/spring-batch-samples/src/main/resources/jobs/footballJob.xml b/spring-batch-samples/src/main/resources/jobs/footballJob.xml index d727f97b7..b98f78e4b 100644 --- a/spring-batch-samples/src/main/resources/jobs/footballJob.xml +++ b/spring-batch-samples/src/main/resources/jobs/footballJob.xml @@ -27,7 +27,8 @@ - + @@ -51,7 +52,8 @@ - + @@ -75,7 +77,8 @@ - + @@ -96,9 +99,11 @@ - - + class="org.springframework.batch.io.file.DefaultFlatFileItemReader" + scope="step"> + + @@ -113,9 +118,11 @@ - - + class="org.springframework.batch.io.file.DefaultFlatFileItemReader" + scope="step"> + + @@ -130,8 +137,9 @@ - + class="org.springframework.batch.io.cursor.JdbcCursorItemReader" + scope="step"> + - + + + games.file.name=games-small.csv + player.file.name=player-small.csv + +