velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <>
Subject Re: What defines current dir in "file.resource.loader.path"
Date Wed, 18 Jun 2008 21:03:18 GMT
Velocity is a library. The current directory depends upon the java
program using it (tomcat for instance).

Excerpt from javadoc:

        By default the classes in the package always resolve
        relative pathnames against the current user directory. This
        directory is named by the system property user.dir, and is
        typically the directory in which the Java virtual machine was

But you can use relative resource loading with #parse and #include by
adding the following to your file:

eventhandler.include.class =


Le mercredi 18 juin 2008 à 17:45 +0300, George H a écrit :
> Hi,
> When I set up my resource loader config file I can put (according to
> the developer docs) "file.resource.loader.path = ."
> My question is...  the current dir is where?
> Thanks,
> George
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message