Eclipse users know this feature well. Using this feature we can serve the web application directly from the exploded directory structure of the development workspace.
The main benefits are:
- You don't need to build archive files such as JARs and WARs.
- When you change a resource in your workspace, the change is reflected in the running webapp without redeploying the webapp or restarting the server.
When Magnolia 5.5.x was released it came with an upgrade to Tomcat server as well. The tomcat bundle ships with version 8.5.5. If you try to develop in Eclipse with Tomcat 8.5.5 then you may encounter some problems at startup.
- For development it should be fine to use Tomcat 7, which does not have this issue.
- Use a tool like JRebel.
- Switch to a different IDE that does not have this issue.
Use the properties file workaround. Set your
magnolia.app.rootdirto a literal value.