Can i change the launcherdir for a server config
已回答
When i run something, the build usually ends up far down the library jetbrains structure (like
/Users/xxx/Library/Caches/JetBrains/IntelliJIdea2020.3/gwt/myproject/webapp.4bc799d9/run/www
I sometimes need to go in there and change stuff, for example some parameter in a jsp for testing, since i don't like to restart the server every time.
Is there some way to specify where the launcherdir should be for a project/module/run confif, so that i don't have to go so far down in the tree, like /intellij/gwt or something?
请先登录再写评论。
You can change "Module compiler output", see https://www.jetbrains.com/help/idea/configure-modules.html#module-compiler-output
Hi there, thanks for quick reply. That's not what i'm after though, i have already set that to no avail. The directory i'm talking about is where the assembled war file ends up for a Web run, or GWT in my case. Changing the value you are referring to does not change the build directory, it will still end up in the same place.
Check artifact output directory
And GWT run configuration:
Thanks, but sorry i have tried that too. See attached screenshots below. I set both working dir in run config, and output dir in module. But when i run the gwt config this is what i have in the log:
Not sure what i'm doing wrong.
You can use Super Dev Mode and add "-war /path/to/dir/" dev mode parameter, which will change launcherdir.
Thank you so much for helping with this wonderful article.