ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <zod...@holoweb.net>
Subject Re: Requiring multiple properties to be set
Date Mon, 19 Nov 2001 20:10:30 GMT
Oh, right, yeah; that'd work.  I just didn't go far enough with my
original decomposition! :=)

Thanks,

L.

On Mon, 2001-11-19 at 03:26, Nico Seessle wrote:
> ----- Original Message ----- 
> From: "Laurie Harper" <zodiac@holoweb.net>
> To: <zulq@alam.demon.co.uk>
> Cc: "'Ant Users List'" <ant-user@jakarta.apache.org>
> Sent: Monday, November 19, 2001 7:51 AM
> Subject: RE: Requiring multiple properties to be set
> 
> 
> > No, unfortunately; I have a single task that requires all three
> > properties to be set.  It can't be broken into three seperate tasks
> > because the properties supply command line arguments to an external
> > script.
> > 
> 
> And what about 
> 
> <target name="test1" unless="p1">
>   <fail message="Property p1 must be defined"/>
> </target>
> <target name="test2" unless="p2"/>
>   <fail message="Property p2 must be defined"/>
> </target>
> <target name="test3" unless="p3"/>
>   <fail message="Property p3 must be defined"/>
> </target>
> <target name="mainTarget" depends="test1, test2, test3"/>
> 
> Nico
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
-- 
zodiac(@)holoweb!net  | "If that's too much initiative for the company
to
ICQ# 78724820         |  handle, I don't want to work for them anyway."



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