Apr 17th, 2010, 04:54 AM
Spring Batch Programs in a JAR
How to run spring batch programs in a JAR(Spring Batch project exported as JAR) from command line and also in AUTOSYS scheduler.
I developed my SpringBatch programs in Eclipse and exported the project into a JAR. (This is my requirement)
Now, when i try to run the sample batch from command line, nothing happens.
java -jar springBatch.jar sampleBatch.xml sampleBatch (First assumed command line job runner entry will be in manifest file)
and also tried
java org.springframework.batch.core.launch.support.Comm andLineJobRunner sampleBatch.xml sampleBatch
Last edited by MaheshRM; Apr 17th, 2010 at 05:35 AM.