ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Fisher" <jfis...@proxtend.com>
Subject Get task name
Date Thu, 10 May 2001 14:04:08 GMT
I want to get the name of the current task and use it in my task

for example
	<target name="XtendTree" depends="info">
		<echo message="Getting XtendTree to ${BuildDir}"/>
		<mkdir dir="${BuildDir}\XtendTree"/>
		...
	</target>

I want to replace the line
		<mkdir dir="${BuildDir}\XtendTree"/>
with something like
		<mkdir dir="${BuildDir}\${this task name}"/>



Joe Fisher, Software Developer
Xtend Inc.
http://www.xtendsoft.com
voice  801.825.5553 ext 309
fax    801.825.5606
e-mail jfisher@proxtend.com
s-mail 1645 East Hwy 193, Suite 202
       Layton, Ut 84041
 

Mime
View raw message