[size=medium]Myeclipse下使用ext的插件有三种方式:
一、配置在线使用:
打开myeclipse:
1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site...
Name: "Spket", Url: "http://www.spket.com/update/"下载完毕重启 Eclipse
2、Window -> Preferences -> Spket -> JavaScript Profiles -> New ;
输入 “ExtJS”点击OK;
选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件;
3、设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
4、 JS打开方式为 Window -> Preferences ->General-> Editors-> File...选择JS 为 Spket JavaScript Editor(default)*********(这个不要忘!!!)
二、网上下载spket-1.6.16.jar破解版(目前最新版本) [/size]
[img]http://dl.iteye.com/upload/attachment/232659/4532c300-6676-32c2-beda-67b32a5978dc.jpg[/img]
[size=medium]1.如果你的JDK在1.6以上,可以直接双击spket-1.6.16.jar运行安装。
[img]http://dl.iteye.com/upload/attachment/232661/007e2a0d-bb3f-3459-8ca7-a58083207100.jpg[/img]
2.
[img]http://dl.iteye.com/upload/attachment/232663/25022756-1ce1-3e2b-a305-c02a982c7b44.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232676/244ecaa2-3312-3925-bfd7-4e358037a7f1.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232680/0f1360d2-9e32-3a89-9e1b-4557027219c1.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232682/ce2de6bf-13af-3279-92fa-a325f3e8cd2a.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232684/e0c52e62-2148-3fe7-8fbb-e64d6c0e6500.jpg[/img]
至此,安装完成。
二、配置Spket
注意:如果在安装spket过程中,你的eclipse或者Myeclipse是打开的,请重启eclipse或者Myeclipse。以便初始化插件,下面才会在Preferences中看到 Spket选项。
基本步骤如下:
1)Window → Preferences → Spket ;
[img]http://dl.iteye.com/upload/attachment/232689/780c020a-343b-3c03-af24-ff7557318d5d.jpg[/img]
2)Spket → JavaScript Profiles → New, 输入“ExtJS”点击OK;
[img]http://dl.iteye.com/upload/attachment/232691/7525c4eb-2589-30ea-952e-1af135e2a300.jpg[/img]
3)选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
[img]http://dl.iteye.com/upload/attachment/232693/7101624c-33f9-3306-8123-b773dc252c40.jpg[/img]
4)选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件(注:是下载的ext的源文件和api文档);
[img]http://dl.iteye.com/upload/attachment/232695/b0ce3538-0e75-3869-b193-2129db6238ae.jpg[/img]
5)设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
[img]http://dl.iteye.com/upload/attachment/232697/952127f0-a3c0-3888-9a0e-c622518781a2.jpg[/img]
下面这个操作,根据自己需要设置(可以全选)。
[img]http://dl.iteye.com/upload/attachment/232699/5e9caaae-ca1c-353a-b471-99c2c5a8d6cd.jpg[/img]
6)重启eclipse或者Myeclipse;
[/size]
一、配置在线使用:
打开myeclipse:
1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site...
Name: "Spket", Url: "http://www.spket.com/update/"下载完毕重启 Eclipse
2、Window -> Preferences -> Spket -> JavaScript Profiles -> New ;
输入 “ExtJS”点击OK;
选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件;
3、设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
4、 JS打开方式为 Window -> Preferences ->General-> Editors-> File...选择JS 为 Spket JavaScript Editor(default)*********(这个不要忘!!!)
二、网上下载spket-1.6.16.jar破解版(目前最新版本) [/size]
[img]http://dl.iteye.com/upload/attachment/232659/4532c300-6676-32c2-beda-67b32a5978dc.jpg[/img]
[size=medium]1.如果你的JDK在1.6以上,可以直接双击spket-1.6.16.jar运行安装。
[img]http://dl.iteye.com/upload/attachment/232661/007e2a0d-bb3f-3459-8ca7-a58083207100.jpg[/img]
2.
[img]http://dl.iteye.com/upload/attachment/232663/25022756-1ce1-3e2b-a305-c02a982c7b44.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232676/244ecaa2-3312-3925-bfd7-4e358037a7f1.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232680/0f1360d2-9e32-3a89-9e1b-4557027219c1.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232682/ce2de6bf-13af-3279-92fa-a325f3e8cd2a.jpg[/img]
[img]http://dl.iteye.com/upload/attachment/232684/e0c52e62-2148-3fe7-8fbb-e64d6c0e6500.jpg[/img]
至此,安装完成。
二、配置Spket
注意:如果在安装spket过程中,你的eclipse或者Myeclipse是打开的,请重启eclipse或者Myeclipse。以便初始化插件,下面才会在Preferences中看到 Spket选项。
基本步骤如下:
1)Window → Preferences → Spket ;
[img]http://dl.iteye.com/upload/attachment/232689/780c020a-343b-3c03-af24-ff7557318d5d.jpg[/img]
2)Spket → JavaScript Profiles → New, 输入“ExtJS”点击OK;
[img]http://dl.iteye.com/upload/attachment/232691/7525c4eb-2589-30ea-952e-1af135e2a300.jpg[/img]
3)选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
[img]http://dl.iteye.com/upload/attachment/232693/7101624c-33f9-3306-8123-b773dc252c40.jpg[/img]
4)选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件(注:是下载的ext的源文件和api文档);
[img]http://dl.iteye.com/upload/attachment/232695/b0ce3538-0e75-3869-b193-2129db6238ae.jpg[/img]
5)设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
[img]http://dl.iteye.com/upload/attachment/232697/952127f0-a3c0-3888-9a0e-c622518781a2.jpg[/img]
下面这个操作,根据自己需要设置(可以全选)。
[img]http://dl.iteye.com/upload/attachment/232699/5e9caaae-ca1c-353a-b471-99c2c5a8d6cd.jpg[/img]
6)重启eclipse或者Myeclipse;
[/size]