Sender | Message | Time |
---|---|---|
19 May 2024 | ||
bjornregnell | * It's an old issue called "Regression" here: https://github.com/sbt/sbt/issues/6804 but it's pretty annoying and not sporadic to me atleast as it happens always the secend or more time entering console inside the sbt shell; hence I'm wondereing if it is just me seeing this every time on Scala 3.4.2 and sbt 1.10.0 | 15:36:38 |
bjornregnell | * It's an old issue called "Regression" here: https://github.com/sbt/sbt/issues/6804 but it's pretty annoying and not sporadic to me atleast as it happens always the second or more time entering console inside the sbt shell; hence I'm wondereing if it is just me seeing this pretty much every session on Scala 3.4.2 and sbt 1.10.0 | 15:37:51 |
deaddorks | Has anyone else run into an issue where inter-sub-project dependencies go absolutely crazy, and dependent projects think no classes exist from the projects they depend on? I think it might have something to do with Intellij, because the steps I took look like: 1. sbt ~test:compile -> works just fine2. run test through intellij -> fails, saying 1 class not found3. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test4. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors5. bump sbt.version in project/build.properties to 1.9.9 6. sbt ~test:compile -> works just fine7. run test through intellij -> fails, saying 1 class not found8. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test9. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors10. bump sbt.version in project/build.properties to 1.10.0 11. sbt ~test:compile -> works just fine12. run test through intellij -> fails, saying 1 class not found13. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test14. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors | 20:30:39 |
deaddorks | * Has anyone else run into an issue where inter-sub-project dependencies go absolutely crazy, and dependent projects think no classes exist from the projects they depend on? I think it might have something to do with Intellij, because the steps I took look like: 1. sbt ~test:compile -> works just fine2. run test through intellij -> fails, saying 1 class not found3. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test4. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors5. bump sbt.version in project/build.properties to 1.9.9 6. sbt ~test:compile -> works just fine7. run test through intellij -> fails, saying 1 class not found8. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test9. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors10. bump sbt.version in project/build.properties to 1.10.0 11. sbt ~test:compile -> works just fine12. run test through intellij -> fails, saying 1 class not found13. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test14. sbt ~test:compile -> whole project is bricked, hundreds of class not found errorsI have also tried - sbt clean - rm -rf **/target and neither helps the issue | 20:31:34 |
deaddorks | * Has anyone else run into an issue where inter-sub-project dependencies go absolutely crazy, and dependent projects think no classes exist from the projects they depend on? I think it might have something to do with Intellij, because the steps I took look like: 1. sbt ~test:compile -> works just fine2. run test through intellij -> fails, saying 1 class not found3. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test4. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors5. bump sbt.version in project/build.properties to 1.9.9 6. sbt ~test:compile -> works just fine7. run test through intellij -> fails, saying 1 class not found8. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test9. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors10. bump sbt.version in project/build.properties to 1.10.0 11. sbt ~test:compile -> works just fine12. run test through intellij -> fails, saying 1 class not found13. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test14. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors15. bump sbt.version in project/build.properties to 1.9.8 16. sbt ~test:compile -> works just fine17. bump sbt.version in project/build.properties to 1.10.0 18. sbt ~test:compile -> works just fineI have also tried - sbt clean - rm -rf **/target and neither helps the issue | 20:37:28 |
deaddorks | * Has anyone else run into an issue where inter-sub-project dependencies go absolutely crazy, and dependent projects think no classes exist from the projects they depend on? I think it might have something to do with Intellij, because the steps I took look like: 1. sbt ~test:compile -> works just fine2. run test through intellij -> fails, saying 1 class not found3. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test4. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors5. bump sbt.version in project/build.properties to 1.9.9 6. sbt ~test:compile -> works just fine7. run test through intellij -> fails, saying 1 class not found8. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test9. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors10. bump sbt.version in project/build.properties to 1.10.0 11. sbt ~test:compile -> works just fine12. run test through intellij -> fails, saying 1 class not found13. re-try running test through intellij, no code or sbt changes -> works just fine and runs the test14. sbt ~test:compile -> whole project is bricked, hundreds of class not found errors15. bump sbt.version in project/build.properties to 1.9.8 16. sbt ~test:compile -> works just fine17. bump sbt.version in project/build.properties to 1.10.0 18. sbt ~test:compile -> works just fine19. a couple compile runs later, see a few of the above errors 20. sbt clean -> bricked again...I have also tried - sbt clean - rm -rf **/target and neither helps the issue | 20:44:49 |
matheus_4530 | Could it be that in our SBT 1.10.0 update a dependency update system was added? | 23:57:21 |
deaddorks | I dont think it would be anything 1.10.0 related, because I was having the issue before I was even on 1.9.x , which caused me to bumpt to 1.9.9 , and then I had the issue in 1.9.9 , and then I had the issue again in 1.10.0 | 23:58:52 |
20 May 2024 | ||
matheus_4530 | what a problem that was. | 00:00:55 |
deaddorks | what? | 00:01:54 |
jmreardon | Is IntelliJ using sbt for builds? If so, are you also reloading it to get the new sbt version? | 00:59:48 |
deaddorks | jmreardon I am reloading in intellij, intellij compiles fine, terminal thinks all these classes dont exist :/ | 01:00:29 |
jmreardon | Interesting. I have occasionally seen odd things with IntelliJ + sbt, but haven’t run into this. Are both SBTs running the same jvm? | 01:04:20 |
jmreardon | * Interesting. I have occasionally seen odd things with IntelliJ + sbt, but haven’t run into this. Are both sbts running the same jvm? | 01:05:32 |
ganesh9138 joined the room. | 04:35:17 | |
jamespigden3704 | How do I find out? my scalaVersion is 3.4.0 in my build.sbt, if that's what you mean. I'd be curious to see that other issue you mentioned seeing | 08:41:16 |
jur27 changed their display name from Jur to jur27. | 09:08:48 | |
davidsmith95 changed their display name from uphart7789 to davidsmith95. | 10:13:27 | |
ragnar4252 | I had very bad experiences with using IntelliJ with the default sbt import (that is, not the bsp import) and the sbt console at the same time. In my case, the seemed to compile into the same output directories, but using different metadata, and then all the build setup got confused. I generally recommend the bsp import ( https://www.jetbrains.com/help/idea/bsp-support.html ), but in particular if you want to use the sbt console at the same time that seems to work much better. | 11:55:00 |
som-snytt | I guess https://github.com/scala/scala3/pull/20423. Slow file system ops is a classic. | 13:00:05 |
som-snytt | Also, if I were on 3.4.0, I'd be on 3.4.2. Bugs move so quickly. | 13:00:55 |
rohith_02_ joined the room. | 14:31:22 | |
deaddorks | jmreardon just looked, its the same jvm version | 16:32:06 |
deaddorks | also, I now seem to be able to compile using command line in intellij terminal. Im lost for words. Maybe its temporary. | 16:32:34 |
jamespigden3704 | Didn't help unfortunately, though thanks for the help. Seemingly it's a known issue, so my best plan might be waiting for the 3.5 release? | 16:44:33 |
igor.ramazanov | https://scalacenter.github.io/bloop/docs/ides/intellij might be useful | 17:32:16 |
21 May 2024 | ||
pennywisedclown joined the room. | 06:49:35 | |
kokonut_dk joined the room. | 10:09:46 | |
jimka2001 | when I call (from the shell): sbt "testOnly NonExistantClass", it finishes successfully, with output like the following
I would prefer this to indicate some sort of error. What should I do instead? | 10:19:38 |
jimka2001 | i.e., how do I tell testOnly to produce some sort of error if the indicated class does not exist | 11:17:33 |