|
|
|
|
|
|
|
|
|
Re: Update Resource for Checkstyle rule changes [message #1780202 is a reply to message #1780194] |
Thu, 18 January 2018 15:15 |
Yashu Liang Messages: 7 Registered: November 2017 |
Junior Member |
|
|
Thanks for your reply.
I have a file called internal_config_1511778113952.xml and with only one line "123" as content.
And I have the below tasks configured:
<setupTask
xsi:type="setup:TextModifyTask"
id="settoaaaa"
excludedTriggers="BOOTSTRAP"
successor="settobbbb"
url="${workspace.location|uri}/.metadata/.plugins/net.sf.eclipsecs.core/internal_config_1511778113952.xml"
encoding="UTF-8">
<modification
pattern="(.*)">
<substitution>aaaa</substitution>
</modification>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
id="settobbbb"
excludedTriggers="BOOTSTRAP"
predecessor="settoaaaa"
url="${workspace.location|uri}/.metadata/.plugins/net.sf.eclipsecs.core/internal_config_1511778113952.xml"
encoding="UTF-8">
<modification
pattern="(.*)">
<substitution>bbbb</substitution>
</modification>
</setupTask>
I am expecting the file to be changed:
1. from 123 to aaaa because of the 1st task
2. then changed from aaaa to bbbb because of the 2nd task
But actually in the end, the file turned out to be 2 lines of "bbbbbbbb", like this:
bbbbbbbb
bbbbbbbb
Could you help me understanding this? Thanks again.
[Updated on: Thu, 18 January 2018 15:25] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04699 seconds