Announcement Announcement Module
Collapse
No announcement yet.
Configure as a project for spring batch code sample Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configure as a project for spring batch code sample

    Hi
    i'm a newbie here.Currently i'm reading pro spring batch by Michael T Minnela.I'm stuck at 2nd chapter where he tries to configure all sample code from Spring batch code sample.I've also done Git repo,cloning it into local disk.See the screenshot.Attachment .Here i actually get lost.I can't run them by run as or any other means that i have known.After googling i have found that i have import as general project so it is not working.Now how can i able to run/configure it so that i can debug it?Please provide me step by step process to achieve this.
    Thanks
    Prajit
    Attached Files

  • #2
    I was a bit lost at start too. For sb samples , it uses maven goal (ant plugin exec at bottom iirr) in the pom .

    Comment


    • #3
      Originally posted by romu31 View Post
      I was a bit lost at start too. For sb samples , it uses maven goal (ant plugin exec at bottom iirr) in the pom .
      So how do i configure it?One by one or by some plugin or by editing pom.xml/settings?
      How you configured it?please guide me.I've seen all those samples but All learning and no coding makes me a dull dev.So help me.

      Comment


      • #4
        Originally posted by SageGandhi View Post
        So how do i configure it?One by one or by some plugin or by editing pom.xml/settings?
        How you configured it?please guide me.I've seen all those samples but All learning and no coding makes me a dull dev.So help me.
        I used Spring Tool suite (Eclipse customized ) but you should be fine with Eclispe.

        I imported Spring batch samples and then I compiled (mvn clean install) .

        To launch a job , I create a maven debug/run configuration with exec:java filled in the goal field.

        good luck

        ps : i downloaded the zip file for samples

        Comment

        Working...
        X