ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26644] - description for properties
Date Wed, 04 Feb 2004 06:03:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26644>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26644

description for properties





------- Additional Comments From jan@materne.de  2004-02-04 06:03 -------
Your request consists of two kinds: saving the information via "description" 
attribute and printing via "-p" option.

You can already save the info in your buildfile - have you ever tried that? :-)
Property extends Task which provides that attribute. Therefore all Tasks have 
it.

Printing out the properties could be a little bit more difficult: which 
properties should be printed? All defined at top level, all with a description 
attribute, top-level with description... Maybe all with a description.

If you´d send an implementation as diff, chances to come in into 1.6.1 will 
raise up :-)
Hint: the -p stuff is done in oata.Main

 580:  private void runBuild(ClassLoader coreLoader) throws BuildException {   
 ...
 654:      if (projectHelp) {
 655:          printDescription(project);
 656:          printTargets(project, msgOutputLevel > Project.MSG_INFO);
 657:          return;
 658:      }
 ...

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


Mime
View raw message