jQuery and AIR: Importing an AIR project into an existing workspace
comments (0) Views: 7,750
Now that AIR tutorials and articles are becoming more and more widespread, and bloggers such as myself are offering complete projects which can be downloaded, I thought it would be a good idea to quickly review the proper way to take an existing project created in Aptana and import it into your Eclipse workspace. Sure you could create a new project on your own, then manually import the files...but that's too much work. Let Aptana work for you. As always, you can watch the video to the right for a quick reference. We'll be importing the project created during my jQuery and AIR: Writing content to the file system via drag and drop blog post. If you're using this project, go ahead and download that, then come back and we'll get started.
- Start by opening Aptana, and making sure the Aptana perspective is currently active.
- Right click anywhere in the open area in the projects view, select Import. Alternately you can select File > Import.
- In the Import dialog box, begin typing "Existing", and you'll see that Aptana filters out the extraneous options leaving "Existing Projects into Workspace". Select that option, then click "Next".
- On the next screen click "Browse" next to "Select Root Directory". Browse to the location of your project. Click okay, and, if everything is going right, you should see the name of the selected project show up under the Projects section.
- Make sure that the selected project is checked, uncheck "Copy projects into workspace" (unless you WANT to do that), then click Finish.
- Your project should now be installed and ready to run.
Also, while this post is directed at importing an AIR project, this method should work for any Eclipse project that has a .project file.
If this article was interesting, or helpful, or even wrong, please consider leaving a comment, or buying something from my wishlist. It's appreciated!