Re: Pass build failure message to the calling script

2015-03-25 Thread Al Le
Thank you for the hint! That would be probably the simplest solution. There seems to be no solution without parsing some kind of file. Am 25.03.2015 um 11:53 schrieb Matèrne, Jan (RZF, SG 481): Not sure if this would fit your needs: - write a custome build logger and store the required informa

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

2015-03-25 Thread RZF, SG 481
Not sure if this would fit your needs: - write a custome build logger and store the required information in a new file - check the content of that file Jan package org.apache.ant; import org.apache.tools.ant.*; import java.io.*; public class ResultBuildLogger extends DefaultLogger { publi

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