Do PROJECT_DIR, MODULE_DIR macros not work as a artifacts exploded web artifact output directory?
Seems if I do use a variable I can build the artifact OK, contents look good. But when I try to launch tomcat and deploy the webapp I get an error dialog:
Error deploying 'myapp:war'$PROJECT_DIR$/target/myapp-9.0 not found for web module
If I leave the output path to be relative it seems to get built in an unexpected folder under <userhome>/.IntelliJIdea12/system/compile-server/.. not the project home folder, or project output folder I'd expect?
Is there a way to not hardcode an absolute path (non-transferable between OSes).