2013-02-20 2 views
0

Play 2.1.0의 새 프로젝트에 대해 IDE를 설정하는 데 문제가 있습니다. 내가 넷빈즈를 선호하고 내가Play Framework 2.1 IDE 설치

play netbeans 

을 실행할 때 다음과 같은 오류 얻을 :

[error] Not a valid command: netbeans 
[error] Expected '/' 
[error] Expected ':' 
[error] Not a valid key: netbeans (similar: test, tags, streams) 
[error] netbeans 
[error]  ^

흥미롭게도 또한 이클립스 작동하지 않는 것,하지만이 아이디어에 대한 않습니다.

+0

'$ 플레이; 일식과 함께 소스 = 사실;'2.1 나를 잘 작동합니다. – atamanroman

+0

문제가 해결 되었습니까? –

답변

2

Netbeans 프로젝트 생성기를 사용하려면 종속성을 추가해야합니다.

Play does not have native Netbeans project generation support at this time. For now you can generate a Netbeans Scala project with the Netbeans SBT plugin .

plugins.sbt 파일 이제

resolvers += { 
    "remeniuk repo" at "http://remeniuk.github.com/maven" 
} 

libraryDependencies += { 
    "org.netbeans" %% "sbt-netbeans-plugin" % "0.1.4" 
} 

실행

먼저 편집

$ play netbeans 

출처 : Setting up your preferred IDE

관련 문제