These are chat archives for sbt/sbt

21st
Dec 2016
Jean-Philippe Pellet
@jppellet
Dec 21 2016 13:07
Hi, newbie question here. I have slightly changed the code of sbt 0.13.13 to print the names of the files it is (re)compiling — build times were long and I was wondering what was getting recompiled. So (1) is this interesting for others? (2) How do I make this depend on a new setting in the prospect of proposing a PR?
OlegYch
@OlegYch
Dec 21 2016 13:55
i think you can already do that with last
eg 'last compileIncremental'
Jean-Philippe Pellet
@jppellet
Dec 21 2016 14:38
Yes, but that must be done manually after compilation took place, right?
OlegYch
@OlegYch
Dec 21 2016 14:39
right
you could combine commands though
Jean-Philippe Pellet
@jppellet
Dec 21 2016 14:42
OK. I really enjoy seeing the file names as they are being compiled
Brian Topping
@briantopping
Dec 21 2016 19:48
Hmm, looking at https://github.com/wav/osgi-tooling/blob/cb5365ce4215ebd4511dc3e7643106f0af4639cb/sbt-karaf-packaging/src/main/scala/wav/devtools/sbt/karaf/packaging/PluginSyntax.scala#L30-L30, this ends up generating an attribute in ivy.xml that other builds aren't happy with...
        <dependency org="com.typesafe.akka" name="akka-remote_2.11" rev="2.4.16" conf="compile->default(compile)" wrap_bundle_instructions="$overwrite=merge&amp;Export-Package=!akka.remote.artery"/>
Trying to figure out if the wrap_bundle_instructions a) shouldn't be there or b) is correct but the peer builds are not configured correctly to understand it
peer build I am testing does include the plugin
The author of the osgi-tooling plugin says it's unsupported, but it's surprisingly close to what's necessary for the task
Brian Topping
@briantopping
Dec 21 2016 19:58
It seems like Ivy should ignore attributes that it doesn't know, which I guess is part of why https://github.com/alexarchambault/coursier is being written.
meanwhile... :)