Can i change the launcherdir for a server config

Answered

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?

6 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Check artifact output directory

And GWT run configuration: 

0
Comment actions Permalink

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:

Running CodeServer with parameters: [-noprecompile, -port, 9876, -sourceLevel, 1.8, -bindAddress, 127.0.0.1, -launcherDir, /Users/myuser/Library/Caches/JetBrains/IntelliJIdea2020.3/gwt/myproject.c649263f/webapp.4bc799d9/run/www...
Super Dev Mode starting up
workDir: /var/folders/z0/2dtr2qbx0yv36ww5xmy3sx040000gn/T/gwt-codeserver-2640879107929619798.tmp

Not sure what i'm doing wrong.

0
Comment actions Permalink

You can use Super Dev Mode and add "-war /path/to/dir/" dev mode parameter, which will change launcherdir. 

0
Comment actions Permalink

Thank you so much for helping with this wonderful article.

0

Please sign in to leave a comment.