ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimitris Mouchritsas <>
Subject Re: AW: Checking for and properties upon initialization
Date Wed, 21 May 2008 16:00:38 GMT
Knuplesch, Juergen wrote:
> Use the <if> task from antcontrib, which makes things easier.  
Hmm, ok I've made it work But what I really want to know is:
How can I check if a set of properties exists?
My thoughts were to load a sample properties file like:

    <loadproperties srcFile="" />
    <loadproperties srcFile="" />

but I can't get to comparing that has all of the set.
Is there another way or should I start looking into writing my own task?

What I'd like to accomplish is checking if exists 
(which loadproperties ensures) and
then check to see if a set of properties is set. If a property is 
missing I'd like to display a message with
the name of the property missing.

What are your thoughts?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message