我在第一次看Play 2.0。我安裝了它使用自制播放框架和IntelliJ新項目的創建 - 錯誤
~/code $ brew info play play: stable 2.1.0, HEAD http://www.playframework.org/ /usr/local/Cellar/play/2.1.0 (3998 files, 254M) * https://github.com/mxcl/homebrew/commits/master/Library/Formula/play.rb
我創建一個新的項目,並設置它的IntelliJ(12.0.4)
~/code $ play new playtime ... play! 2.1.0 (using Java 1.7.0_15 and Scala 2.10.0), http://www.playframework.org ... OK, application playtime is created. ... ~/code $ cd playtime/ ~/code/playtime $ play idea ... ... [info] Created /.../playtime/.idea_modules/playtime.iml [info] Created /.../playtime/.idea_modules/playtime-build.iml ~/code/playtime $
我打開的IntelliJ和重建項目。我得到
scala: Output path /.../playtime/project/target/scala_2.9.2 is shared between: Module 'playtime-build' production, Module 'playtime-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.
- 如何使建立一個乾淨的空項目?
- 爲什麼Play創建一個-build模塊?它是幹什麼用的?
- 爲什麼這個模塊引用一個Scala 2.9.2路徑?
- 庫scala-2.9.2和scala-2.10.0也已創建,但未使用。爲什麼?
對此有何更新?我面臨同樣的問題,Play 2.1.1 RC2,IDEA 12.0.4。 – Haspemulator 2013-03-27 21:39:35