ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tek1 <t...@pobox.com>
Subject displaying project name before target name in output
Date Fri, 10 Jan 2003 17:46:15 GMT
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:

myprj.build:



reason being is that i'm calling targets in other build.xml files and when 
the called target executes, there's no way to distinguish which target name 
is associated with which build.xml file.  it is possible to use the echo 
task at the start of each target, but obviously not the optimal way.

thank you.




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message