On Wed, 17 Apr 2002 21:44, stephan beal wrote:
>
> Does this way of adding attributes only work with tasks? If so, how can i
> add an attribute to the Project object such that it can be set via XML?
>
Yep, it only works on tasks (and data-type). If you want to add stuff to
<project>, you'll need to venture into ProjectHelper and friends.
Why don't you grab the try-catch task from ant-contrib instead?
--
Adam
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|