ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: perhaps silly question RE Project.setProperty()
Date Tue, 26 Sep 2000 06:41:03 GMT
John, your problem is that before Ant 1.2alpha2 ${} expansion is being
performed by the parser, i.e. before your task's execute method has
been called.

Up from Ant 1.2alpha2 your snippet should work. If using Ant 1.1 move
the code from execute to init (this is what <property>, <available>
and others did themselves).

Stefan

Mime
View raw message