Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:08
    lihaoyi commented #1487
  • 08:01
    lihaoyi commented #1487
  • 08:00
    lihaoyi commented #1487
  • 08:00
    lihaoyi commented #1487
  • 07:55
    lihaoyi commented #1487
  • 07:51
    lihaoyi commented #1487
  • 07:50
    lihaoyi commented #1487
  • 07:49
    RomanMarkin opened #1509
  • 07:42
    psilospore synchronize #8369
  • 07:42
    psilospore synchronize #7798
  • 07:19
    eugene70 synchronize #1507
  • 07:15

    SethTisue on 2.13.x

    exclude another intermittent ak… Merge remote-tracking branch 'o… (compare)

  • 07:15

    SethTisue on 2.11.x

    exclude another intermittent ak… Merge remote-tracking branch 'o… (compare)

  • 07:14

    SethTisue on 2.12.x

    exclude another intermittent ak… (compare)

  • 07:13
    valenterry commented #1487
  • 06:55
    lihaoyi commented #1487
  • 06:54
    lihaoyi commented #1487
  • 06:53
    lihaoyi commented #1487
  • 06:52
    lihaoyi commented #1487
  • 06:02
    eugene70 synchronize #1507
Luis Miguel Mejía Suárez
@BalmungSan
Which is the version of the SBT that you are using in that project.
Ryan Broman
@broman
1.2.8
Luis Miguel Mejía Suárez
@BalmungSan
Also, can you try running this on an sbt session. ;clean;cleanFiles;reload
Ryan Broman
@broman
oh thats weird
java.io.FileNotFoundException: C:\Users\\.sbt\1.0\plugins\plugins.sbt
i didnt realise plugins.sbt needs to be in the root sbt file?
my file is inside my project
Luis Miguel Mejía Suárez
@BalmungSan
No, that should not matter.
You can have a global plugins file.
Ryan Broman
@broman
I used --addPluginSbtFile=plugins.sbt so thats probably what happened there
Luis Miguel Mejía Suárez
@BalmungSan
Sorry, I did not understand what you mean with that.
Ryan Broman
@broman
I ran sbt --addPluginSbtFile=plugins.sbt but it didn't work
Then I ran ;clean;cleanFiles;reload like you said, and got java.io.FileNotFoundException: C:\Users\\.sbt\1.0\plugins\plugins.sbt back.
Luis Miguel Mejía Suárez
@BalmungSan
Ah ok. As I said that should not matter.
But your first command is weird, I do not know if it is valid or not (sbt is pretty complex), but it is not necessary.
Ryan Broman
@broman
Oh okay. I'm just trying to figure out how to install this plugin
Luis Miguel Mejía Suárez
@BalmungSan
Have you tried running assembly after the reload.
Ryan Broman
@broman
Yes, it doesn't recognise the key
And sbt says the plugin is not found
Luis Miguel Mejía Suárez
@BalmungSan
Uhm...
Maybe are you behind some firewall / proxy?
That should have worked. That is all I do, when I use it.
Ryan Broman
@broman
I can visit eed3si9n.com without a problem
Well that website is served over HTTP so maybe IntelliJ doesn't want to download plugins without encryption
Anthony Cerruti
@srnb_gitlab
Libraries are served over Maven central
In some cases Sonatypk
Sonatype*
Check that neither of those are
Blocked
Ryan Broman
@broman
Neither is blocked
According to Maven Central the latest sbt-assembly on there is 0.7.2.......
Ryan Broman
@broman
@BalmungSan @srnb_gitlab solved by moving plugins.sbt to root_dir/project/plugins.sbt
Anthony Cerruti
@srnb_gitlab
Try 0.14.10
Ryan Broman
@broman
I changed it to that already
Anthony Cerruti
@srnb_gitlab
Ah
Gitter wasn't receiving messages for me
Also yeah, project_root/project/plugins.sbt is where plugins always go
Unfortunately it's not always super intuitive what a README means by project/plugins.sbt
Luis Miguel Mejía Suárez
@BalmungSan
Oh
Well, at least you solved it :D
(btw, sorry for leaving without saying anything, I got sick...)
Anthony Cerruti
@srnb_gitlab
Yike, hope you feel better
Rob Norris
@tpolecat
Yeah it might be more clear if the doc said <my-project>/project/plugins.sbt or something. It's confusing to 100% of people trying to learn how to use sbt.
Luis Miguel Mejía Suárez
@BalmungSan
Thanks Anthony :)
Yeah, I just remembered I made the same "mistake" with my first plugin. Years ago.
(funny thing, I am almost sure it was sbt-assembly)
If my memory is right (probably not :laughing:) - I solved it, after finding an opensource project, and checking where did they added that line.
Anthony Cerruti
@srnb_gitlab
Italics in codeblocks looks so nice with Victor Mono
image.png
Wojciech Daniło
@wdanilo
Hi guys! I've got a case class final case class _Var[T](name: String) extends _Ident[T] Is there any function in Scala which allows me to just safely "cast" _Var[T] => _Var[(Int,T)] ? In Haskell we can use coerce for that, which is a compile-time checked coerce that this operation is correct. I dont use this type parameter anywhere inside of the body of the class.