Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Justin Kaeser
@jastice
@nscarcella I think @darthorimar wanted to work on a separate plugin for now. I wanted to set it up, but some sbt bugs created a yak shave chain that's blocking it for now.
nafg
@nafg
I think current intellij includes cbt
oh looks like it was removed?
Justin Kaeser
@jastice
yeah for the time being
Jan Christopher Vogt
@cvogt
@nafg it hasn’t made it into the final release yet for some QA reasons. There is the consideration of a separate plugin for now.
nafg
@nafg
Makes sense. They're going to need one for Mill too ;)
I use EAP so I had noticed the CBT option and later that it was gone
Ilya Kirillov
@darthorimar
I am going to release it as a separate plugin for now, yeah. Not sure about timeline yet
Brandon Elam Barker
@bbarker
@darthorimar that's great, really looking forward to it. Since in a fit of madness I started three new projects using CBT this weekend ;-)
Jan Christopher Vogt
@cvogt
nice :). don’t hestite to reach out for support.
@bbarker
Brandon Elam Barker
@bbarker
@cvogt Thanks! I'm not sure if this is a CBT issue, yet, but if you want to have a look ... (I should probably still wait for the author of Optimus to reply first)
vagmcs/Optimus#18
Brandon Elam Barker
@bbarker
@cvogt Thanks for the suggestion, will try it soon, when back to desk
Brandon Elam Barker
@bbarker
@cvogt since your suggestion was a fix, would it be worth adding a note to the readme, or maybe on the wiki at https://github.com/cvogt/cbt/wiki/classloader-notes (note I can't edit the wiki)
Brandon Elam Barker
@bbarker
@cvogt since I seem to recall you may be doing some Haskell work lately, is there any interest in making CBT do builds for other languages? I think it could be amazing as a sort of cross-language build tool, especially where languages are mixed. But maybe Scala/C would be a better starting point /shrug
I doubt we'll convince Linux Torvalds to use it to build Linux but ... who knows ;-)
Jan Christopher Vogt
@cvogt
There is a Frege plugin already, which is a sort of Haskell dialect on the JVM. An ETA plugin would be great as as well, which is literally GHC Haskell on the JVM.
A GHC or stack plugin would be quite interesting I think and force CBT to improve it’s own structure.
Brandon Elam Barker
@bbarker
that makes sense; with Scala too, there are many possibilities to consider with native code: scala-JVM + JNI, scala-native, or scala-native + Scala-JVM (and probably other weird things I haven't thought of) - though the demand for some of these is rather low, I hope that CBT might make it possible to do non-standard things like this without (too much) fuss, when needed
Jan Christopher Vogt
@cvogt
So compiling project to Scala Native with CBT should already be possible, no?
and cross builds are totally in CBT’s scope
and customization to do non standard things, yes
Supporting other eco systems than JVM can come with different amounts of effort, e.g. for dependency resolution. Haskell’s Stack already has a dependency resolution mechanism, so maybe a CBT plugin just wants to piggy back on that. On the other hand what is the value of CBT then, if there is already stack? Two I can see is: CBT is more than stack in that it’s basically a launcher for custom commands as well, allowing to write helper scripts that you need in JVM languages. Also if generating Stack files you could write them in a composable api for them in Scala or else.
I’d be curious if somebody wants to try.
Brandon Elam Barker
@bbarker
That all sounds good to me; I'm not using Haskell myself, just used that as an example. I will probably get into the C/C++ side of things at some point, though. I'm sort of wondering what existing "C" (native) build tools out there might most closely mesh with CBT, either as serving as a dependency of a CBT plugin, or as a general guiding principle. I've never used it, but SCons at least sounds like a promising system to explore for that purpose; Scons uses Python scripts for configuration: https://github.com/SCons/scons/wiki/AboutSCons. In fact, looking at this page it sounds a lot like CBT for pros and cons: https://github.com/SCons/scons/wiki/SconsVsOtherBuildTools, but I haven't looked at actual examples yet
Ilya Kirillov
@darthorimar
Hey :) just published CBT plugin for IDEA, now it is a separate plugin which can be installed from plugin repository
Will appreciate feedback ^_^
Brandon Elam Barker
@bbarker
@darthorimar Awesome, I wish I could try it immediately, but may have to wait a few days!
Jan Christopher Vogt
@cvogt
@darthorimar mind updating readme and wiki?
Ilya Kirillov
@darthorimar
Sure
Jan Christopher Vogt
@cvogt
And sounds great :)!
Ilya Kirillov
@darthorimar
Plugin approved and it can be installed through intellij idea ^.^
Jan Christopher Vogt
@cvogt
wonderful
Jan Christopher Vogt
@cvogt
@ekrich I just realized I confused bloop (http://www.scala-lang.org/blog/2017/11/30/bloop-release.html) with drip (https://github.com/ninjudd/drip) in our recent discussion. I don’t know enough about bloop at this point to have an opinion.
The comments I made were about drip
Eric K Richardson
@ekrich
@cvogt Ok, no worries - my question was mostly about Nailgun so what you said was perfect. Congrats on the IDEA plugin.
Brandon Elam Barker
@bbarker
@darthorimar I got to try out the plugin, but haven't used it much. One thing I noticed, which might be an easy fix, is that when you initially import a project, it doesn't do a project scan so no files are shown in the project viewer - you have to manually refresh all CBT projects (which issue tracker should I use in the futrue, by the way)
Ilya Kirillov
@darthorimar
@bbarker I'll take a look :)
A github one
Ilya Kirillov
@darthorimar
Hi :) Is there a way to specify java options when running main class? I could not find one
Jan Christopher Vogt
@cvogt
Normally the class is run in the same process, meaning these options are already decided. There is a fork option, which could pick up java Options. Not sure of that's already implemented but otherwise worth adding.
@darthorimar
Ilya Kirillov
@darthorimar
@cvogt please, take a look cvogt/cbt#592
Jan Christopher Vogt
@cvogt
already reviewed ;). LGTM. Let's merge when green
Jan Christopher Vogt
@cvogt
merged
Neil Hooey
@nhooey
Does CBT have issues like SBT does with IDEs (like IntelliJ IDEA, specifically in my case) where sometimes you have to delete the IDE-generated project and start from scratch, to fix some invalid compiler error that’s not encountered from using SBT outside of the IDE?
Neil Hooey
@nhooey
I asked the question on StackOverflow:
https://stackoverflow.com/q/52571068/14193