Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4-incubating
-
None
Description
Currently one has to define a lifecycle for batches in the CLI manually.
But some batches do exactly know the lifecylce they need to run with.
So it would be great if they could declare that intent in batchee.properties already.
The decision tree would be
- -lifecycle bla parameter on the CLI
- if not given -> read org.apache.batchee.cli.lifecycle=bla from System.getProperties
- if still not given -> run without Lifecycle
Side note: we cannot use batchee.properties as those are most times just given inside the -archive, e.g a mybatch.war
But this archive is not yet in the ClassPath at this point in time.