2014-07-16 3 views

답변

2

수정을 위해 한 쌍의 설정이 있습니다. 예를 들어, 당신은이 작업을 수행 할 것 "술집"로 설정합니다 :

import com.typesafe.sbt.web.Import.WebKeys.public // For Play 2.5.x 
import com.typesafe.sbt.web.WebKeys.public // For Play 2.3.x 

public in Assets := webTarget.value/"pub"/"main", 

public in TestAssets := webTarget.value/"pub"/"test", 
+0

는 Assets' 및 – LoranceChen

+0

@LoranceChen은'WebKeys' 패키지의'공공 해결할 수없는 - 당신이 플레이 프레임 워크를 사용하고 있습니까? –

+1

예, 확실합니다 .'WebKeys'를 해결할 수 없습니다. 콘솔 출력'객체 WebKeys는 com.typesafe.sbt.web 패키지import com.typesafe.sbt.web.WebKeys.public 패키지의 구성원이 아닙니다. 내 프로젝트는 [play starter project] (https://github.com/playframework/play-scala)를 기반으로하며 SBT 구성을 거의 변경하지 않습니다. – LoranceChen

관련 문제