1.play eclipsify #myapp
转为eclipse目录结构
2.导入eclipse,一路next。
3.新增个Application
-Xms1536m
-Xmx2048m-Xdebug-Dplay.debug=yes-Dplay.id=-Dapplication.path="/Users/smallf/Documents/playwork/shxs"-Djava.endorsed.dirs="/Users/smallf/Documents/play-1.2.7/framework/play-1.2.7/framework/endorsed"-javaagent:"/Users/smallf/Documents/play-1.2.7/framework/play-1.2.7.jar"
注:-javaagent:"《替换为本地play包路径》/play-1.2.7/framework/play-1.2.7.jar"
-Dapplication.path="《play项目路径》"
-Djava.endorsed.dirs="/Users/smallf/Documents/play-1.2.7/framework/play-1.2.7/framework/endorsed" 可加可不加