Results 1 to 1 of 1

Thread: Spring Batch Programs in a JAR

  1. #1
    Join Date
    Jun 2009
    Posts
    23

    Default 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
  •