ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam....@cyberspaceroad.com>
Subject task description attribute
Date Sun, 14 Dec 2003 13:42:56 GMT
I must have the wrong idea about the description attr. - I had a task:

   <target name="init" depends="common-init"
      description="sets up appserver properties & classpath">

and I want to change it to the following so that I can have as many 
lines of description as I wish.

   <target name="init" depends="common-init">
     <description>
       Sets up the appserver properties and classpath and
       calls common-init from $HOME/build.xml
       blah blah blah
     </description>
     .... etc

My aim is to get rid of the <!-- comments --> in my build files because 
they are making it confusing, now my build files are getting big. I 
guess I could change emacs to make the comment font color different, but 
even then I wouldn't be totally happy.

This <description>comment</description> works fine, or rather, it 
doesn't stop ant, apart from ant -projecthelp. This prints out all 
description tags without any reference to the task name, and it misses 
out the targets in the main targets list which don't have the 
description="comment" attribute.

I guess I'm making a feature request, or is there some other approach?
-- 
ant 1.6beta1 + java 1.4.2 on Linux 2.4.20 RH9

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


Mime
View raw message