ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: why no workie: adding attributes to Project
Date Wed, 17 Apr 2002 13:33:23 GMT
Well, your custom BuildListener/Logger could do anything you want, really.
I've never seen it used to launch another target when a build failed, and I
would suspect there would be some issues with doing this and would not
recommend it. But you could certainly launch another Ant build file from
there or make it as configurable as you wanted.

Its certainly not quite the same as what you were getting at, but try/catch
or the logger/listener approach is much better than tweaking with Project,
which is a change you will have to maintain yourself forever and would not
become part of the core Ant 1.x codebase.

    Erik

----- Original Message -----
From: "stephan beal" <stephan@wanderinghorse.net>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>; "Erik Hatcher"
<jakarta-ant@ehatchersolutions.com>
Sent: Wednesday, April 17, 2002 8:10 AM
Subject: Re: why no workie: adding attributes to Project


> On Wednesday 17 April 2002 14:06, Erik Hatcher wrote:
> > Why not use a BuildListener/Logger???
> >
> > You sure do like to do things the hard way!  :)
>
> Sometimes it's the only way to learn. :/ Besides, this approach offers a
way i
> can configure via xml, and i don't think the listener will do that?
>
> ----- stephan
> Generic Unix Computer Guy
> stephan@einsurance.de - http://www.einsurance.de
> Office: +49 (89)  552 92 862 Handy:  +49 (179) 211 97 67
> "As death comes, without our looking for it, so should be life."
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message