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"
<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. :)

Please sign in to leave a comment.