velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anuradha Weeraman" <aweera...@gmail.com>
Subject Velocity on z/OS - velocity.properties not getting picked up
Date Fri, 23 Jun 2006 15:10:07 GMT
Hi,

I've been using Velocity in J2EE web application on z/OS and have been
running into a few problems. I'm using maven to build the application
which has set dependencies on velocity 1.4. the repository/jars folder
contains both velocity-1.4.jar and velocity-1.4-dev.jar.

For some reason, when velocity is initialized, the velocity.properties
file doesn't get picked up and as a result throws a
NullPointerException. When a Property object is manually populated
with the needed fields or if the property file is manually loaded and
passed into the init method, it seems to work.

Does anybody any idea why the velocity.properties in
velocity-1.4.jar\org\apache\velocity\runtime\defaults doesn't get
picked up automatically?

Could it be because the property file appears in both maven-1.4.jar
and maven-1.4-dev.jar?

Regards,
Anuradha

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


Mime
View raw message