Skip to content

Instantly share code, notes, and snippets.

@j5ik2o
Last active December 17, 2015 12:29
Show Gist options
  • Save j5ik2o/5609879 to your computer and use it in GitHub Desktop.
Save j5ik2o/5609879 to your computer and use it in GitHub Desktop.
play idea -> IDEAでビルドすると以下のエラー。

playからIDEAプロジェクトを生成する

$ play idea

IDEAでビルドする

scala: Output path ???-api/project/target/scala_2.9.2 is shared between: Module '???-domain-build' production, Module '???-infrastructure-build' production, Module '???-api-build' production, Module '???-domain-build' tests, Module '???-infrastructure-build' tests, Module '???-api-build' tests
Currently external Scala compiler prohibits output path sharing.
Either disable the external build mode or configure separate output paths.
TIP: you can use Project Artifacts to combine compiled classes.

プロジェクト構成

???-api
  app
  test
  modules/???-domain
            ???-domain-a
            ???-domain-b
  modules/???-infrastructure
            ???-infrastructure-a
            ???-infrastructure-b
Either disable the external build mode or configure separate output paths.

IDEAのExternal Build Modeをオフにすればいいらしい。確認したところ、ビルドエラーが解消された。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment