Running IntelliJ IDEA (10.5.4). It is a Seam application.
In project structure --> artifacts --> Output directory, the default value is
...../proj/proj-web/target/classes.
I keep changing it to ......./proj/src/main/webapp
, which means the web server reads from the same directories I'm editing and my changes are viewable immediately.
My trouble is that IntelliJ frequently reverts back to the default and it is getting annoying. Does anyone know how to make this stick. This "didn't use to happen" in earlier versions.
Change the default location for projectsIn the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | System Settings. In the Default project directory field, specify the path to the folder in which you want to store your projects. Apply the changes and close the dialog.
Compiler output path is the path to the directory in which IntelliJ IDEA stores the compilation results. In this directory, the IDE creates two sub-directories: output for production code and test output for test sources.
In Intellij the default output path is ~/project/out/production/module.
The src/target folder is where IntelliJ will keep the compiled versions of your Scala application files. As such, the files and folders within the target directory is automatically managed by IntelliJ and you should not place any of your application files here.
try uncheck "use maven output directories"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With