ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: <IF> <ELSE> Task
Date Tue, 08 Apr 2003 19:29:28 GMT
On Tuesday, April 8, 2003, at 11:52  AM, Jeremy Nix wrote:
> Yeah, that's something that I can work with.  What happened to the 
> logic tag (test)?

There never was a logic tag called <test>.  Their is an Ant task called 
<test> for a completely different (deprecated) purpose:

	http://ant.apache.org/manual/OptionalTasks/test.html

If you need if/else capability, look at the ant-contrib project at 
Sourceforge, but I think if you simply need to load a different set of 
properties based on an Ant property you can get by with this:

	<property file="${client}.properties"/>

And let 'client' swap appropriately.

	Erik


Mime
View raw message