This is my first time around here and I'm a newbie on SBT. I have a
project that has two different directories with unmanaged jars, using
SBT, i can easily define the "unmanagedBase" to one of these
directories, but I would need to do it on both folders.
The SBT documentation tells me to override the "unmanagedJars" task,
but I have been unsuccessful at that, any hints are very much
appreciated. Keep in mind I'm using the **.scala** build definition
and NOT the **.sbt** file.
Here's what I have done so far -> https://gist.github.com/1865332
-
Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr
Cheers,
Eugene.
>
> -
> Maurício Linhares
> http://techbot.me/ - http://twitter.com/#!/mauriciojr
>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>
sbt compile
And you will see it isn't able to compile as it isn't seeing the jar files.
-
Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr
Remember that when you initialize (with ":=" in your case) you don't
assign to a variable, but rather compute the Setting object that needs
to be put in project's settings.
I've made progress with your hint, now if I run:
sbt show unmanaged-tasks
It correctly lists all jars. But when I run:
sbt compile
The project still doesn't compile. Do I need to do something specific
to get it to compile correctly?
-
Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr
unmanagedJars in Compile := {
Can I assume Compile also includes Runtime and Test?
BTW, if you have an SO account, you can answer in there to grab some
points - http://stackoverflow.com/q/9346489/293686
-
Maurício Linhares
http://techbot.me/ - http://twitter.com/#!/mauriciojr
On Mon, Feb 20, 2012 at 11:32 AM, Eugene Vigdorchik