先下载Aptana Studio 3安装包,它是基于Eclipse的Web Application IDE;
然后下载Sencha-touch-2.1.0-gpl.zip,并解压(Sencha Touch是一款基于HTML5的Mobile App框架)。
最后再Aptana中安装插件:
1. Into Aptana Studio go to Help -> Install New Software
2. Click "Add" to add a repository
Name: Spket IDE
Location:http://www.agpad.com/update/In "Work with:" list select the item u just added A list will appear wit 3 repositoryes for Spket IDE. (Spket IDE, Spket Text Editor and Xerces for Spket IDE) Install all of them
3. Download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar
Replace the existing file located in "C:\Program Files\Appcelerator\Aptana Studio 3\plugins" or where did you installed Aptana (in "plugins" folder) You must install this because Spket only supports format "jsb1" and "jsb2". With this fix it will support "jsb3" (wich Sencha Touch use it).
4. In Aptana Studio go to Windows -> Preferences -> Spket -> Javascript Profiles
Click "New" and write "SenchaTouch"
Select "SenchaTouch" and click "Add Library" and select "ExtJs" from the list displayed
Select "ExtJs" and click "Add File" Locate youre "sencha-touch-all-debug.js" wich is containted in the zip file downloaded from sencha.com. (make sure all the files from that archive are located in the same folder) ....and click "Open"
Select "SenchaTouch" again and click "Default" button
Click "OK"
参考文章:http://stackoverflow.com/questions/10800044/sencha-touch-ide-or-editor/10814066#10814066
然后下载Sencha-touch-2.1.0-gpl.zip,并解压(Sencha Touch是一款基于HTML5的Mobile App框架)。
最后再Aptana中安装插件:
1. Into Aptana Studio go to Help -> Install New Software
2. Click "Add" to add a repository
Name: Spket IDE
Location:http://www.agpad.com/update/In "Work with:" list select the item u just added A list will appear wit 3 repositoryes for Spket IDE. (Spket IDE, Spket Text Editor and Xerces for Spket IDE) Install all of them
3. Download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar
Replace the existing file located in "C:\Program Files\Appcelerator\Aptana Studio 3\plugins" or where did you installed Aptana (in "plugins" folder) You must install this because Spket only supports format "jsb1" and "jsb2". With this fix it will support "jsb3" (wich Sencha Touch use it).
4. In Aptana Studio go to Windows -> Preferences -> Spket -> Javascript Profiles
Click "New" and write "SenchaTouch"
Select "SenchaTouch" and click "Add Library" and select "ExtJs" from the list displayed
Select "ExtJs" and click "Add File" Locate youre "sencha-touch-all-debug.js" wich is containted in the zip file downloaded from sencha.com. (make sure all the files from that archive are located in the same folder) ....and click "Open"
Select "SenchaTouch" again and click "Default" button
Click "OK"
参考文章:http://stackoverflow.com/questions/10800044/sencha-touch-ide-or-editor/10814066#10814066
本教程详细介绍了如何利用AptanaStudio3和Sencha Touch 2.1构建Web应用程序。首先,通过下载并安装AptanaStudio3和Sencha Touch框架,然后在Aptana中安装特定插件,实现对Sencha Touch的支持。最终,通过替换文件和配置偏好设置,使Sencha Touch能够正确运行,提供一个全面的Web开发流程。
119

被折叠的 条评论
为什么被折叠?



