Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6196501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:39:12+00:00 2026-05-24T03:39:12+00:00

I have a project foo with two children foo-core and foo-cli, foo-cli depends on

  • 0

I have a project foo with two children foo-core and foo-cli, foo-cli depends on foo-core
(I come from Java/Maven and tried to transpose the parent module with 2 submodules architecture).
Following https://github.com/harrah/xsbt/wiki/Full-Configuration, I wrote my project/Build.scala this way:

import sbt._
import Keys._

object MyBuild extends Build {
      //Dependencies
      val slf4s = "com.weiglewilczek.slf4s" %% "slf4s" % "1.0.6"
      val slf4j = "org.slf4j" %% "slf4j-simple" % "1.5.6"
      val grizzled = "org.clapper" %% "grizzled-slf4j" % "0.5"
      val junit = "junit" % "junit" % "4.8" % "test"
      //End dependencies

  lazy val root : Project = Project("root", file(".")) aggregate(cli) settings(
    mainClass:= Some("Main")
  )

  lazy val core : Project = Project("core", file("core"), delegates = root :: Nil) settings(
    name := "foo-core",
    libraryDependencies ++= Seq(grizzled)

    )

  lazy val cli: Project = Project("cli", file("cli")) dependsOn(core) settings(
    name := "foo-cli",
    libraryDependencies ++= Seq(grizzled)
    )
}

This configuration does not work: grizzled library is not dowloaded when I run sbt reload;sbt +update (as indicated in http://software.clapper.org/grizzled-slf4j/) and thus the “import grizzli._” fail in my core and cli projects when I sbt compile.

Since I’m new to scala/sbt I imagine I’m doing something awful but can’t figure why since I’m confused with all sbt 0.7/sbt0.10 conflicting configurations that were suggested
(like Subproject dependencies in SBT).

Any idea? Hint that could help me?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:39:13+00:00Added an answer on May 24, 2026 at 3:39 am

    That’s grizzled, not grizzli you are using as dependency. The import is:

    import grizzled._
    

    This works here from console on project cli and project core, with nothing more than the configuration file above.

    Are you using SBT 0.10?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project written in Java (>1.5). Is it possible to write parts
Right now, I have two Eclipse projects - they both use Maven 2 for
I have a project with two silverlight apps (foo1 and foo2) and an ASP.NET
Situation I have two .NET solutions ( Foo and Bar ) and a common
Project 1: Foo Project 2: Bar If Foo depends on Bar, and both are
I have a project that I'm upgrading from 2008 to 2010. My problem is
In my project I have a method that creates a string from integers (using
I have successfully created my first django project. I have two apps in my
I have two projects, Foo Engine and Foo Webapp. Obviously, to run the webapp,
I have a Visual Studio 2008 C++ project for Windows Mobile 6 with two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.