-
Apr 17th, 2010, 04:54 AM
#1
Spring Batch Programs in a JAR
Hi,
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
Thanks
Mahesh
Last edited by MaheshRM; Apr 17th, 2010 at 05:35 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules