문제

재생 설명서에서 링크를 찾았습니다 ( http://www.playframework.com재생 프로젝트를 Eclipse 프로젝트로 변환하는 방법을 설명하는 /documentation/1.2.4 / dide ).

i 다음 단계를 따르지 만 재생은 새로 생성 된 응용 프로그램을 허용하지 않습니다.

  • 재생이 내 응용 프로그램을 수락하지 않는 이유는 무엇입니까?

나는 사용 중입니다 :

  • Scala : Scala 코드 러너 버전 2.9.2 - Copyright 2002-2011, 램프 / EPFL
  • 2.2.1
  • 를 재생합니다

재생 응용 프로그램을 만듭니다

/play-2.2.1$ ./play new hello
       _
 _ __ | | __ _ _  _
| '_ \| |/ _' | || |
|  __/|_|\____|\__ /
|_|            |__/

play 2.2.1 built with Scala 2.10.2 (running Java 1.7.0_40), http://www.playframework.com

The new application will be created in /home/<user>/programming/play-2.2.1/hello
What is the application name? [hello]
> 

Which template do you want to use for this new application? 

  1             - Create a simple Scala application
  2             - Create a simple Java application

> 1
OK, application hello is created.

Have fun!
.

그러나 플레이는 응용 프로그램으로 인도를 받아들이지 않습니다

~/programming/play-2.2.1$ ./play eclipsify hello
       _
 _ __ | | __ _ _  _
| '_ \| |/ _' | || |
|  __/|_|\____|\__ /
|_|            |__/

play 2.2.1 built with Scala 2.10.2 (running Java 1.7.0_40), http://www.playframework.com

This is not a play application!

Use `play new` to create a new Play application in the current directory,
or go to an existing application and launch the development console using `play`.

You can also browse the complete documentation at http://www.playframework.com.
.

도움이 되었습니까?

해결책

이전 버전의 Play에 대한 설명서를보고 있습니다.버전에 대한 문서는 http:///www.playframework.com/documentation/2.2.1/ IDE .

사용하는 명령은 eclipse입니다.그것은 언젠가 2.0에서 2.1 사이에서 바뀌 었습니다.

Scala IDE 웹 사이트 P>

다른 팁

문서에서 제공되는 것보다 다른 명령을 사용해야한다는 것을 알게되었습니다. i eclipse 명령과 not eclipsify 명령을 사용했습니다.

>>> cd <my_application>
>>> ../play eclipse <my_application>
.

위의 명령은 나를 위해 일했습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top