Re: How to redirect javac task errors to a separate file

2004-02-12 Thread Matt Benson
--- Peter Reilly <[EMAIL PROTECTED]> wrote: > FYI > ant outputs System.out at "INFO" level and > System.err at "WARN" level. ...hence my comment below about temporarily changing System.err to an ERROR level logstream (as opposed to WARN). Thanks Peter and Conor for explicitly stating what I forgo

RE: -buildfile http://myorg.org/mydir/build.xml

2004-02-12 Thread Jan . Materne
The important part of the coding is } else if (arg.equals("-buildfile") || arg.equals("-file") || arg.equals("-f")) { try { --> buildFile = new File(args[i + 1].replace('/', File.separatorChar)); i++; where you

-buildfile http://myorg.org/mydir/build.xml

2004-02-12 Thread Robert Onslow
Hi everyone There was talk in the archive of being able to pick up a build file from a url i.e. ant -buildfile http://myorg/mydir/build.xml Does anyone know if this came to be supported, or when it might be supported. Robert ***

Re: How to redirect javac task errors to a separate file

2004-02-12 Thread Conor MacNeill
On Thu, 12 Feb 2004 09:09:18 -0500, Digambar, Shaligram (Consultant) <[EMAIL PROTECTED]> wrote: Had ANT logged system.err at different level than system.out it would have been easier to redirect the error output to a separate file and generate better build reports. If its tricky as you've menti

Re: How to redirect javac task errors to a separate file

2004-02-12 Thread Peter Reilly
FYI ant outputs System.out at "INFO" level and System.err at "WARN" level. This can be shown as follows: redirect.xml: import sys sys.stdout.write("stdout\n") sys.stderr.write("stderr\n") ant -f redirect.xml -logger org.apache.tools.ant.XmlLogger However to support

RE: How to redirect javac task errors to a separate file

2004-02-12 Thread Jan . Materne
On the Wiki [1] I wrote how the change the locale during a build. Maybe you can do that with STDOUT/STDERR, too. A look into the sources of showed that no redirection is supported (maybe that would forgotten in the manual :-) Jan [1] http://nagoya.apache.org/wiki/apachewiki.cgi?AntOddities