Re: Multiple directories under /WEB-INF/classes

2017-01-14 Thread Tom Eugelink
On 13-1-2017 18:26, Mark Thomas wrote: Class loader resources have special handling. I think you'll be able to get this to work with: standardRoot.createWebResourceSet(CLASSES_JAR, "/WEB-INF/classes", new File("target/classes").getAbsolutePath(), null, "/"); If that doesn't work,

Re: Multiple directories under /WEB-INF/classes

2017-01-13 Thread Mark Thomas
On 13/01/2017 11:14, Tom Eugelink wrote: > I'm trying to migrate a very old ANT based project into the future, the > ANT scripts I inherited are (of course) very complex, so I need to make > babysteps. The first thing I did was compile the Java code with Maven and > thus replaced a lot of copy

Re: Multiple directories under /WEB-INF/classes

2017-01-13 Thread Tom Eugelink
On 13-1-2017 16:09, Christopher Schultz wrote: Are you trying to build a WAR file/directory, or are you trying to launch a Tomcat instance? Or both? I am trying to launch a Tomcat instance by assembling the WAR from different places. The addPre/PostResources seem to allow that.

Re: Multiple directories under /WEB-INF/classes

2017-01-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tom, On 1/13/17 6:14 AM, Tom Eugelink wrote: > I'm trying to migrate a very old ANT based project into the future, > the ANT scripts I inherited are (of course) very complex, so I need > to make babysteps. The first thing I did was compile the Java