java - How to migrate from 2.0.0.RC2 spring batch version to 2.0.4? -
i have migrate project 2.0.0.rc2 version 2.0.4. problem xsd of 2.0.4 different 2.0.0.rc2. means none of job configuration going work.
job configuration in 2.0.0 rc2
<batch:job id="taskletcomponenttestjob"> <batch:step id="tasklettestcomponent" tasklet="taskletfortestcomponent"> <batch:listeners> <batch:listener ref="customstepexecutionlistener" /> </batch:listeners> </batch:step> <batch:listeners> <batch:listener ref="customjobexecutionlistener" /> </batch:listeners> </batch:job>
job configuration in 2.0.4 be
<batch:job id="taskletcomponenttestjob1"> <batch:step id="tasklettestcomponent" > <batch:tasklet ref="taskletfortestcomponent"> </batch:tasklet> </batch:step> <batch:listeners> <batch:listener ref="customjobexecutionlistener" /> </batch:listeners> </batch:job>
is there utility existing job configuration become compatible 2.0.4? also, after changing configuration face further problem ?
is there utility existing job configuration become compatible 2.0.4?
i doubt it. if have large number of these files need converted, write little perl script, or xslt script automate task.
also, after changing configuration face further problem ?
quite possibly, yes.
it surprise me spring batch developers changed schema late in development cycle. , entitled miffed ... imo. that's risk take when develop code based on "release candidate".
Comments
Post a Comment