ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCallum <gho...@xtra.co.nz>
Subject Re: Enhance existing task or add a new one ?
Date Wed, 07 Mar 2001 07:28:38 GMT
Needed the same functionality of fail.
Have already coded it up.

Will submit a patch tomorrow mailed it home from work but did not seem to arrive.

About 9NZDT = 8pm UTC.

On Monday 05 March 2001 23:48, Nico Seessle wrote:
} ----- Original Message -----
} From: "Bert Vermeerbergen" <Bert.Vermeerbergen@yucom.be>
} To: <ant-dev@jakarta.apache.org>
} Sent: Monday, March 05, 2001 10:39 PM
} Subject: Enhance existing task or add a new one ?
}
}
} > I see three options, my question is which one to select:
} >
} I see a fourth:
}
} 4) Add if/unless-attributes to the fail-task. Then you could write your
} build.xml in one target
}    <available property="mylogger" classname="mylogger.Logger" />
}    <fail message="Required 'mylogger' not found" unless="mylogger"/>
} and one could use this task to validate that properties are set in other
} places (for example using -D on the command-line)
}

Mime
View raw message