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

Is there a way to tell IntelliJ IDEA which output folder to use for the GWT compiler? I know that it copies artifacts to the project folder, but does not copy the add-ons that I installed using the gwt compiler command line option β€œ-extra”.

IntelliJ IDEA leaves it at USER_HOME / .IntelliJIdea10 / system / gwt / project_name_with_hash / module_name_with_hash / compilation / www

UPDATE : Oddly, I did not find a list of possible path macros on the IntelliJ website. But I found them in idea.jar. Possible macros:

APPLICATION_HOME_DIR PROJECT_DIR MODULE_DIR USER_HOME 
+6
source share
3 answers

As of November 18, 2011, it is not possible to use path macros in the settings of project modules. Jetbrain knows this, and there is a function request in their JIRA.

My work for the team with several engineers so far is to use the TEMP system folder to additionally output the GWT compiler and move the files in the event after assembly to the folder that I want it to be in.

0
source

Did you try to build the path using the path variable $ {PROJECT_DIR}? This will decide the location of the project, and then you can specify the rest of the path. Like $ {PROJECT_DIR} / reports / extras. I have not used IntelliJ for several years, but I am sure the path variable name.

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

+1
source

Unable to change the output folder for the GWT compiler in IDEA. However, you can specify the absolute path to any directory after the '-extra' parameter. By the way, what are you using '-extra' for?

0
source

Source: https://habr.com/ru/post/901148/


All Articles