I'm using 2.0.0.M4 and have defined a job in a file name historicalJob.xml as follows:
In the main spring application context file, I have defined the JobRegistryBeanPostProcessor.
<step name="stepA" tasklet="historicalDownloadTasklet" next="stepB" />
<step name="stepB" reader="historicalReader" writer="historicalWriter" next="stepC" />
<step name="stepC" tasklet="historicalFileProcessedTasklet" />
I load both of these files in a ContextLoaderListener in a web.xml, but the historicalJob does not get registered with the JobRegistry.
Is there something that I am missing in getting the job registered with the JobRegistry?