首先需要下什么文件等等,个人觉得都是不需要的,当然原理上也是可以行得通的。最简单的方式就是如下:
官网上是这样说的:
jQuery (http://jquery.org)
Install the jQuery ruble and reference it:
- Commands > Install Bundle > jQuery
- Right click on a project, select Properties > Project Build Path and select the checkbox for jQuery 1.6.2.
If you already have the jQuery bundle:
- Choose Commands > Bundle Development > Update User Bundles
or
- Find the Aptana Rubles folder on your system
- Delete the Ruble
- Restart Studio
- Install the Ruble again as above
以上是对Aptana Studio 3单独版而言的,但是如果是作为eclipse插件的话,似乎就有点不同了。
Eclipse + apatana3 plugin:
在进行到如上第二步时,我们似乎并未发现
Project Build Path这个item条目。此时如果足够仔细,会发现你的工程视图中多了一个名称为JQuery的工程。
2.Right click on a project, select
Properties > Project References
and select the JQuery Project。
在工程引用中选中jquery的工程,All is OK!
Sayi,You Know,it is the best name at all the times.