des.magner | 20 Sep 13:34 2014
Picon

Setting a jvm option with xsbt-plugin

Hi

I want to pass an environment variable when running container:start from sbt. So I have tried adding

 javaOptions in container := Seq("-Dmyvar=xxx")

to my build.scala, as outlined in the xsbt plugin documentation. But this is having no effect when I run container:start. Can someone suggest what I might be missing?

Thanks
Des

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Mar | 12 Sep 02:11 2014
Picon

[SBT 0.13.5] A hopefully constructive short story about SBT

Let me start by saying that I quite like SBT, in theory.

In practice, the threshold is steep, or maybe the documentation simply not suffucient to explain or ratify why things work as they do. Anyway, after having sunk 10+ hours into trying to set up a simple project in a manner that to me would seem intuitive, I’m left feeling frustrated and frankly quite stupid.

I will use my project as an example. What I am trying to achieve is the following structure

root-project '- core '- admin-web (Play-project, depends on core) '- user-web (Play-project, depends on core)

I create this structure by issuing

mkdir root-project cd root-project mkdir core activator new admin-web play-scala activator new user-web play-scala

My reason for having this structure is I want the two web-artifacts to be individually deployable. Seems reasonable enough, I think.

Running sbt projects gives the following output

[info] Loading global plugins from /Users/martin/.sbt/0.13/plugins [info] Set current project to root-project (in build file:/Users/martin/dev/scala/root-project/) [info] In file:/Users/martin/dev/scala/root-project/ [info] * root-project

SBT doesn’t look for sub-projects on its own. That’s ok I guess; I need to define the web project’s dependency on core anyhow. Still, I would expect it to consider sub-projects part of the build by default.

I add a build.sbt-definition at root-project/build.sbt:

name := "my project" scalaVersion := "2.11.2" lazy val root = project in file(".") lazy val core = project lazy val `admin-web`, `user-web` = project.dependsOn(core)

And running SBT:

martin <at> mbp ~/dev/scala/root-project]$ sbt [info] Loading global plugins from /Users/martin/.sbt/0.13/plugins /Users/martin/dev/scala/root-project/user-web/build.sbt:5: error: not found: value PlayScala lazy val root = (project in file(".")).enablePlugins(PlayScala) ^ sbt.compiler.EvalException: Type error in expression at [stacktrace of death]

This is totally unintuitive to me. Both Play-projects have their own plugin dependencies declared in their corresponding projects/-directories but for some reason I am forced to pull it out to the root-project level. Why? Shouldn’t it be turtles all the way down?

So I copy the projects-folder up one level from one of the web projects (cp -R admin-web/project .) and add the dependencies to my build.sbt

lazy val `admin-web`, `user-web` = project.dependsOn(core).enablePlugins(PlayScala)

Let’s try it again

[martin <at> mbp ~/dev/scala/root-project]$ sbt projects [info] Loading global plugins from /Users/martin/.sbt/0.13/plugins [info] Loading project definition from /Users/martin/dev/scala/root-project/project [info] Set current project to my project (in build file:/Users/martin/dev/scala/root-project/) [info] In file:/Users/martin/dev/scala/root-project/ [info] admin-web [info] core [info] * root [info] user-web

Looks good! Let’s try running one of the projects

[martin <at> mbp ~/dev/scala/root-project]$ sbt 'admin-web/run' [info] Loading global plugins from /Users/martin/.sbt/0.13/plugins [info] Loading project definition from /Users/martin/dev/scala/root-project/project [info] Set current project to my project (in build file:/Users/martin/dev/scala/root-project/) [info] Updating {file:/Users/martin/dev/scala/root-project/}admin-web... [info] Resolving core#core_2.11;0.1-SNAPSHOT ... [warn] module not found: core#core_2.11;0.1-SNAPSHOT [warn] ==== local: tried [warn] /Users/martin/.ivy2/local/core/core_2.11/0.1-SNAPSHOT/ivys/ivy.xml [warn] ==== public: tried [warn] http://repo1.maven.org/maven2/core/core_2.11/0.1-SNAPSHOT/core_2.11-0.1-SNAPSHOT.pom [warn] ==== Typesafe Releases Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/core/core_2.11/0.1-SNAPSHOT/core_2.11-0.1-SNAPSHOT.pom [info] Resolving jline#jline;2.11 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: core#core_2.11;0.1-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: sbt.ResolveException: unresolved dependency: core#core_2.11;0.1-SNAPSHOT: not found

Say what? Ok, so the core-directory is empty but the declaration is right there in my build.sbt. Why is SBT looking for this artifact on Maven and Ivy?

To get the ball rolling I decide to remove the dependency on the core-project for now, then

[martin <at> mbp ~/dev/scala/root-project]$ sbt 'admin-web/run' [info] Loading global plugins from /Users/martin/.sbt/0.13/plugins [info] Loading project definition from /Users/martin/dev/scala/root-project/project [info] Set current project to my project (in build file:/Users/martin/dev/scala/root-project/) [info] Updating {file:/Users/martin/dev/scala/root-project/}admin-web... [info] Resolving jline#jline;2.11 ... [info] Done updating. --- (Running the application from SBT, auto-reloading is enabled) --- [info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000 (Server started, use Ctrl+D to stop and go back to the console...)

Looks good! A quick curl to make sure it’s up and running..

> curl localhost:9000 [error] application - ! Internal server error, for (GET) [/] -> java.util.NoSuchElementException: None.get at scala.None$.get(Option.scala:313) ~[scala-library-2.11.1.jar:na] at scala.None$.get(Option.scala:311) ~[scala-library-2.11.1.jar:na] at play.PlayReloader$$anon$1.reload(PlayReloader.scala:88) ~[na:na] at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:122) ~[play_2.11-2.3.4.jar:2.3.4] at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:120) ~[play_2.11-2.3.4.jar:2.3.4] [warn] play - No application found at invoker init

In all fairness this is probably a Play oddity… but why does it have to be so complicated?


Now, I’ve thought about this post for a couple of days. I’m sorry if it’s written in an unpalatable manner but I’m not quite sure how to present the issue in a friendly manner while conveying my frustration and experience of new beginner’s intuition-failing-repeatedly.

I have delved deeper than this into SBT (and Play Framework) trying to get everything set up like I want, but it seems I’m always touching on a corner-case or plain oddity. Maybe I’m just not cut out to set up build definitions..

Finally, I have a list of a few humble questions/suggestions that may be totally outrageous according to the grander scheme of things SBT. If they are I would be happy to have someone explain why they are. I have been googling for weeks trying to figure this stuff out.

  • It is stated that SBT is recursive in nature. This seems like a sane thing;
  • Based on previous bullet point, it would seem intuitive that sub-projects should be automatically collected by their parent-project without having to spell it out using lazy val declarations; inter-project dependencies would be specified using paths of project rather than name ((project in file("a")) dependsOn (project in file("b")) (but it should maybe be called path rather than file);
  • The previous bullet point basically removes the distinction between a root-project and a sub-project; a project with no parent is a root-project;
  • This also means that with the hierarchy Foo > Bar > Baz, compiling Foo will compile Foo, Bar and Baz, while compiling Bar would compile Bar + Baz;
  • As sub-projects have no knowledge of their parent project[s], they should pull plugins from their own project/-folder (really!);
  • Sub-projects should inherit their parent project’s settings where sane, like scalaVersion/organization/scalac-/javacOptions, removing the need to specify every other key as in ThisBuild (maybe these should indeed be considered build settings and be separated from the project settings?)
  • ThisBuild seems superfluous anyway since settings can still be overridden by sub-projects. If defined in a sub-project, the setting should overrule/extend the parent’s setting just like you'd expect.
  • It would seem intuitive to stow all things build-related into a local .sbt-directory, much like git stores its references. This would get them out of the way of the actual code while still keeping them around.

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Raymond Barlow | 10 Sep 15:28 2014
Picon

Dependency resolution on newly published artefacts

Hi everyone,

I quite often publish new versions of libraries, to maven central, sonatype, etc.. and then go to use it in another app.

For the 1st haf hour, after I have published the artefact, SBT seems to not be able to resolve it. As an example, today I published version 1.0.88 of Clairvoyance. Once the build had finished and it had been published, I tried to use it from another app. using sbt update, I get output like this for the first half-hour or so.

$ sbt update
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[info] Loading global plugins from /Users/me/.sbt/0.13/plugins
[info] Loading project definition from /Users/me/dev/projects/boost/project
[info] Set current project to boost (in build file:/Users/me/dev/projects/boost/)
[info] Updating {file:/Users/me/dev/projects/boost/}root...
[info] Resolving com.github.rhyskeepence#clairvoyance-scalatest_2.10;1.0.88 ...
[warn] module not found: com.github.rhyskeepence#clairvoyance-scalatest_2.10;1.0.88
[warn] ==== local: tried
[warn] /Users/me/.ivy2/local/com.github.rhyskeepence/clairvoyance-scalatest_2.10/1.0.88/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/github/rhyskeepence/clairvoyance-scalatest_2.10/1.0.88/clairvoyance-scalatest_2.10-1.0.88.pom
[warn] ==== releases: tried
[warn] http://oss.sonatype.org/content/repositories/releases/com/github/rhyskeepence/clairvoyance-scalatest_2.10/1.0.88/clairvoyance-scalatest_2.10-1.0.88.pom
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/maven-releases/com/github/rhyskeepence/clairvoyance-scalatest_2.10/1.0.88/clairvoyance-scalatest_2.10-1.0.88.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.github.rhyskeepence#clairvoyance-scalatest_2.10;1.0.88: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::


Now the weird thing is that, while SBT is telling me this, I can MANUALLY go to
http://oss.sonatype.org/content/repositories/releases/com/github/rhyskeepence/clairvoyance-scalatest_2.10/1.0.88/clairvoyance-scalatest_2.10-1.0.88.pom
and download the pom fine.

Eventually, when it does download (usually about half an hour), it downloads from maven:

[info] downloading https://repo1.maven.org/maven2/com/github/rhyskeepence/clairvoyance-scalatest_2.10/1.0.88/clairvoyance-scalatest_2.10-1.0.88.jar ...
[info] [SUCCESSFUL ] com.github.rhyskeepence#clairvoyance-scalatest_2.10;1.0.88!clairvoyance-scalatest_2.10.jar (915ms)
[info] downloading https://repo1.maven.org/maven2/com/github/rhyskeepence/clairvoyance-core_2.10/1.0.88/clairvoyance-core_2.10-1.0.88.jar ...
[info] [SUCCESSFUL ] com.github.rhyskeepence#clairvoyance-core_2.10;1.0.88!clairvoyance-core_2.10.jar (919ms)


1. Why can't sbt get the files successfully from sonatype when they actually seem to be there?
2. Why does it take so long?

Cheers,
Raymond

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Caoilte O'Connor | 19 Aug 18:26 2014
Picon

Fwd: [scalatest-users] insufficient context in test failure because of IllegalAnnotationException

Hi,
I get the following JAXB error from sbt when one of my scalatest tests fail

[info] - A Simple class serializes correctly *** FAILED ***
[info]   com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
[info]   at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)

which is insufficient to understand the nature of the problem. I get much more detail in IntelliJ when I run the test there

1 counts of IllegalAnnotationExceptions
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
If a class has <at> XmlElement property, it cannot have <at> XmlValue property.
this problem is related to the following location:
at private final java.lang.String org.caoilte.model.Text.content3
at org.caoilte.atomizer.model.Text
this problem is related to the following location:
at private final java.lang.String org.caoilte.model.Text.text2
at org.caoilte.model.Text

at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:91)

Could there be an SBT deficiency preventing the entire stack from being printed? (I've already posted to the scalatest mailing list but it occurred to me that it works fine for scalatest in intellij - so it's more likely to be sbt)

c

--
You received this message because you are subscribed to the Google
Groups "scalatest-users" group.
To post to this group, send email to scalatest-users <at> googlegroups.com
To unsubscribe from this group, send email to
scalatest-users+unsubscribe <at> googlegroups.com
For more options, visit this group at
http://groups.google.com/group/scalatest-users?hl=en
ScalaTest itself, and documentation, is available here:
http://www.artima.com/scalatest
---
You received this message because you are subscribed to the Google Groups "scalatest-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalatest-users+unsubscribe <at> googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Luchesar Cekov | 18 Aug 12:38 2014
Picon

bintray-sbt cannot publish

I am trying to publish my project to bintray following the instruction to the letter from: https://github.com/softprops/bintray-sbt/blob/0.1.2/README.md


I keep getting:
java.lang.RuntimeException: was not able to find or create a package for luchesar in repo maven named sbt.SettingKey$$anon$4 <at> 6028e736
at scala.sys.package$.error(package.scala:27)
at bintray.Plugin$$anonfun$ensurePackageTask$1.apply(Plugin.scala:72)
at bintray.Plugin$$anonfun$ensurePackageTask$1.apply(Plugin.scala:45)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)

 Sounds really confusing to me and looks like nobody else has experience anything like that... Any suggestions?

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Xin Yao | 18 Aug 07:58 2014
Picon

How to get all the plugin infos in sbt task

Hi:

I am writing a sbt task. In this task, I want to get the list of plugins used by current project.

I have tried the keys: sbt.Keys.pluginData, sbt.Keys.definedSbtPlugins, but seems they are all not defined in scope compile.

The only way I can find now, is to scan and parse ./project/plugins.sbt and all the separate plugins.sbt file.

Is there any elegant way to do this.

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Maatary Okouya | 17 Aug 16:49 2014
Picon

Resolver issue when offline (without connection)

I try to work on my project while in an no internet connection zone. To my surprise, sbt is having trouble in that situation. Although, i'm supposed to have my libraries in the cache (given that i initially started the project online), sbt can't resolve some dependency. 


***Sbt can't fetch my local maven repository, neither can he find some other dependency that i thought he downloaded already (i.e. in the cache).*** 


*

>> My question is: how to ensure that  when i have the connection, sbt fetches the libs in the cache ONCE, so that when i don't have it, it fetches all my local repo including the one of maven.

 I'm asking this because to my understanding of the current situation (i.e. when no internet connection is available):

 1. sbt has trouble downloading from the maven cache
 2. sbt can find find most of my dependency in ivy local
 3. sbt can't find some specific dependency that for certain reasons,
    apparently were not cached.


For instance here is a trace of libs that sbt was supposed to have cached already but can't find when i don't have my connection

    [warn]   file:///Users/maatary/.m2/repository/com/google/inject/extensions/guice-assistedinject/4.0-beta4/guice-assistedinject-4.0-beta4.pom
    [info] Resolving com.google.inject.extensions#guice-multibindings;4.0-beta4 ...
    **[warn] Host repo1.maven.org not found.** url=http://repo1.maven.org/maven2/com/google/inject/extensions/guice-multibindings/4.0-beta4/guice-multibindings-4.0-beta4.pom
    **[info] You probably access the destination server through a proxy server that is not well configured.**
    [warn]  module not found: com.google.inject.extensions#guice-multibindings;4.0-beta4
    **[warn] ==== local: tried
    [warn]   /Users/maatary/.ivy2/local/com.google.inject.extensions/guice-multibindings/4.0-beta4/ivys/ivy.xml**
    [warn] ==== public: tried
    [warn]   http://repo1.maven.org/maven2/com/google/inject/extensions/guice-multibindings/4.0-beta4/guice-multibindings-4.0-beta4.pom
    [warn] ==== Local Maven Repository: tried
    [warn]   file:///Users/maatary/.m2/repository/com/google/inject/extensions/guice-multibindings/4.0-beta4/guice-multibindings-4.0-beta4.pom
    [info] Resolving jline#jline;2.12 ...                                          
    [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]  ::          UNRESOLVED DEPENDENCIES         ::
    [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]  :: com.google.inject.extensions#guice-assistedinject;4.0-beta4: not found
    [warn]  :: com.google.inject.extensions#guice-multibindings;4.0-beta4: not found

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Maatary Okouya | 16 Aug 17:43 2014
Picon

Sbt when no internet connection

Hi, 


I try to work on my project while in an no internet connection zone. So my wifi connection was out.  The network icon if off. To my surprise sbt is having trouble in that situation. Although, i have normally my library in the cache, sbt can't resolve some dependency. 


Sbt can't fetch my local maven repository neither can he find some other dependency that i thought he downloaded already. 


My question is, how to ensure that he fetch libs once when i have the connection and when i don't have it, making sure that he fetch all my local repo including the one of maven. 


My guess is he could find all the libs that he cached, but not the maven local repo and not certain lib that i don't understand why they where not cached. 


For instance here is a trace

[warn]   file:///Users/maatary/.m2/repository/com/google/inject/extensions/guice-assistedinject/4.0-beta4/guice-assistedinject-4.0-beta4.pom
[info] Resolving com.google.inject.extensions#guice-multibindings;4.0-beta4 ...
[warn] Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/com/google/inject/extensions/guice-multibindings/4.0-beta4/guice-multibindings-4.0-beta4.pom
[info] You probably access the destination server through a proxy server that is not well configured.
[warn]  module not found: com.google.inject.extensions#guice-multibindings;4.0-beta4
[warn] ==== local: tried
[warn]   /Users/maatary/.ivy2/local/com.google.inject.extensions/guice-multibindings/4.0-beta4/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/google/inject/extensions/guice-multibindings/4.0-beta4/guice-multibindings-4.0-beta4.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///Users/maatary/.m2/repository/com/google/inject/extensions/guice-multibindings/4.0-beta4/guice-multibindings-4.0-beta4.pom
[info] Resolving jline#jline;2.12 ...                                          
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.google.inject.extensions#guice-assistedinject;4.0-beta4: not found
[warn]  :: com.google.inject.extensions#guice-multibindings;4.0-beta4: not found

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Maatary Okouya | 15 Aug 11:41 2014
Picon

Starting a Gui application from within SBT (OSX)

I am trying to start a jface/swt application (I know oldschool but legacy demand),from within SBT. jface/swt application requires the option "-XstartOnFirstThread"

I have tried to add

javaOptions := Seq("-XstartOnFirstThread", "-d64"), fork in run := true

But it does not work. Any idea how i can do that? or even if it possible?

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Maatary Okouya | 13 Aug 19:52 2014
Picon

help with sbt assembly

I am trying to publish an assembly artifact. The code online does not work in my build based on sbt 0.13.5.

I resorted to use a technics seen in a book:

lazy val assemblyArtifact = Def.setting { artifact.value.copy(classifier = Some("assembly")) }   artifacts += assemblyArtifact.value   packagedArtifacts +=   assemblyArtifact.value -> assemblyArtifact.value

which sounds ok to me still does not work, because of the last line:

assemblyArtifact.value -> assemblyArtifact.value

the compiler says:

error: No implicit for Append.Value[Map[sbt.Artifact,java.io.File], (sbt.Artifact, sbt.Artifact)] found, so (sbt.Artifact, sbt.Artifact) cannot be appended to Map[sbt.Artifact,java.io.File] packagedArtifacts += assemblyArtifact.value -> assemblyArtifact.value

I try to figure it out but i don't see any fix to that.

Do anyone has an idea ?

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Maatary Okouya | 13 Aug 15:03 2014
Picon

What is SBT global scope, how does it works ?

I have red the Doc on the different Scopes in SBT, but I have trouble being comfortable with the global scope Axis. I just don't understand in simple terms what does it correspond to?

Can someone provided a more elaborated but simpler explanation of the Global Scope than what in on the current Doc.

My first guess is that it is something encompassing the project scope. Something like for all project.

I would appreciate if one could take a bit of time to explain it.

Many thanks,

M

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-tool+unsubscribe <at> googlegroups.com.
To post to this group, send email to simple-build-tool <at> googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.

Gmane