Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Project relative artefact output path

$
0
0

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).


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>