Re: Thinking in Ant...

2004-10-07 Thread Stefan Bodewig
On Wed, 6 Oct 2004, Matt Benson <[EMAIL PROTECTED]> wrote: > --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: >> Even if it isn't the right verb, a simple on your source >> fileset would already do if it knew how to append - as would >> with a nested . I'd probably prefer the >> approach since an

Re: Thinking in Ant...

2004-10-06 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: [SNIP] > Even if it isn't the right verb, a simple on > your source > fileset would already do if it knew how to append - > as would > with a nested . I'd probably prefer the > approach > since an appending copy sounds strange. OT: I was thinking

Re: Thinking in Ant...

2004-10-06 Thread Stefan Bodewig
On Tue, 5 Oct 2004, Richard Russell <[EMAIL PROTECTED]> wrote: > You said: "...you want to express yourself in loops while Ant wants > to work on collections." This is most certainly true! But how do I > express what I want to do in this particular case, as an operation > on a collection? Even i

Re: Thinking in Ant...

2004-10-05 Thread Eric Weidner
Richard, If you really need strong scripting support for your builds, perhaps you should consider using Gravy (Groovy + Ant). This will give you all the power of scripting with Groovy and Java and still allow you to utilize all the Ant Task functionality that's already been built. And it's al

Re: Thinking in Ant...

2004-10-05 Thread Richard Russell
--- Ant (or make) is not a general purpose scripting language! Mr. Bourne wrote a pretty good scripting language. Yes, but sh (& friends) are not installed by default on Windows, and hence, scripts written for them aren't portable... In make (which isn't portable, I know), you can basically

Re: Thinking in Ant...

2004-10-05 Thread Peter Reilly
Ant (or make) is not a general purpose scripting language! Mr. Bourne wrote a pretty good scripting language. There are a number of issues with using ant as a scripting language: - there is no pipe like mechanism - the tasks are not ortoginal (concat has different parameters than copy for example)

Re: Thinking in Ant...

2004-10-05 Thread Matt Benson
--- Richard Russell <[EMAIL PROTECTED]> wrote: > I tried using and , but found that I > couldn't do much with > , as it appeared that the only way I could set > the var was with the > task, and I needed to use functionality in > to get > double-redirection. I can't *quite* recall why this > d

Re: Thinking in Ant...

2004-10-05 Thread Matt Benson
--- Richard Russell <[EMAIL PROTECTED]> wrote: > From my reading of the documentation, > doesn't allow nested > s. Yes, I meant "in the future when *I* add the capability to to allow nested s, this will be easy." Sorry for the confusion. :) -Matt _

Re: Thinking in Ant...

2004-10-05 Thread Richard Russell
10/04/2004 09:16 PM Please respond to "Ant Users List" To: Ant Users List <[EMAIL PROTECTED]> cc: Subject:Re: Thinking in Ant... As a matter of curiosity, whenever a nested element gets added to , a builtin solution will exist to the given pr

Re: Thinking in Ant...

2004-10-05 Thread Richard Russell
ssell Deutsche Bank AG London Global Markets Customer Solutions Office: +44 (0)20 7545 8060 Mobile: +44 (0)79 0661 2237 Stefan Bodewig <[EMAIL PROTECTED]> 10/04/2004 09:11 PM Please respond to "Ant Users List" To: [EMAIL PROTECTED] cc: Subject:

Re: Thinking in Ant...

2004-10-04 Thread Matt Benson
sell > <[EMAIL PROTECTED]> wrote: > > > I run into these issues so regularly that I cannot > help but assume > > that I am simply not 'thinking in Ant', and am > therefore fighting > > against its design rather than working with it. > > Sounds like it.

Re: Thinking in Ant...

2004-10-04 Thread Stefan Bodewig
On Mon, 4 Oct 2004, Richard Russell <[EMAIL PROTECTED]> wrote: > I run into these issues so regularly that I cannot help but assume > that I am simply not 'thinking in Ant', and am therefore fighting > against its design rather than working with it. Sounds like it. One

Re: Thinking in Ant...

2004-10-04 Thread Wascally Wabbit
problems getting along with Ant. I keep wanting to do things that it appears that Ant can't do, despite trying to use what I would consider fairly basic constructs. I run into these issues so regularly that I cannot help but assume that I am simply not 'thinking in Ant', and am

Re: Thinking in Ant...

2004-10-04 Thread Richard Russell
We are presently locked in to Ant, and moving away from it, while it would be a big job technically, would be a monumental job politically. We also require the Windows/Unix portability, and installing Cygwin is not an option, so shell scripts won't work for us. I haven't really looked into the

Re: Thinking in Ant...

2004-10-04 Thread Jeffrey Bacon
g to use what I would consider fairly basic constructs. I run into these issues so regularly that I cannot help but assume that I am simply not 'thinking in Ant', and am therefore fighting against its design rather than working with it. I occasionally come across snippets of documenta

Thinking in Ant...

2004-10-04 Thread Richard Russell
I would consider fairly basic constructs. I run into these issues so regularly that I cannot help but assume that I am simply not 'thinking in Ant', and am therefore fighting against its design rather than working with it. I occasionally come across snippets of documentation that seem to