Hi-
I found most examples uses maven and the spring batch sample runs from junit/easymock.
in the spring batch getting starts, it says
With Eclipse and without Maven
To launch a job from the command line instead of a unit test use the CommandLineJobRunner.main() method (see Javadocs included in that class).--> what does this mean?
How can I compile and run in eclipse w/o using maven to build the jar and run from junit case?
can spring batch job launched from main() method
public static void main(String[] args) {
ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext .xml", MyClass.class);
}
many thanks.


?
Reply With Quote