Re: scala build

2014-11-04 Thread Jean-Philippe Caruana
Thanks ! It works like a charm. Le 04/11/2014 10:05, Peter Donald a écrit : > Hi, > > On Mon, Nov 3, 2014 at 8:51 PM, Jean-Philippe Caruana > wrote: > >> But it still doesn't work: >> Expected ./target/querySimulator-1.0.0-SNAPSHOT.tgz to not contain >> 'lib/scala-compiler-2.10.4.jar' >> Buildr a

Re: scala build

2014-11-04 Thread Peter Donald
Hi, On Mon, Nov 3, 2014 at 8:51 PM, Jean-Philippe Caruana wrote: > But it still doesn't work: > Expected ./target/querySimulator-1.0.0-SNAPSHOT.tgz to not contain > 'lib/scala-compiler-2.10.4.jar' > Buildr aborted! > RuntimeError : Checks failed for project querySimulator (see errors above). >

Re: scala build

2014-11-03 Thread Jean-Philippe Caruana
Hi, yes, you're correct, I am using a local file dependency: $ cat build.yml scala.version: 2.10.4 SOrry for wasting your time with too few information. But it still doesn't work: Expected ./target/querySimulator-1.0.0-SNAPSHOT.tgz to not contain 'lib/scala-compiler-2.10.4.jar' Buildr aborted! R

Re: scala build

2014-10-31 Thread Peter Donald
Hi, It looks like you are using a local/file dependency which I did not account for. So what you need to do is add the prefix like "!a.respond_to?(:to_spec) || " in your select block. I have updated the example [1] to demonstrate this. HTH [1] https://github.com/realityforge/buildr-examples/comm

Re: scala build

2014-10-31 Thread Jean-Philippe Caruana
Hi Peter, thank you for your answer. I tried the solution you gave, but it doesn't compile : $ buildr --version Buildr 1.4.20 $ buildr package (in /home/jp/src/t2s/performance-tests/querySimulator, development) sh: 2: Syntax error: EOF in backquote substitution Buildr aborted! NoMethodError : un

Re: scala build

2014-10-30 Thread Peter Donald
Hi, The easiest way to do this is probably replace compile.dependencies with compile.dependencies.select {|a| a.to_spec != 'org.scala-lang:scala- compiler:jar:2.10.4'} I put together an example of this at https://github.com/realityforge/buildr-examples/tree/master/include_select_deps HTH O