Not I. Sorry. -Matt --- On Tue, 4/21/09, Eric Fetzer <[email protected]> wrote:
> From: Eric Fetzer <[email protected]> > Subject: Re: MailLogger > To: "Ant Users List" <[email protected]> > Date: Tuesday, April 21, 2009, 2:47 PM > So that works great on my local > machine (ant 1.7.1). However, when I put the same exact > entries on my build machine (ant 1.7.0), I get: > > MailLogger failed to send e-mail! > java.io.IOException: Unexpected reply to command: > HELO buildmachine: 451 4.7.0 Time > out waiting for client input > at > org.apache.tools.mail.MailMessage.send(MailMessage.java:445) > at > org.apache.tools.mail.MailMessage.sendHelo(MailMessage.java:411) > at > org.apache.tools.mail.MailMessage.<init>(MailMessage.java:176) > at > org.apache.tools.ant.listener.MailLogger.sendMail(MailLogger.java:202 > ) > at > org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.jav > a:136) > at > org.apache.tools.ant.Project.fireBuildFinished(Project.java:2008) > at > org.apache.tools.ant.Main.runBuild(Main.java:718) > at > org.apache.tools.ant.Main.startAnt(Main.java:199) > at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) > at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) > > Seen this before? > > Thanks Again, > Eric > > > > ________________________________ > From: Matt Benson <[email protected]> > To: Ant Users List <[email protected]> > Sent: Tuesday, April 21, 2009 11:48:07 AM > Subject: Re: MailLogger > > > Quite sorry--use ANT_ARGS. I always forget--OPTS is for > JVM options; ARGS is for Ant itself. :) > > -Matt > > --- On Tue, 4/21/09, Eric Fetzer <[email protected]> > wrote: > > > From: Eric Fetzer <[email protected]> > > Subject: Re: MailLogger > > To: "Ant Users List" <[email protected]> > > Date: Tuesday, April 21, 2009, 12:00 PM > > When I run the commandline: > > > > >ant -f buildfail.xml > > -logger org.apache.tools.ant.listener.MailLogger > > > > It fails and I get an email. However, when I add > the > > environment variable: > > > > ANT_OPTS with the value > > -logger org.apache.tools.ant.listener.MailLogger > > > > I get: > > > > C:\TestAnt>ant -f buildfail.xml > > Unrecognized option: -logger > > Could not create the Java virtual machine. > > > > Any help? > > > > Thanks, > > Eric > > > > > > ________________________________ > > From: Matt Benson <[email protected]> > > To: Ant Users List <[email protected]> > > Sent: Monday, April 20, 2009 9:09:49 AM > > Subject: Re: MailLogger > > > > > > Yes and no. You can add whatever parameters you need > to > > the ANT_OPTS environment variable on your system, and > that > > will be automatically appended to the command line > presuming > > you're using the bundled invocation scripts > (ant/Unix, > > ant.bat/Windows...). > > > > HTH, > > Matt > > > > --- On Mon, 4/20/09, Eric Fetzer <[email protected]> > > wrote: > > > > > From: Eric Fetzer <[email protected]> > > > Subject: MailLogger > > > To: "Ant Users" <[email protected]> > > > Date: Monday, April 20, 2009, 10:04 AM > > > Sorry, newb question. Is there a > > > way to tell a build to use MailLogger without > adding > > it to > > > the command line? > > > > > > i.e.: >ant -logger > > > org.apache.tools.ant.listener.MailLogger > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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]
