Commit Graph

2728 Commits

Author SHA1 Message Date
dhgarrette
eb4991efe7 RESOLVED - BATCH-1066: StepParser updated to throw error if 'next' attribute and transition elements are both found. 2009-02-07 00:05:43 +00:00
dhgarrette
dfb78ff0ca BATCH-1011:
* Moved logic for updating JobExecution status based on last StepExecution from AbstractJob to SimpleJob because it does not apply to FlowJob.
  * A job now can have a status different from any of its steps.  For example, the following job will be COMPLETED while the step will be FAILED:
    <step id="failingStep">
       <end on="FAILED" /> 
    </step>
* Added error checking to StepParser to make sure the same pattern does not appear more than once.
* Modified EndState.handle() so that the ExitStatus is only updated if BatchStatus is updated.
  * If a job contains a <split> such that there is more than one EndState reached, the Job's status will be the highest precedence of all the statuses.  For example, the following job will be FAILED:
    <split id="split1">
      <flow>
        <step name="failingStep"/>
      </flow>
      <flow>
        <step name="step1"/>
      </flow>
    </split>
* If a step has no transitions defined, then the default will be:
    <fail on="FAILED" />
    <end on="*" />
2009-02-06 23:13:21 +00:00
dsyer
50acf7c670 BATCH-998: Tweak plugin config so that PDF generation works 2009-02-06 09:50:55 +00:00
dhgarrette
36f44c6ba7 BATCH-1011: Added test cases for default "status" attribute 2009-02-06 08:30:35 +00:00
dhgarrette
6e750b312d BATCH-1011: Added more conditions to unit tests (though some assertions are temporarily commented out because the status is not being set correctly by the end state). Also, fixed a bug in StepParser where the "on" attribute of the transition away from the end state was being set to the "on" attribute of the end state when it should have been "*". 2009-02-06 04:34:56 +00:00
dhgarrette
4fd2cfc2db RESOLVED - BATCH-1061: reversed arguments to isLater() 2009-02-05 23:53:01 +00:00
dhgarrette
cae54225a8 BATCH-1011:
spring-batch-2.0.xsd:
   * Renamed <stop/> to <pause/>
   * Added <fail/>
   
  StepParser.java
   * Added capabilities to parse <pause/> and <fail/>
   * Changed the semantics of the status= attribute so that it modifies the ExitStatus instead of BatchStatus.
   * BatchStatus is determined by the element (end, fail, pause)
   
  EndState.java
   * Added storage for ExitStatus in addition to the existing BatchStatus since both will need to be saved from the parser
2009-02-05 20:42:31 +00:00
dsyer
447b1f0fbc BATCH-63: add more XSD meta data 2009-02-05 11:38:49 +00:00
dsyer
994f108303 Add more tooling support 2009-02-05 09:31:58 +00:00
dsyer
ef4dba7590 RESOLVED - issue BATCH-1058: PlaceholderTargetSource doesn't always replace all placeholders 2009-02-05 09:02:01 +00:00
dsyer
ed60703fdf More tooling tweaks for namespace 2009-02-05 07:50:23 +00:00
dhgarrette
9a112e2203 BATCH-1056:
common-patterns.xml:
   *Replaced reference to RepeatOperationsStepFactoryBean with a valid configuration.
   *Rewrote "Adding a Footer Record" to discuss FlatFileFooterCallback

  job.xml: 
   *Fixed error in the way JobParameters are defined for the CommandLineJobLauncher.
2009-02-04 18:47:59 +00:00
dhgarrette
a9d1ac3018 BATCH-1056: minor fixes 2009-02-04 16:50:44 +00:00
dsyer
747517384b Generated manifest added to SVN 2009-02-04 16:27:55 +00:00
dsyer
35eea84747 Re-order parserContext calls to makes sure IDE gets info about source location 2009-02-04 16:27:02 +00:00
dsyer
5826cbb713 BATCH-1059: use milliseconds in date job parameter toString() 2009-02-04 16:26:08 +00:00
dsyer
cf875e0a38 Tidy up IDE callbacks in xml config 2009-02-04 15:50:31 +00:00
dhgarrette
8e56304eb4 BATCH-1056: fixed errors 2009-02-03 23:14:51 +00:00
dhgarrette
7487b4dfd2 BATCH-1053: Modified so that AbstractJob.getStep() returns null if the step is not found and Flow.getState() returns null if the state is not found. Javadocs and unit tests were updated to reflect this change. 2009-02-03 18:08:32 +00:00
dhgarrette
b09e1ece01 BATCH-1053: Updated javadocs to explain the behavior of getStep and getState if the step/state is not found. 2009-02-03 16:22:08 +00:00
dhgarrette
b4fcc457c5 BATCH-1057: removed references to AbstractItemWriter 2009-02-03 14:55:56 +00:00
dhgarrette
6b16b86eb4 BATCH-1056: fixed a few errors 2009-02-03 04:55:05 +00:00
dhgarrette
a3779fe8dc BATCH-1056: Fixed numerous errors 2009-02-03 02:46:17 +00:00
dhgarrette
c5e5b73407 BATCH-1055: added section on filtering 2009-02-02 22:02:36 +00:00
dsyer
cd372b164b Added missing imports 2009-02-02 18:40:30 +00:00
dsyer
0c2b443255 add explicit versions 2009-02-02 18:32:48 +00:00
dsyer
bf4c78d409 line endings? 2009-02-02 18:05:06 +00:00
dhgarrette
4317b95f41 BATCH-1052: Moved section on SystemCommandTasklet to common-patterns.xml 2009-02-02 17:51:26 +00:00
dhgarrette
c317015d58 BATCH-1051: Created section in Common Patterns to explain how to handle multi-line records 2009-02-02 17:47:13 +00:00
dsyer
d352b0b182 fix build by re-orging bundlor config 2009-02-02 16:14:30 +00:00
dsyer
b4bd6dd9dd fix bundlor templates in archetype 2009-02-02 15:52:04 +00:00
dsyer
c29895586b RESOLVED - issue BATCH-1054: Maven Build - incompatible bundle manifest version
http://jira.springframework.org/browse/BATCH-1054
2009-02-02 15:16:14 +00:00
dhgarrette
ee11f65556 BATCH-1053: Moved getStep() logic from AbstractJobTests to Job implementations. Added getStep(String) to AbstractJob. Added getState(String) to Flow. 2009-02-02 15:04:20 +00:00
dhgarrette
0edb22e4b8 BATCH-1025: Removed empty package 2009-02-02 01:59:59 +00:00
dhgarrette
8102f98528 BATCH-1045: Removing empty folders 2009-02-02 01:37:40 +00:00
dhgarrette
0633d4522d RESOLVED - BATCH-1048: Added site directory to src 2009-02-01 22:55:46 +00:00
dsyer
b4a97d060f Add snapshots to BRITS plugin repositories 2009-02-01 13:27:51 +00:00
dsyer
603b63a340 remove duplicate profile 2009-02-01 11:33:41 +00:00
dsyer
b22c2bd44e Update MANIFEST.MF in bundle projects 2009-02-01 11:33:21 +00:00
dsyer
f47e8382d2 RESOLVED BATCH-1030: Added BatchStatus.INCOMPLETE. 2009-02-01 09:56:22 +00:00
robokaso
a6767ebdf5 updated my email and added Dan to developers list 2009-01-31 22:16:33 +00:00
lucasward
7d07ed59fc BATCH-1042: Added 'What's new in 2.0' chapter after introduction. 2009-01-31 00:22:09 +00:00
dhgarrette
5878002a79 RESOLVED - BATCH-1049: added compile scope to spring-test 2009-01-30 20:17:41 +00:00
lucasward
1d96b6616d BATCH-1040: Crossreferencing between chapters has been added, where appropriate. 2009-01-30 18:29:29 +00:00
trisberg
e315cae049 fixed html-escaping 2009-01-30 16:32:07 +00:00
dsyer
455d131c5d tweak profiels 2009-01-30 14:09:28 +00:00
dsyer
4f49b5816a Tweak javadocs 2009-01-30 09:17:49 +00:00
dsyer
0e1d23cdfb re-org poms for easier build / deploy 2009-01-30 08:36:56 +00:00
lucasward
2882420737 Spelling and grammar corrections to the docs. 2009-01-29 22:38:25 +00:00
trisberg
cd3117e1d9 BATCH-1039: created release notes and updated site docs with new versions 2009-01-29 19:20:27 +00:00