On Mon, 2004-06-07 at 13:39, [EMAIL PROTECTED] wrote:
> Do you know if it is possible to pass parameters from ant build.xml file to a
> xdt file ?

Yes.  How you do it depends on what you're after.

You can use config params (either specified with getters & setters in a
custom subtask or nested configParam elements), and read them in the
.xdt file with the XDtConfig namespage template tags
(http://xdoclet.sourceforge.net/xdoclet/templates/Config_toc.html).  Or,
you can just use Ant ${variable}s in the @tags in your source files, and
they'll be substituted automatically.

What are you trying to achieve?


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to