On Sat, 2 Feb 2013 05:01:31 -0800 (PST)
Paweł Rzeczewski <
odwr...@gmail.com> wrote:
> Hi,
>
> I have a common library project that I use in many others:
> lazy val commonLib = Project("CommonLib", PATH_TO_COMMON_LIB, setting =
> buildSettings ++ ... ++ Seq(libraryDependencies ++= ...))
> lazy val mainProject = Project("Main", "main") dependsOn(commonLib)
> The settings and dependencies changes very often, which makes working on
> many projects simultaneously very difficult.
>
> How do you "import" an externally (with all settings and dependencies)
> defined project to SBT Build?
It seems this is no longer in the main documentation, which surprised me. It probably didn't get reintegrated as part of some cleanup (and I was probably the one who did it). For now, see:
http://stackoverflow.com/questions/14351940/setting-up-sbt-environment-to-hack-on-multiple-libraries-at-once/14352600
http://stackoverflow.com/questions/11653435/sbt-reference-external-sbt-project-from-sbt-project
This is too important of a feature to be left out for long- could you open a bug for this to be documented?
Thanks,
Mark
> Thanks in advance,
> Etam.
>
> --
> 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-t...@googlegroups.com.
> To post to this group, send email to
simple-b...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/simple-build-tool?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>