Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there way to tell IntelliJ IDEA which output folder to use for GWT compiler?

Is there way to tell IntelliJ IDEA which output folder to use for GWT compiler ? I know it copies artifacts to project folder but it doesn't copy extras which I set using "-extra" command line parameter of gwt compiler.

IntelliJ IDEA leaves it in USER_HOME/.IntelliJIdea10/system/gwt/project_name_with_hash/module_name_with_hash/compile/www

UPDATE: Strangely I didn't find list of possible path macroses on IntelliJ's website. But I found them in idea.jar. Possible macroses are:

APPLICATION_HOME_DIR
PROJECT_DIR
MODULE_DIR
USER_HOME
like image 932
expert Avatar asked Nov 09 '11 19:11

expert


People also ask

How do I change the compiler in IntelliJ?

Press Ctrl+Alt+S to open the IDE settings and select Build, Execution, Deployment| Compiler. On the Compiler page, configure settings that are related to any compilation and build process. For example, you can set the automatic compilation for your project.

What is output path in IntelliJ?

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.

What compiler does IntelliJ use?

Compiler and bytecode versions Eclipse (also known as Eclipse Compiler for Java or ECJ). IntelliJ IDEA comes bundled with the Eclipse compiler.

Where do I set IntelliJ?

To configure project settings, select IntelliJ IDEA | Preferences on macOS or File | Settings on Windows and Linux from the main menu. Alternatively, you can press Ctrl+Alt+S to show the IDE settings.


1 Answers

Have you tried constructing the path using ${PROJECT_DIR} path variable? That will resolve to the project location and then you can specify the rest of the path. Like ${PROJECT_DIR}/reports/extras. I haven't used IntelliJ for a few years, but I am pretty sure that's the path variable name.

EDIT: sorry built in path macros in IntelliJ are specified using $...$ syntax. So I think it should be $PROJECT_DIR$

like image 190
Strelok Avatar answered Nov 13 '22 22:11

Strelok