You get this with ant 1.6.*.
This behavior is kept in ant 1.7.*, but now you will get the message:
Warning: Reference junit.classpath has not been set at runtime, but
was found during
build file parsing, attempting to resolve. Future versions of Ant may support
referencing ids defined in non-exec
Hello,
I use antcontribs "if" and have the following strange effect:
If I define a refid in antfile-passage, that is never reached (using if, else)
ant then
Try to access the refid it has the value that ist set in the not reached code!
Is this correct behaviour?
My Antfile looks like:
dope.fi