title: Spring Batch same stepnames in multiple jobs?
body: <p>I'm pretty confused by naming conventions of Spring Batch using spring-batch 2.1.8.RELEASE. </p>
  
  <p><strong>the main problem:</strong>  </p>
  
  <p>2 different Jobs, but with the same step inside (which will get different properties), which name isn't unique. If i try to run one of the jobs, for example job1. Then it gets the value "file2" for prop2, even it's defined for job2. (<em>only a abstraction example with not that much details of stepamount, listeners, etc..</em>) Can't figure out any regularity or reason for that process.</p>
  
  <pre><code>&lt;batch:job id="job1" parent="parentJob"&gt;
      &lt;batch:step id="copyFile"&gt;
          &lt;batch:tasklet&gt;
              &lt;bean class="xxx.xyz.classXXX"
                  scope="step"&gt;
                  &lt;property name="prop1"
                      value="file1" /&gt;
              &lt;/bean&gt;
          &lt;/batch:tasklet&gt;
      &lt;/batch:step&gt;
  &lt;/batch&gt;
  </code></pre>
  
  <p>Each job is defined in a own file. </p>
  
  <pre><code>&lt;batch:job id="job2" parent="parentJob"&gt;
      &lt;batch:step id="copyFile"&gt;
          &lt;batch:tasklet&gt;
              &lt;bean class="xxx.xyz.classXXX"
                  scope="step"&gt;
                  &lt;property name="prop2"
                      value="file2" /&gt;
              &lt;/bean&gt;
          &lt;/batch:tasklet&gt;
      &lt;/batch:step&gt;
  &lt;/batch&gt;
  </code></pre>
  
  <p>We got about 80 jobs - each of them has the copyFile as first step. But there also steps in the middle of every job, which should be named equally. Is there any possibility, to avoid those injection-confusions/failures? Beside naming steps like "copyFile1", "copyFile2" and so on..</p>
  
  <p>(names and properties are nothing but smoke and mirrors!)</p>
  
  <p>Do you need any further information? Hope my explanation isn't too bad. Thank you in advance!</p>
  
  <p>Cheers max. </p>