You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Vincent van Beveren <vi...@nazarene.nl> on 2005/02/18 11:08:42 UTC
velocimacro.library
Is there any way to specify a resource at the "velocimacro.library"
instread of a file? I would
like to use a velocimacro from a resource instead of a file? I couldn't
find any way using the
configuration.
Thanks,
Vincent
--
XIAM Solutions B.V.
Barchman Wuytierslaan 72A
3818 LK AMERSFOORT
tel. : +31(0)33 462 40 07
e-mail: vincent@nazarene.nl, info@xiam.nl
WAARSCHUWING:
Dit bericht is UITSLUITEND bestemd voor de (rechts)perso(o)n(en) aan welke het bericht is gericht. Het kan vertrouwelijke of alleen voor deze rechts)perso(o)n(en) bestemde informatie bevatten, die niet mag worden geopenbaard. Als dit bericht niet voor u bestemd is, mag u de ontvangen informatie niet lezen, gebruiken, verspreiden of kopiƫren. Als u dit bericht per abuis heeft ontvangen, gelieve het bericht dan te vernietigen en contact op te nemen met de afzender.
WARNING:
This message is intended ONLY for the person(s) or entity to which it is addressed and may contain confidential and/or privileged information, the disclosure of which is prohibited. If you are not the intended recipient you may not read, use, disseminate or copy the information transmitted. If you have received this message by mistake, please contact the sender and delete the material from any computer.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14-2-2005
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
Re: velocimacro.library
Posted by Vincent van Beveren <vi...@nazarene.nl>.
Darn, that worked!
I dunno, but I tried that before, and it didn't. I guess I did something
wrong.
Thanks!
Vincent
Florin Vancea wrote:
>Use org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader as a
>loader (eventually among other loaders) and specify the library as a
>relative path to the root of the classpath (with slashes, of course).
>It works for me (and the library comes from a jar in WEB-INF/lib)
>
>Florin
>
>----- Original Message -----
>From: "Vincent van Beveren" <vi...@nazarene.nl>
>To: "Velocity Developers List" <ve...@jakarta.apache.org>
>Sent: Friday, February 18, 2005 12:08 PM
>Subject: velocimacro.library
>
>
>
>
>>Is there any way to specify a resource at the "velocimacro.library"
>>instread of a file? I would
>>like to use a velocimacro from a resource instead of a file? I couldn't
>>find any way using the
>>configuration.
>>
>>Thanks,
>>Vincent
>>
>>--
>>XIAM Solutions B.V.
>>Barchman Wuytierslaan 72A
>>3818 LK AMERSFOORT
>>tel. : +31(0)33 462 40 07
>>e-mail: vincent@nazarene.nl, info@xiam.nl
>>
>>WAARSCHUWING:
>>Dit bericht is UITSLUITEND bestemd voor de (rechts)perso(o)n(en) aan welke
>>
>>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14-2-2005
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
Re: velocimacro.library
Posted by Florin Vancea <fv...@maxiq.ro>.
Use org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader as a
loader (eventually among other loaders) and specify the library as a
relative path to the root of the classpath (with slashes, of course).
It works for me (and the library comes from a jar in WEB-INF/lib)
Florin
----- Original Message -----
From: "Vincent van Beveren" <vi...@nazarene.nl>
To: "Velocity Developers List" <ve...@jakarta.apache.org>
Sent: Friday, February 18, 2005 12:08 PM
Subject: velocimacro.library
> Is there any way to specify a resource at the "velocimacro.library"
> instread of a file? I would
> like to use a velocimacro from a resource instead of a file? I couldn't
> find any way using the
> configuration.
>
> Thanks,
> Vincent
>
> --
> XIAM Solutions B.V.
> Barchman Wuytierslaan 72A
> 3818 LK AMERSFOORT
> tel. : +31(0)33 462 40 07
> e-mail: vincent@nazarene.nl, info@xiam.nl
>
> WAARSCHUWING:
> Dit bericht is UITSLUITEND bestemd voor de (rechts)perso(o)n(en) aan welke
het bericht is gericht. Het kan vertrouwelijke of alleen voor deze
rechts)perso(o)n(en) bestemde informatie bevatten, die niet mag worden
geopenbaard. Als dit bericht niet voor u bestemd is, mag u de ontvangen
informatie niet lezen, gebruiken, verspreiden of kopiƫren. Als u dit bericht
per abuis heeft ontvangen, gelieve het bericht dan te vernietigen en contact
op te nemen met de afzender.
>
> WARNING:
> This message is intended ONLY for the person(s) or entity to which it is
addressed and may contain confidential and/or privileged information, the
disclosure of which is prohibited. If you are not the intended recipient you
may not read, use, disseminate or copy the information transmitted. If you
have received this message by mistake, please contact the sender and delete
the material from any computer.
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14-2-2005
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org