Re: displaying project name before target name in output

2003-01-11 Thread tek1
hi erik. got it working. thank you very much again. have an awesome weekend! :) At 14:41 03/01/10 -0500, you wrote: On Friday, January 10, 2003, at 02:12 PM, tek1 wrote: when i want to use this new logging class, then am i correct to assume that upon each ant execution, i need to

displaying project name before target name in output

2003-01-10 Thread tek1
is there any way to tell ant to display the project name before target name in the output? normally, ant displays as follows (while running): init: clean: build: but is there a way to make it print project-name.target-name as follows (where project-name=myprj)? myprj.init:

Re: displaying project name before target name in output

2003-01-10 Thread Erik Hatcher
You could write a custom BuildLogger implementation that would do this, no problem. Would be fairly easy. Have a look at the DefaultLogger built into Ant for inspiration. Erik On Friday, January 10, 2003, at 12:46 PM, tek1 wrote: is there any way to tell ant to display the project name

Re: displaying project name before target name in output

2003-01-10 Thread tek1
thank you for your reply erik. it looks fairly straight-forward to create a new logger class (i.e. NewLogger) that extends DefaultLogger and overrides the targetStarted(BuildEvent event) method as follows: public void targetStarted(BuildEvent event) { if (Project.MSG_INFO =

Re: displaying project name before target name in output

2003-01-10 Thread Erik Hatcher
On Friday, January 10, 2003, at 02:12 PM, tek1 wrote: when i want to use this new logging class, then am i correct to assume that upon each ant execution, i need to specify it as follows? ant -logger NewLogger target Yes, you need to specify the logger on every ant invocation,