You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by KB Sriram <kb...@skytalk.com> on 1999/12/06 17:13:53 UTC

Ant behaviour on duplicate targets

[To add to the chorus about the broken build, doesn't adding xereces.jar
to ant's classpath dependencies ripple to updating all of jakarta's
scripts that use ant?]

I noticed that ant's build.xml has multiple "dist" targets, and was
wondering what the intended behaviour ought to be. Should it
 1. Flag an error.
 2. Merge the tasks and dependencies in some fashion.

My preference is for #1.

At this point ant's behaviour is just surprising, it uses only the last
targets tasks.
-kb-


Re: Ant behaviour on duplicate targets

Posted by Stefano Mazzocchi <st...@apache.org>.
jon * wrote:
> 
> on 12/6/99 11:27 AM, KB Sriram <kb...@skytalk.com> wrote:
> 
> > [ Option #1: "flag an error",
> 
> I vote #1...

Me too.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche



Re: Ant behaviour on duplicate targets

Posted by James Duncan Davidson <ja...@eng.sun.com>.
> > [ Option #1: "flag an error",
> 
> I vote #1...

+1

.duncan


Re: Ant behaviour on duplicate targets

Posted by jon * <jo...@clearink.com>.
on 12/6/99 11:27 AM, KB Sriram <kb...@skytalk.com> wrote:

> [ Option #1: "flag an error",

I vote #1...

-jon


RE: Ant behaviour on duplicate targets

Posted by KB Sriram <kb...@skytalk.com>.
No problem :-) I was actually looking for opinions on option #1 or #2 before
submitting a patch,

-kb-
[ Option #1: "flag an error", Option #2: "merge target tasks/dependencies" ]

-----Original Message-----
From: jon * [mailto:jon@clearink.com]
Sent: Monday, December 06, 1999 10:46 AM
To: tomcat-dev@jakarta.apache.org
Subject: Re: Ant behaviour on duplicate targets


on 12/6/99 8:13 AM, KB Sriram <kb...@skytalk.com> wrote:

> At this point ant's behaviour is just surprising

Then help us fix it.

-jon


Re: Ant behaviour on duplicate targets

Posted by jon * <jo...@clearink.com>.
on 12/6/99 8:13 AM, KB Sriram <kb...@skytalk.com> wrote:

> At this point ant's behaviour is just surprising

Then help us fix it.

-jon