On Fri, 7 Nov 2008, Jan Materne <[EMAIL PROTECTED]> wrote:
> I tried to implement a starter so that you can start a task from the
> command line like
> ant -lib JAVAFRONT -main org.apache.ant.javafront.TaskExec echo\
> message "Hallo Welt"
interesting. all you need from JavaFront is the TagBuilder, so it may
better be split out.
> private Project initProject() {
> DefaultLogger logger = new DefaultLogger();
> logger.setOutputPrintStream(System.out);
> logger.setErrorPrintStream(System.err);
>
> I cant find the mistake, but there is no output ...
> Any ideas?
logger.setMessageOutputLevel(Project.MSG_INFO);
DefaultLogger's default level is MSG_ERR so your echo wasn't logging
at a level severe enough to create output.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]