ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shorn Tolley" <shorn_tol...@hotmail.com>
Subject Re: How do I get rid of the "Compile failed..." message from Ant when the javac task reports erros?
Date Sun, 02 Jun 2002 00:01:20 GMT
Hi Diane,

I got halfway through doing the same kind of thing, then I realised that it
wasn't DefaultLogger's problem.

Now my approach is that I will just make the javac task not provide a
location with the BuildException that it throws, then the logger shouldn't
output the location, which means that the error message will still print,
minus the location info, which means the IDE regular expressions won't see
it as an error message.

I think it's a cleaner solution.

Unfortunately, I was just about to do it, then I got the sh*ts with IDEA and
switched back to NetBeans.  Now I'm having trouble building Ant from
NetBeans.
(the 'available' task that is supposed to _not_ set the
jakarta.regexp.present property so that the
org.apache.tools.ant.util.regexp.JakartaRegexpMatcher.java  file gets
excluded from the javac task is picking up the regexp package from the
NetBeans classpath, *sigh*)

Sorry for the run-on sentences, its 1am. :)

Shorn.

----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Sunday, June 02, 2002 12:41 AM
Subject: Re: How do I get rid of the "Compile failed..." message from Ant
when the javac task reports erros?


> I have it check the error string, and if it contains "Compile failed",
> skip all the rest of the output; otherwise, output everything as usual.
> Seems to work fine (not exhaustively tested, but hand-tested enough to
> make me pretty sure it's fine). If anyone would like it, let me know.
>
> Diane


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


Mime
View raw message