ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain.Rouvoy" <Romain.Rou...@lifl.fr>
Subject Conditionnal Task
Date Tue, 05 Mar 2002 14:15:13 GMT
Hi !

I'm converting a Makefile to a build.xml file in order to use Ant but I
encounter a little problem ! :)
(Is there any tools to perform it ? :) ... )

I want to to use different tasks depending on the value of a specific
property
So for Example when the value of the property is "VisiBroker"
I' want to execute the specific target "compile" and in the other cases
I want to use a default target named "compile"

We can execute a task if a property is set or not but I don't know how
to test the property's value !

I'm sure you understand what I mean ! :)

Thanks !

Romain



--
R. Rouvoy
------------------------------
Romain ROUVOY
USTL Lille 1




--
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