ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Vernum <Tim.Ver...@macquarie.com.au>
Subject RE: help me
Date Thu, 15 Feb 2001 06:31:53 GMT
>     4)  But i will give the class name during runtime only 
>     5) for ex. ant doc -classname .
>     6) but my problem is i dont know how to get the class name inside the xml file and
pass to javadoc tag which is written inside xml file 

You use the -D option to ant.

ant -D"javadoc.class=myClass" doc

then in your build.xml you have

<javadoc sourcefiles="${javadoc.class}.java">

or something like that.

PS: Please don't post in HTML.

Mime
View raw message