Its an Ant task, having nothing to do with XDoclet:

http://jakarta.apache.org/ant/manual/CoreTasks/tstamp.html

It simply sets Ant properties with formatted date/time strings, ${TODAY} in this case is notable as its used in the addedtags section of <ejbdoclet>

Erik


wu qihua wrote:
I search all the document ,and can not find how it work.What is the usage of this tag?



<target name="ejbdoclet" depends="prepare">
<taskdef
name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask"
classpath="${xdoclet.jar.path};${xjavadoc.jar.path};${commons-logging.jar.path};${log4j.jar.path};${ant.jar.path}"
/>
/*************************************************************************/
<tstamp>
<format property="TODAY" pattern="d-MM-yy"/>
</tstamp>
/***********************************************************************/
<ejbdoclet
destdir="${generated.java.dir}"
classpathref="project.class.path"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
ejbspec="2.0"
>


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to