ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Waugh" <ptwa...@gmail.com>
Subject <if> not working
Date Thu, 13 Nov 2008 12:10:56 GMT
I am doing this:

	<target name="-build" depends="-deps, -init">
		<mkdir dir="${build.dir}" />
		<if>
			<available file="entryGUI.properties"/>
			<then>

in build.xml, and get this error:

/home/patrick/repo/dib/common/build.xml:89: Problem: failed to create
task or type if
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

and line 89 is the <If>.  I don't see an <If> task in Ant docs either.

What is wrong?

Patrick

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


Mime
View raw message