2012-09-11 22 views
1

有沒有人能夠通過使用增量資產編譯根據http://www.playframework.org/documentation/2.0.3/Assets加快他們的開發?如何使用play的incrementalAssetsCompilation

我無法得到它的工作,如果我添加incrementalAssetsCompilation:=真我Build.scala文件,我得到一個編譯錯誤

Build.scala:16:未發現:價值incrementalAssetsCompilation [錯誤] incrementalAssetsCompilation:=真 [錯誤]^ [錯誤]一個錯誤發現

我Build.scala看起來像這樣,

val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
    // Add your own project settings here 
    incrementalAssetsCompilation := true 
) 

任何想法?

回答

1

我想提交有關這一功能並沒有去到2.0.3版本:-(

如果你看高手版的PlayKeys.scala file的,你會發現incrementalAssetsCompilation關鍵,但不是在2.0.3 version

+0

那麼這可以解釋它,謝謝。雖然它並沒有讓我感到高興,但是;-)感覺像Play的質量有點滑落,文檔中出現很多錯誤和缺失的東西,相比較慢的開發環境1.x等 – nylund

+0

請毫不猶豫地在郵件列表上提供以下反饋:https://groups.google.com/forum/#!forum/play-framework –

相關問題