Re: Pass build failure message to the calling script

2015-03-25 Thread Al Le
ava code ... import org.apache.commons.io.IOUtils; public class MyClass {} -Ursprüngliche Nachricht- Von: Al Le [mailto:al...@gmx.de] Gesendet: Mittwoch, 25. März 2015 10:40 An: user@ant.apac

AW: RE: Pass build failure message to the calling script

2015-03-25 Thread RZF, SG 481
-Ursprüngliche Nachricht- Von: Al Le [mailto:al...@gmx.de] Gesendet: Mittwoch, 25. März 2015 10:40 An: user@ant.apache.org Betreff: Aw: RE: Pass build failure message to the calling script > > Is it possible without parsing the output of Ant? If yes, how? > > output="out

Aw: RE: Pass build failure message to the calling script

2015-03-25 Thread Al Le
> > Is it possible without parsing the output of Ant? If yes, how? > > output="output.html" But doesn't it essentially mean parsing the build output -- something I'd like to avoid? I rather thought about Ant setting some kind of an environment variable when it exits. I.e. I'd specify some optio

RE: Pass build failure message to the calling script

2015-03-24 Thread Martin Gainty
__ > From: al...@gmx.de > To: user@ant.apache.org > Subject: Pass build failure message to the calling script > Date: Tue, 24 Mar 2015 23:31:00 +0100 > > Hello, > > I call Ant (execute a build) from a .bat script (under Windows). If the build > fails, I'd

Pass build failure message to the calling script

2015-03-24 Thread Al Le
Hello, I call Ant (execute a build) from a .bat script (under Windows). If the build fails, I'd like not only to detect that it failed (this is possible via ERRORLEVEL) but also get the failure message (at least its first line if the message contains multiple lines). Is it possible without par