Hi,

I am having problem accessing the velocity.properties file within a jar. The snippet is as follows:

VelocityEngine ve = new VelocityEngine();
ve.init("config\\velocity.properties");
VelocityContext context = new VelocityContext();

the 'config' directory exists within the jar with the file inside, but I am getting:

java.io.FileNotFoundException: config\velocity.properties (The system cannot find the path specified)

Any help much appreciated!

Thanks,

Matt