Can IntelliJ be configured to stop copying contents to WAR folder for GWT launch target?

Answered

I recently got a new computer at my office, running Windows 10 (upgrade from Windows 7), and I transferred all the settings (or so I thought) for our rather massive product to the new computer. Most of the settings are there, but there's some painfully obvious differences in behavior that I cannot account for.

Every time I have to kill the debugger and relaunch the app due to any change (even a one line change), it now rebuilds the entire project, which takes forever. It additionally pops up this dialog box saying "Preparing WAR Directory for GWT Dev Mode" which it never did before, and this also takes a very long time to complete. The only way I could mitigate this was to disable the option to clear output directories on build, but it still shows that GWT dialog box every time, albeit it doesn't take as long anymore.

I don't believe that this copying step is even necessary, as we have an ANT target that we have to run in order to copy a bunch of files to a specific directory, and we run GWT using a custom path provided via the -war parameter. Is there any way I can disable this? It's severely slowing down my workflow.

For context, I was previously using IDEA 2018.1 (not necessarily the latest revision, but it was definitely 2018.1) and I am now using the absolute latest version as of yesterday. I copied the .IntelliJIdea2018.1 folder from my profile directory. My project resides on a secondary hard drive that was transferred over to the new computer, so I have all my data from the project configuration intact.

0
1 comment

Please file a bug at https://youtrack.jetbrains.com/issues/IDEA with idea.log and build.log attached, enable debug logging for build.log, see https://intellij-support.jetbrains.com/hc/articles/207241085.

0

Please sign in to leave a comment.