2012-03-24 10 views
0

SBTでは、マルチモジュール用にフラットなディレクトリ構造を使用できますか?マルチモジュール用のフラットなディレクトリ構造ですか?

代わりに有していると、次のとおりです。

- parent 
    |- child_a 
    |- child_b 

は単に持っている:

- parent 
- child_a 
- child_b 

を私は後でを試して親project/Build.scalaを設定している:

lazy val child_a = Project(id = "child_a", 
    base = file("../child_a")) 

しかし、 sbt packageのようなsbtコマンドを実行すると、次のエラーが表示されます。

[error] java.lang.AssertionError: assertion failed: Directory D:\src\child_a is not contained in build root D:\src\parent 

答えて

0

私はこれが可能ではないと思います。

+1

右。ソースの依存関係を使用することはできますが、それは少し重いフットプリントです。 –

関連する問題