On Monday, January 20, 2003, at 09:24 PM, Hiroaki Nakamura wrote:
I got the latest sources from CVS and tried build.xml in proposal/xdocs
directory. Also I saw @ant tags in other tasks.

After all, I added
 * @ant.task name="velocity" category="other"
to VelocityTask.java, and
 * @ant.datatype name="velocitycontext"
to VelocityContext.java.

That's all, it it?

Yes, thats all. In fact, you don't even really need these (although the category is nice) if your task is named VelocityTask and its mapping is to "velocity". The XDoclet code has some smarts that strip off the trailing "Task" automatically.


        Erik


-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to