Sync task documentation for includeEmptyDirs

2006-12-14 Thread Joel Klein
Is it just me, or is the Sync task documentation wrong when it says the includeEmptyDirs attribute defaults to true? I'm using Ant 1.6.5 and I just had to explicitly set includeEmptyDirs="true" in order for sync to copy empty directories. -- Joel [Online at http://

Re: Suppressing outputted lines labels for ant task

2006-12-14 Thread Jeremy Kie
ant -emacs On 12/14/06, Bogdan Tudor <[EMAIL PROTECTED]> wrote: Is there a way to get rid of the labels that appear on every outputted line when ant is running a task? For instance I have an ant task that looks like this:

Suppressing outputted lines labels for ant task

2006-12-14 Thread Bogdan Tudor
Is there a way to get rid of the labels that appear on every outputted line when ant is running a task? For instance I have an ant task that looks like this: When I run it the output looks like this: run-client: [java

RE: Ant error reporting issue when using XML log output through exec call

2006-12-14 Thread Robert Segal
Dominique thanks very much for the reply. This is working great so far! This is the syntax of my command now... Hopefully that will help others with a similar problem. Thanks again for the reply Dominique. -Original Message- From: Dominique De

Replace Question

2006-12-14 Thread Fenlason, Josh
I want to add a line to a file, but only if the file doesn't already contain that line. I can add the line fine, but I can't figure out how to do it conditionally. Is this possible? Here's what I have so far. Any suggestions would be greatly appreciated. Thanks in advance.

Re: Ant error reporting issue when using XML log output through exec call

2006-12-14 Thread Dominique Devienne
.bat files are unreliable. You should , running Ant's launcher class, who is the class that interprets the Ant arguments and starts the whole thing. Then you'll get proper error codes. Examples can be found in the archives. --DD -