Hi,

I'm using a org.springframework.batch.core.launch.support.RunI dIncrementer to be able to rerun a job with the same parameters using "-next". So I launch my batch with

Code:
java -cp "./*" org.springframework.batch.core.launch.support.CommandLineJobRunner myBatch.xml myBatch -next mandatoryParameter="test"
In this configuration, the org.springframework.batch.core.job.DefaultJobParam etersValidator on my job is bypassed whenever there is a failed launch : instead of complaining of a missing parameter, it retrieves the value of the last failed execution (but still increments id).

Of course, if I don't use "-next" the parameters are validated, and an Exception is thrown, as expected.

Is this a bug or by design ? Is there a way to tweak this behavior without rewriting my own Runner ?