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!
RuntimeError : Checks failed for project querySimulator (see errors above).
What stikes me is I used to remove scala-compiler years ago in a project
now dead in a company I left since. I kept the buildfile and this
worked, back in 2011:
lib_generee = package(:jar).exclude('.scala-deps')
livrable = package :tgz
livrable.include _('src/main/batch')
livrable.path('batch/lib').include
compile.dependencies.exclude('scala-compiler.jar'), lib_generee
$ cat build.yaml
junit: 4.8.2
scala.version: 2.8.1
scala.check: 1.7
scala.test: 1.2
How come this doesn't work anymore ?
What am i doing wrong ?
Thanks.
Le 31/10/2014 23:01, Peter Donald a écrit :
> 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/commit/2649848058d9213e8be928148686685d57ffb566
--
Jean-Philippe Caruana
http://www.barreverte.fr