What does Use Sbt Shell do. My configuration doesn't work if the option is clicked

Answered

I want to run sbt dist command to create a package for my Play application.

What is the difference between running a configuration with Use Sbt Shell option and without it? I noticed that my configuration doesn't do anything when I click the Play button if I have the Use Sbt Shell clicked. I don't uncheck it then the configuration works (at least I see that it is working).

Clicking this shows output in Run window

 

The following however doesn't show anything in the Run window

 

 

 

0
2 comments

>What is the difference between running a configuration with Use Sbt Shell option and without it?

With this option enabled IDE will use SBT to build and the run the task. If it is disabled IDE will use it's own builder to build the project before executing the task.

> noticed that my configuration doesn't do anything when I click the Play button if I have the Use Sbt Shell clicked. I don't uncheck it then the configuration works (at least I see that it is working).

Please file a bug at https://youtrack.jetbrains.com/issues/SCL with IDE logs zipped (Help | Collect Logs and Diagnostic Data action) and if possible a sample project. Thank you.

Please try if it helps to disconnect and close the sbt shell tool window before running the task. Also try enabling Settings (Preferences on macOS) | Build, Execution, Deployment | Build Tools | sbt | Use sbt shell: for builds option.

0
Avatar
Permanently deleted user

Thank you. Restart has helped.

0

Please sign in to leave a comment.