Re: Embedded Tomcat does not automatically create "webapps" folder

2016-06-01 Thread Fabrizio Cucci
On 1 June 2016 at 15:38, Mark Thomas wrote: > > On 01/06/2016 15:30, Fabrizio Cucci wrote: > > Hi everyone, > > > > I was playing with embedded Tomcat 8.0.33 and I noticed something > > unexpected. > > > > If I create my embedded Tomcat like this: > > > > Tomcat tomcat = new Tomcat(); > > tomcat.s

Re: Embedded Tomcat does not automatically create "webapps" folder

2016-06-01 Thread Mark Thomas
On 01/06/2016 15:30, Fabrizio Cucci wrote: > Hi everyone, > > I was playing with embedded Tomcat 8.0.33 and I noticed something > unexpected. > > If I create my embedded Tomcat like this: > > Tomcat tomcat = new Tomcat(); > tomcat.setPort(8080); > tomcat.setBaseDir("myBaseDir"); > > start the s

Embedded Tomcat does not automatically create "webapps" folder

2016-06-01 Thread Fabrizio Cucci
Hi everyone, I was playing with embedded Tomcat 8.0.33 and I noticed something unexpected. If I create my embedded Tomcat like this: Tomcat tomcat = new Tomcat(); tomcat.setPort(8080); tomcat.setBaseDir("myBaseDir"); start the server and then try to programmatically deploy a webapp like this: