Ant tool property identification weakness

I believe the following situation is a weakness of property identification in the ant tool in IDEA 5.1.1. If I define a property using loadfile the ant tool will not recognize the property as having been defined. For example:

<loadfile srcfile="$/../buildnum.txt"
property="buildnum">
]]>
<echo level="info" message="buildnum $"/>

The buildnum reference in the echo element will be highlighted red as if the property has not been defined. Since ANT properties are immutable I can safely hack around by adding

after ]]>

but this leaves a bad taste. :)

1 comment
Comment actions Permalink

I believe you could submit an issue to JIRA regarding this point.

0

Please sign in to leave a comment.