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
. 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]
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
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
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
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]
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
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
-
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:
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
10 matches
Mail list logo