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.



Ultimately, you will not be able to deploy a web application unless it
is properly-assembled into a WAR-like structure. You can't get around
that, embedded or not.

In my search I found many examples of starting tomcat without building a full 
WAR structure:
http://stackoverflow.com/questions/23143697/adding-external-resources-to-class-path-in-tomcat-8

The main problem is that the WAR project, as created in Eclipse by the Maven 
plugin, writes the class files to target/classes instead of 
webapps/WEB-INF/classes.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to