Re: Counting lines in a file

2006-05-11 Thread Rich Wagner
Is there any good way to count how many lines in a file there is? You could also write a simple, custom Task to do this; see the online Ant manual for guidance... -- Rich Wagner

, but for paths...

2006-02-15 Thread Rich Wagner
. that it may find itself on a "headless" computer. But in that case this proposed variation would resort to a stdout/stdout-based prompting...) Thanks in advance, Rich Wagner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: test for directory existence

2006-02-15 Thread Rich Wagner
Hope this helps, Rich Wagner Martin Gainty wrote: Good Morning All- How do you test for the existence of a folder before del or mkdir operation Has something to with

Simple (?) question about ""

2005-05-20 Thread Rich Wagner
de' element." OK, but can anyone tell me how to write what I want? Essentially, set the ZIP_FILE_EXISTS property if there's at least one match to "${DIR}/*.zip", though NOT counting "${DIR}/not_this_one.zip"... Thanks in advance, Rich Wagner

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread Rich Wagner
ould potentially then help to create instances of my custom tasks in buildfiles... Just a thought... -- Rich Wagner P.S. Speaking of per-task help... If your GUI doesn't already, it might be nice for it to provide a help feature that -- given a task name -- launches a browser and disp

Is there a way to echo tasks as they are executed ?

2004-11-17 Thread Rich Wagner
es into sub-buildfiles, just as the "-verbose" option does... Thanks in advance, Rich Wagner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: dependent target names - one per line?

2004-11-08 Thread Rich Wagner
This works for me: -- Rich Wagner Jon Jagger wrote: Suppose I have a target naming two or more dependent targets. ... is there any way to name the dependent target names other than in a comma separate list? I'd prefer it if I could somehow name them one per line. Thanks Jon J

Way for buildfile to verify that Ant version is 1.5.2 or greater ?

2004-10-21 Thread Rich Wagner
d should NOT fail if the ant version is 1.6.1. Is there an easier way to get what I want than (say) writing my own custom task to parse "ant.version" and compare the major, minor, etc. version numbers ? Thanks in advance, Rich Wagner -

Re: just not getting it

2003-08-14 Thread Rich Wagner
encourage people to take the time to learn about Ant features. I recently switched from using "make" to Ant, and I think Ant is far better... Hope this helps, Rich Wagner From: Conor MacNeill <[EMAIL PROTECTED]> Reply-To: "Ant Users List" <[EMAIL PROTECTED]> To:

's "jvm" attribute should imply "fork=true"...

2003-06-06 Thread Rich Wagner
quot;. So an IMPLICIT default value for one attribute overrode my EXPLICIT value for the "jvm" attribute ?!? Hmmm, pretty questionable behavior for the task, no ? Thoughts ? Should I try to convince the Ant developers that this qualifies as a bug that should be fixed ? Thanks