ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srikrishna.Par...@wellsfargo.com
Subject RE: Maillogger question
Date Mon, 05 Apr 2004 22:46:29 GMT
Can you provide an example?
 

-----Original Message-----
From: Erik Hatcher [mailto:erik@ehatchersolutions.com] 
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, Srikrishna.Partha@wellsfargo.com 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: jax@purematrix.com [mailto:jax@purematrix.com]
> 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 <jax@purematrix.com> 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: user-unsubscribe@ant.apache.org For additional 
> commands, e-mail: user-help@ant.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
> commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message