Hi Nicolas,
On 8/10/2012, at 5:45 AM, Nicolas Rémond <
nicolas...@gmail.com> wrote:
> I don't really know where I could ask my questions about Zinc, is the sbt mailing-list an appropriate place ?
Yes, questions about zinc are welcome here.
> Zinc has been successfully integrated to Gatling (
www.gatling-tool.org) but I still have two questions regarding the project :
>
> 1. I can't build without excluding "ensime-sbt-cmd", the package is not available on central.
Hmm, thanks. Yeah, the pom file for 0.1.1 certainly shouldn't have that plugin as a normal build dependency. I'll publish a 0.1.2. Should be up in maven cental in a few hours.
> 2. What are sbtInterface and compilerInterfaceSrc jars used for ? We are currently passing null (
https://github.com/excilys/gatling/blob/master/gatling-app/src/main/scala/com/excilys/ebi/gatling/app/ZincCompiler.scala#L42) and everything is working just fine.
The sbt interface and compiler interface sources are used when compiling the compiler interface for a particular scala version:
https://github.com/typesafehub/zinc/blob/master/src/main/scala/com/typesafe/zinc/Compiler.scala#L126
These are cached in the zinc cache directory (by default ~/.zinc). I'm guessing that you have a cached version of the compiler interface already? Try removing that directory, or compiling against a different scala version.
- Peter