ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: javac output when using ant?
Date Thu, 25 Mar 2010 05:30:53 GMT
I got another idea. Maybe  you already have the javac output but thought it was some of Ant.
If you output is 
  prepare:
    [echo]  preparation
  compile:
    [echo]  compiling
    [javac] ....
    [echo]  finished

All javac's output is redirected to Ants logging and you'll see it prefixed with [javac].

Could you post that part of your output and specify what you expect to see?


Jan

> -----Ursprüngliche Nachricht-----
> Von: David Weintraub [mailto:qazwart@gmail.com] 
> Gesendet: Mittwoch, 24. März 2010 19:18
> An: Ant Users List
> Betreff: Re: AW: javac output when using ant?
> 
> On Wed, Mar 24, 2010 at 10:26 AM, litarena 
> <patrick_mackeown@msn.com> wrote:
> >
> > Thanks for the suggestion, but -d isn't giving me the java 
> compiler error.
> > ant's output advises:
> >
> > There was an error while running line 143 of build.xml see 
> java compiler
> > output for details.
> 
> Hmmm... I use Java and Ant, and I get the full error printing out when
> I run ant. You might want to look at your settings of your <javac>
> task and make sure you aren't killing the output somehow.
> 
> Are you watching the screen and seeing the errors, but the errors
> aren't in your log? In that case, Ant might be sending the errors to
> STDERR instead of STDOUT.
> 
> If you have a Unix box, you need to do the following:
> 
>     $ ant > logfile.txt 2>&1
> 
> That will put both STDERR and STDOUT into the file logfile.txt.
> 
> If you are on Windows, you need to do the following:
> 
> C:\> ant >& logfile.txt
> 
> 
> -- 
> David Weintraub
> qazwart@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message