[jbosstools-issues] [JBoss JIRA] (JBIDE-23275) Rename doesn't change fully qualified name in job.xml file

Lukáš Valach (JIRA) issues at jboss.org
Thu Sep 29 07:27:01 EDT 2016


Lukáš Valach created JBIDE-23275:
------------------------------------

             Summary: Rename doesn't change fully qualified name in job.xml file
                 Key: JBIDE-23275
                 URL: https://issues.jboss.org/browse/JBIDE-23275
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: batch
    Affects Versions: 4.4.2.AM1
         Environment: Fedora 24
            Reporter: Lukáš Valach
         Attachments: BatchRenameManualTest.zip

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
{code:java}
package test;

public class BatchletWithProperty extends AbstractBatchlet {
...
}
{code}
...and job.xml
{code:xml}
<job ...>
    <step id="step1">
        <batchlet ref="test.BatchletWithProperty"> <!-- linked using the fully qualified name -->
            ...
        </batchlet>
    </step>
    ...
</job>
{code}
...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.




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list