ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Siri <as...@printcafe.com>
Subject Wildcards in the file attribute for the available task
Date Wed, 10 Jul 2002 19:23:52 GMT
Are wildcards/regexps permitted and respected for the file attribute in the
Available tag?

Specifically, I'm trying to do something like the following to wait for a
bit to make sure all of the jboss messages have been processed (the snippet
is part of a unit test target):

<waitfor maxwait="10" maxwaitunit="minute" checkevery="60"
checkeveryunit="second">
	<not>
		<available file="ID*" type="file">
			<filepath>
				<dirset dir="O:/jboss/db/jbossmq"
casesensitive="false"/>
			</filepath>
		</available>
	</not>
</waitfor>

Will this work?  I tried running ant -verbose and the output seemed to
indicate that the file="ID*" wasn't being expanded.

Any ideas?

BTW: I'm using 1.5b3

-Aaron

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message