play! First

1. download last play! from http://www.playframework.org/download current: play-1.2.5.zip

2. unzip

3. http://www.playframework.org/documentation/1.2.5/home

4. set path: /path/to/play-1.2.5

5. cmd: play install japid-0.9.5

6. cmd: play new project_name --with japid

7. modify project_name/conf/application.conf , add content:

module.japid=${play.path}/modules/japid-0.9.5

japid.trace.file=false
japid.trace.file.html=true
japid.trace.file.json=true
japid.dump.request=true

8. cmd: cd project_name

9. cmd: play japid:mkdir

10. cmd: play run

11.  http://localhost:9000

12. cmd: play eclipsify or play eclipsify project_name

13. copy /path/to/play-1.2.5/modules/japid-0.9.5/eclipse-plugin/org.playframework.playclipse_0.9.5.jar to eclipse/dropins/eclipse/plugins

14. restart eclipse

15. import project to eclipse


 


你可能感兴趣的:(JAVA,play!,web,cmd,eclipse,download,import,path)