--- Joris Wijlens <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'd like to use velocity macros from a library. But
> when I include my
> library with macro's XDoclet can't find it. I
> include it like this:
>
> #include("lib.vm")
>
> (lib.vm is situated in the same package)
>
> Also when I use the default library
> VM_global_library.vm Xdcolet can't
> find it.
>
> Am I doing something wrong here?
Hi Joris,
Look into generama how velocity components are
configured.
I read from code, that global library is not
configured at all
( in package: org.generama.velocity )
Wrinting your custom velocity component would be also
easy
( they are pretty primitive )
BTW, while we are at it - velocity engine ( meanwhile
) offers save constructors, so we do not need those
component classes at all.
WDYT?
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
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com