On Apr 5, 2004, at 6:46 PM, [EMAIL PROTECTED] wrote:
Can you provide an example?

No, sorry. Adding a condition inside a .bat - check the Microsoft docs for that info. The docs for the MailLogger properties are in the Ant manual.




-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 3:15 PM
To: Ant Users List
Subject: Re: Maillogger question

Since you're using a custom .bat to launch Ant, why not make it a
conditional feature of your .bat script?

You could disable sending success and failure messages by setting the
appropriate flags, though - see the docs for details.

Erik

On Apr 5, 2004, at 5:47 PM, [EMAIL PROTECTED] wrote:


A)call ej.bat -Denv"="DEV -Dinstance"="default -Dsvc"="all ej.bat--> ReleaseMgt.bat -Dmodule"="eai_java

     Releasemgt.bat---> ant -logger
org.apache.tools.ant.listener.MailLogger
-Dprop.file=ReleaseMgt.properties -buildfile ReleaseMgt.xml .....
B)call ej.bat clean-tmps
C)call ej.bat tmp-src-checkout
D)call ej.bat tmp-proj-checkout

I want to unset the logger after executing statement A. I don't want
to log emails for each statement. Is there a way to switch off the
logger.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 05, 2004 10:40 AM
To: Ant Users List
Subject: Re: Copy task overwrite inserting 0x0d carriage return?

Matt Benson wrote:

--- Jack Woehr <[EMAIL PROTECTED]> wrote:
Switched to 1.6.1 on our project ... Copy with overwrite now seems
to be inserting carriage
returns:

     0000000   #   !   /   b   i   n   /   b   a   s
  h  \r  \n


Can you provide more context?

Actually what appears to have happened is that Ant 1.5.x was *removing* CR's from files copied with overwrite. So a file that a $&*(ing Windoze machine had strewn with CR's was being *repaired* by Ant until we switched to 1.6.1. Problem solved in source tree. Have I described a change in Ant's behavior between 1.5 and 1.6 correctly? If so, I should write some Manual text and submit it.

--
Jack J. Woehr # "[F]ar in the empty sky a solitary esophagus
slept
http://www.well.com/~jax # upon motionless wing; everywhere brooded
stillness, http://www.softwoehr.com # serenity, and the peace of
God." - Mark Twain





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to