]> git.mxchange.org Git - jmailer-ee.git/commitdiff
updated jar(s)
authorRoland Häder <roland@mxchange.org>
Wed, 18 May 2016 10:42:17 +0000 (12:42 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 18 May 2016 12:42:38 +0000 (14:42 +0200)
lib/jcontacts-core.jar
lib/juser-core.jar
lib/juser-lib.jar
src/org/mxchange/jmailee/model/delivery/BaseMailer.java

index afb8cd0f00841565787e01d2df7e32d6e80174bd..c6e2beaf31c3fda2f3977638d93b183c39409c74 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 8c87a7663dca2f0dfd5096e361a2092296b659a4..fd21b2db8f64b20994b0104a7abbf9ce82b0ba03 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index 108299d70955d52b34045a1895d4d360ce2a50f7..78a5bd133e4f72071bf82a0b03a37213de92a976 100644 (file)
Binary files a/lib/juser-lib.jar and b/lib/juser-lib.jar differ
index d7e4db9ba4d036da15b02be45e1d9c21605890a8..361ce5d58c5a90241ab63e454b4b9afe3ae871ac 100644 (file)
@@ -32,6 +32,8 @@ import javax.naming.NamingException;
 import org.apache.velocity.Template;
 import org.apache.velocity.VelocityContext;
 import org.apache.velocity.app.VelocityEngine;
+import org.apache.velocity.runtime.RuntimeConstants;
+import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 import org.mxchange.jmailee.model.delivery.wrapper.WrapableEmailDelivery;
@@ -86,6 +88,8 @@ public abstract class BaseMailer implements DeliverableEmail {
 
                // Init template engine
                this.templateEngine = new VelocityEngine();
+               this.templateEngine.setProperty(RuntimeConstants.RESOURCE_LOADER, "classpath"); //NOI18N
+               this.templateEngine.setProperty("classpath.resource.loader.class", ClasspathResourceLoader.class.getName()); //NOI18N
                this.templateEngine.init();
        }