play 2.x:
把play项目导入eclipse:
1, 通过eclipsify命令生成eclipse需要的文件
[My first application] $ eclipsify
#或者在项目todolist目录下,执行play eclipsify
2,通过File/Import/General/Existing project,把既存项目导入Eclipse
调试项目:
[/color]
1,在项目todolist目录下,执行play debug run以debug模式启动服务器(或者在配置文件中把play项目改成DEV模式,会自动reload source并开启debug模式)
2,Eclipse中选中项目,右键->Debug As->Debug Configurations->Remote Java Application->右键->New->Port改成Play默认的JPDA端口9999->Debug
3,play framework的源代码在安装目录的framework文件夹下
如果对项目做了一些[color=red]重要修改(譬如修改了classpath, 切换play framework的位置),那么可以使用eclipsify 命令重新生成Eclipse相关配置文件
从生成后导入到Eclipse的项目的Java Build Path中可以看出,play framework lib目录下的lib是静态引入的,如果切换play的安装路径,需要重新生成eclipse相关配置文件。
直接参考安装目录下的文件play-2.0\documentation\Play 2.0 Documentation.pdf,或者参考
Setting-up your preferred IDE
play 1.x:参考:
Setting up your preferred IDE
一个play 1.x应用程序中的classpath以如下顺序构建:
- 1,应用程序中的conf文件夹
- 2,$PLAY_PATH/framework/play.jar
- 3,应用程序中的lib文件夹
- 4,$PLAY_PATH/framework/lib下的所有jar包
分享到:
相关推荐
android adt自带eclipse无法设置ndk路径,需要下载com.android.ide.eclipse.ndk_23.0.2.1259578.jar文件,然后复制到sdk 只带的eclipse目录的“plugins”下面,如我的复制到"D:\Android\adt-bundle-windows-x86_64-...
c9.ide.run.debug
c9.ide.run.debug.xdebug 和其他DBGP调试器的核心插件。 安装xdebug供php使用 sudo apt-get update sudo apt-get install -y php5-dev sudo pecl install xdebug sudo mkdir -p /etc/php5/mods-available echo " ;...
eclipse支持1.8时,需要替换一下。如果使用最新版本的eclipse,貌似用不上。 https://blog.csdn.net/quantum7/article/details/108227624
解决eclipse无NDK选项设置问题。复制到eclipse目录的“plugins”下面。如我的复制到"\eclipse\plugins\com.android.ide.eclipse.ndk_23.0.2.1259578.jar"
解决Eclipse 无NDK 选项问题,将com.android.ide.eclipse.traceview_23.0.2.1259578.jar 包放到Eclipse ->plugins文件夹下!
2. Open the package file appropriate to your Delphi version (ending with ".dpk") in the Delphi IDE. 3. If you are asked to upgrade the package choose "Delphi for Win32" and click ...
com.android.ide.eclipse.adt_12.0.0.v201106281929-138431.jarcom.android.ide.eclipse.adt_12.0.0.v201106281929-138431.jar
py源码格式keygen,可以在所有系统的python2.6/2.7下运行; 理论上支持wing ide 2.x 3.x 4.x版及所有系统; 仅供学习交流。
com.android.ide.eclipse.ndk_23.0.4.1468518.jar 解决eclipse无NDK选项设置问题。复制到eclipse目录的“plugins”下面。如我的复制到"\eclipse\plugins\com.android.ide.eclipse.ndk_23.0.4.1468518.jar" 然后重启...
智能Python开发环境.Wingware.WingIDE.Professional.v3.2.12.Win
Android Studio Chipmunk | 2021.2.1 Patch 2 Windows IDE 安装版 (64-bit)
CSR xIDE 3.6.2 环境下的N个源程序hid_dongle,ftp_server,hid_keyboard,hid_mouse,obex_server等
JEDI Code Format Integration Expert 1.0 for Delphi 2005lextm (CSDN.net ID)提供 ============= 功能 =============JEDI Code Format命令行工具的Delphi 2005 IDE集成专家。(需要下载JEDI Code Format项目的...
MPLAB XIDE 开发环境.zip
1.定位到一个frame driver.switchTo().frame("menuFrame"); 2.从一个frame切换到另一个frame,如:在PageA画面上click查询按钮,popup查询窗口,有时需要在这两个窗口之间进行切换 //定位到popup driver.switchTo...
wingide-6.0.x+python3.x 亲测可用,非常不错。相关教程网上一大堆。这里提供的是破解码源文件。
KIT3操作说明(MPLAB X IDE)
J2EE发展趋势 案例研究 J2EE Tutorial Java Pet Store Java Adventure Builder 钟情JBoss 4.x 全书内容安排 1 安装JBoss 4.x 2 安装JBoss-IDE 1.4.0 3 基于JBoss 4.x的JSF应用开发 ...
org.maven.ide.eclipse.jdt_0.12.1.20110112-1712.jar