]
Ondrej Dockal updated JBIDE-23275:
----------------------------------
Priority: Major (was: Minor)
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
Fix For: 4.5.x
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.