ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <stephane.baill...@haht.com>
Subject RE: Error output for IOException for Javac
Date Mon, 15 Jul 2002 15:20:55 GMT
> -----Original Message-----
> From: Diane Holt [mailto:holtdl@yahoo.com]
> 
> > > That's all they got -- so I was trying to figure out why.
> > 
> > -verbose or -debug ?
> 
> Neither. Is one of those required?
> 

AFAIK you won't have the stacktrace but only the message if not at least in
verbose mode.

DefaultLogger:

           if (Project.MSG_VERBOSE <= msgOutputLevel ||
                !(error instanceof BuildException)) {
                message.append(StringUtils.getStackTrace(error));
            } else {
                if (error instanceof BuildException) {
                    message.append(error.toString()).append(lSep);
                } else {
                    message.append(error.getMessage()).append(lSep);
                }
            }

--
Stephane Bailliez
Software Engineer, Paris - France
HAHT - http://www.haht.com

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message