ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject Re: <path id=..>, <classpath refid=..> using trouble
Date Tue, 13 Sep 2005 18:51:28 GMT
The time at which ${lib} is resolved is not when you refid it, but
when you id it, i.e. when the control flow of Ant defines the <path>
the first time. This is when the 'lib' property must be defined in
order for your path to be valid.

Ensuring that a property is defined before its first use can be done
many different ways, but the two main ones are defining/loading the
property in the same context before (top-level or within a target), or
by having then in different targets with appropriate dependencies
between them. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message