You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "White, Tim" <Ti...@qwest.com> on 2003/12/09 21:36:10 UTC

Velocity Tools WebApp Resource Loader Question

I haven't been able to get the modificationCheckInterval to work with
the webapp resource loader, and looking at the source for it, I note
this:

    /**
     * Defaults to return false.
     */
    public boolean isSourceModified(Resource resource)
    {
        return false;
    }

    /**
     * Defaults to return 0
     */
    public long getLastModified(Resource resource)
    {
        return 0;
    }

Does this mean that resources will always show as unmodified when the
loader is checking them?

It this because the assuption is that the files will be in a .war, and
this not changeable, or should it work?

Thanks!

Tim White

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org