This page describes how to update one of your existing Ajax library projects.
Introduction
If you code against one of the popular Ajax libraries, such as Yahoo UI or MochiKit, you may need to update the libraries in your existing projects when one of these libraries is updated. Currently, you can manually update the libaries for your existing projects in Aptana.
Instructions
Note: These instructions are for Ajax projects created using the Ajax library project wizard in Aptana.
To update the libary for an existing project:
- In your Project View, navigate to your project and delete the lib folder that contains the outdated library that you are coding against.
- Import the current version of the library.
- In the Project View, right-click your project and select Import... from the context menu to open an Import pop-up window.
- On the Import pop-up window, select Ajax library import wizard.
- Click the Next button.
- On the Import JavaScript Library screen, check the box next to every library that you would like to import.
- Click the Finish button.
The Ajax library import wizard will import the lib folder containing the library source code for the libraries that you selected.
You can now code against your updated library.