Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23275

Rename doesn't change fully qualified name in job.xml file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.30.x
    • 4.4.2.AM1
    • batch
    • None
    • Hide
      1. Import BatchRenameManualTest.zip project
      2. Check job.xml - there is no validation error
      3. Rename BatchletWithProperty class
      4. Check job.xml - there is validation error, because reference was not changed
      Show
      Import BatchRenameManualTest.zip project Check job.xml - there is no validation error Rename BatchletWithProperty class Check job.xml - there is validation error, because reference was not changed
    • -

      Refactoring doesn't modify job.xml when I renaming class which is referred in job.xml using the fully qualified name.

      For example, when I have batchlet class

      package test;
      
      public class BatchletWithProperty extends AbstractBatchlet {
      ...
      }
      

      ...and job.xml

      <job ...>
          <step id="step1">
              <batchlet ref="test.BatchletWithProperty"> <!-- linked using the fully qualified name -->
                  ...
              </batchlet>
          </step>
          ...
      </job>
      

      ...then, when I try to rename test.BatchletWithProperty the refactoring doesn't change fully qualified name in job.xml.

      Renaming works properly when I refer to class using name coming from @Named annotation.

            Unassigned Unassigned
            lvalach_jira Lukáš Valach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: