Skip to content
Snippets Groups Projects
Commit b91ed06a authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

cleaned up useless comment

Change-Id: Iebec3e3e1904fba6e38109af2eff73db1f5a6cb1
parent b51fad11
No related branches found
No related tags found
No related merge requests found
......@@ -78,9 +78,7 @@ public class TomcatLauncher {
context = (StandardContext) tomcat.addWebapp("", new File(System.getProperty("user.dir")).getAbsolutePath());
context.getJarScanner().setJarScanFilter((jarScanType, s) -> false);
log.info("Serving application from: " + new File(System.getProperty("user.dir")).getAbsolutePath());
WebResourceRoot resources = new StandardRoot(context);
//We probably need to scan the annotations here, because they should be loaded AFTER the classes are loaded.
if (jarName.contains(".jar")) {
resources.addPreResources(new JarResourceSet(resources, "/WEB-INF/classes", jarName, "/net/jami/jams/server/servlets"));
resources.addPreResources(new JarResourceSet(resources, "/", jarName, "/webapp"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment