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: myprj.clean

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,

RE: reference on project name

2002-05-23 Thread Maciej Zawadzki
To: [EMAIL PROTECTED] Subject: reference on project name Hi, is there a chance to reference to a projectname project name=foo inside the buildfile? Meaning i dont want to code an extra property app.name, but use the project attribute instead inside my build file. -- To unsubscribe, e-mail

RE: [junit] What is the property for the project name?

2001-07-31 Thread ROBERT . WORTH
: Robert Worth/CHASE@CHASE Subject: RE: [junit] What is the property for the project name? Robert Worth wrote: How do I do this? What should I put instead of ${project.name} ? Sorry if this is in the docs, I have scoured them but can't find the answer. (I know that if you put ${basedir

RE: [junit] What is the property for the project name?

2001-07-30 Thread Robert Watkins
Robert Worth wrote: How do I do this? What should I put instead of ${project.name} ? Sorry if this is in the docs, I have scoured them but can't find the answer. (I know that if you put ${basedir} it give what you want. project name=myproject default=echoprojectname basedir

Setting the project name

2001-07-12 Thread Kyle Adams
I've found postings in the archive about accessing the project name within a script, and about setting the project name dynamically using include files. But is there a way to set the project name to a variable passed in from the command line? Kyle

Re: Setting the project name

2001-07-12 Thread Diane Holt
--- Kyle Adams [EMAIL PROTECTED] wrote: I've found postings in the archive about accessing the project name within a script, and about setting the project name dynamically using include files. But is there a way to set the project name to a variable passed in from the command line? Looks

newbie - project name

2001-05-04 Thread Bill . J . Fellows
Hello, I didn't find this in the archive but is there a way to pull out the project name? echo message=${project.name} / doesn't seem to cut the mustard. Just curious, /bill

Re: newbie - project name

2001-05-04 Thread Peter Donald
At 04:03 4/5/01 -0500, [EMAIL PROTECTED] wrote: Hello, I didn't find this in the archive but is there a way to pull out the project name? echo message=${project.name} / doesn't seem to cut the mustard. I think it is ant.project.name ;) Cheers, Pete

project name

2001-02-13 Thread Frank Chang
Title: project name Can you reference the project name as a property in Ant? project name=abc default=all .. // get 'abc.properties' ? property file=${???}.properties/ ... /project Thanks in advance.

RE: project name

2001-02-13 Thread Jeff Davies
name Can you reference the project name as a property in Ant? project name="abc" default="all" .. // get 'abc.properties' ? property file="${???}.properties"/ ... /project Thanks in advance.

RE: Project name

2000-12-22 Thread Dennis Brake
This didn't work for me. What version are you using? -Original Message- From: Nico Seessle [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 21, 2000 5:38 PM To: [EMAIL PROTECTED] Subject: Re: Project name - Original Message - From: "Jeff Davies" [EMAIL

Re: Project name

2000-12-22 Thread Nico Seessle
- Original Message - From: "Dennis Brake" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 22, 2000 2:01 PM Subject: RE: Project name This didn't work for me. What version are you using? Maybe this way added after the 1.2-release. You might try one of the nigh

Project name

2000-12-21 Thread Dennis Brake
I would like to use the project name in some of my tasks (e.g. as the name of a jar file) For example, project name="Neo" default="compile" basedir="." property name="project.name"value="Neo"/ property name="project.out