ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: JavaFront + running a task from command line
Date Fri, 07 Nov 2008 15:25:23 GMT
>> 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.

Maybe next week. Splitting JavaFront in three parts
- tagbuilder library
- task executor
- java based buildfiles


>>         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.


Thanks. I should had a look at THAT source too ...


Jan

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


Mime
View raw message