[copy] Infinite loop in tokens. Currently known tokens :
--------------------------------------------------------
Key: IVY-1020
URL: https://issues.apache.org/jira/browse/IVY-1020
Project: Ivy
Issue Type: Bug
Components: Ant, Core
Environment: Win XP Professional, J2SDK 1.4.2_14, apache-ant 1.7.1
Reporter: Patrick
Priority: Blocker
This issue is happening when I try to run the sample below.
For some reason, when we have the same tag being replace twice or more times,
for a given property, this does not work properly:
Follow a verbose message example:
[copy] Copying C:\FileWithTagToReplace.properties to
C:\Temp\FileWithTagToReplace.properties
Replacing: @iis.host@ -> XXXX.apache.com
Replacing: @iis.port@ -> 80
Replacing: @iis.short.host@ -> XXXX
[copy] Infinite loop in tokens. Currently known tokens :
[singlesignon.trustedservers, iis.host, iis.port, iis.short.host]
[copy] Problem token : @iis.port@ called from @iis.short.host@
Follow a sample:
build.xml:
<filter filtersfile="dev.properties" />
<copy todir="${dir.1}" overwrite="true" filtering="true">
<fileset dir="${build.path}/Web/"
includes="FileWithTagToReplace.properties">
<modified update="true"
seldirs="true"
cache="propertyfile"
algorithm="digest"
comparator="equal">
<param name="cache.cachefile" value="cache.properties"/>
<param name="algorithm.algorithm" value="MD5" />
</modified>
</fileset>
</copy>
dev.properties
iis.host=XXXX.apache.com
iis.short.host=XXXX
iis.port=80
[email protected]@\\:@iis.port@,@iis.short.h...@\\:@iis.port@
FileWithTagToReplace.properties
[email protected]@
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.