--- Stefan Undorf <[EMAIL PROTECTED]> wrote:

> I tried to to output the creation date in my
> generated files. The first
> attempt was to add velocity-tools-1.2.jar to my
> classpath and generate -
> without any results. The $date tag in the 2nd line
> of the script is simply
> ignored. This is my velocity script:

Velocity setup in xdoclet is not the same that servlet
one...  

> Then I thought about providing a date object from my
> java class to the
> script which could be used in line 3 of the velocity
> script. This is my java
> class:


Your plugin is generally available as $plugin - so you
can access 
whatever properties you like. 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to