You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This severely limits the IDE's functionality, including running and debugging code.
This is because
scallion (which is a source dependency of LISA) has a benchmark subproject which contains outdated (not existing anymore) dependencies.
On project load, Intellij Idea tries to eagerly resolve them (reported here).
Both of the above are unrelated to LISA. For as long as above issues are not fixed, we can use the following workarounds:
Use a local copy of scallion and remove the problematic dependencies:
a. Clone scallion
b. Inside the scallion directory, run git checkout <scallion commit from LISA's build.sbt>
c. Remove lazy val benchmark = ... from scallion's build.sbt.
d. Replace lazy val scallion = githubProject(...) with lazy val scallion = RootProject(file("path-to-scallion")) in LISA's build.sbt.
e. Optional: run git update-index --assume-unchanged build.sbt to stop seeing the change to LISA's build.sbt every time you run git status.
Use sbt to run and debug code:
a. To run: inside sbt shell, run path.to.main or run + choose number to select the class to run,
b. To debug: start sbt with sbt -jvm-debug 5005 (or another port). In Intellij, select "Run -> Attach to process". Set breakpoints and use run inside sbt as described above, it will start the debugging.
The text was updated successfully, but these errors were encountered:
This severely limits the IDE's functionality, including running and debugging code.
This is because
scallion
(which is a source dependency of LISA) has abenchmark
subproject which contains outdated (not existing anymore) dependencies.Both of the above are unrelated to LISA. For as long as above issues are not fixed, we can use the following workarounds:
Use a local copy of
scallion
and remove the problematic dependencies:a. Clone scallion
b. Inside the scallion directory, run
git checkout <scallion commit from LISA's build.sbt>
c. Remove
lazy val benchmark = ...
from scallion'sbuild.sbt
.d. Replace
lazy val scallion = githubProject(...)
withlazy val scallion = RootProject(file("path-to-scallion"))
in LISA'sbuild.sbt
.e. Optional: run
git update-index --assume-unchanged build.sbt
to stop seeing the change to LISA'sbuild.sbt
every time you rungit status
.Use
sbt
to run and debug code:a. To run: inside sbt shell,
run path.to.main
orrun
+ choose number to select the class to run,b. To debug: start sbt with
sbt -jvm-debug 5005
(or another port). In Intellij, select "Run -> Attach to process". Set breakpoints and userun
inside sbt as described above, it will start the debugging.The text was updated successfully, but these errors were encountered: