Re: Using Ant API to retrieve task/target information

2004-06-01 Thread Bnsbr
Hi, I'm mailing only to say that Cristophe isn't alone. I have the same need here, obtain the target "if" and unless conditions, but I do not have a way to do this. I think that adding getters to Target is a great solution. How can we suggest this modification to the API, to get it in the next rel

Re: Using Ant API to retrieve task/target information

2004-06-01 Thread Stefan Bodewig
On Tue, 1 Jun 2004, Christophe Labouisse <[EMAIL PROTECTED]> wrote: > So I'm wondering if using the Ant API as I do to peek into a project > is something which is ok albeit the API is currently lacking a few > things or the API should not be used the way I do? Your approach is fine, I'd say. I'm

RE: Using Ant API to retrieve task/target information

2004-06-01 Thread Christophe Labouisse
Jose Alberto Fernandez said: > Notice that you really cannot rely on the tasks allowing you to peek > at the information inside them. Remember that in principle ANT is a > component > framework and that more and more we spect ANT components to be provided > by third parties. So you cannot count on

RE: Using Ant API to retrieve task/target information

2004-06-01 Thread Jose Alberto Fernandez
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > I think these getters arent there because we havent needed it > :-) Only the target class itself uses these information so > why putting them in? But if there is a need for having > getters outside I don´t see an obstacle while adding the

RE: Using Ant API to retrieve task/target information

2004-06-01 Thread Jan . Materne
I think these getters arent there because we havent needed it :-) Only the target class itself uses these information so why putting them in? But if there is a need for having getters outside I don´t see an obstacle while adding them ... the information are not unofficial ... Do you need more? J