1
votes

Doesn't a grails run-app create a WAR file(exploded) in the embedded Tomcat Container? If so what is the difference between grails run-app and grails run-war command?

Is it possible to view the web app directory under the embedded Tomcat Directory after the execution of grails run-app command?

2

2 Answers

3
votes

The grails-app command starts an embedded Tomcat server and configures its context paths so that it can look up everything it needs from their original filesystem paths. Therefore there is no single place where everything would be gathered as would be when running an exploded web application archive.

2
votes

No, run-app doesn't create a war. It starts the Tomcat server and configures it programmatically as an exploded war.