Book Image

Aptana Studio Beginner's Guide

By : Thomas Deuling
Book Image

Aptana Studio Beginner's Guide

By: Thomas Deuling

Overview of this book

<p>Aptana Studio 3 is a powerful web development IDE based on the Eclipse platform and provides many innovative technologies and features for developing effective, modern hi-standard web-applications. Aptana has been around since 2008 and it provides language support for HTML, CSS, JavaScript, Ruby, Rails, PHP, Python, and many others by using plugins.<br /><br />"Aptana Studio Beginner's Guide" is packed with the author’s experience of several years developing with Aptana Studio. It's not just a powerful guide, it's a practical, hands-on introduction to Aptana Studio as a whole. If you want to harness Aptana Studio to enhance your web-development productivity, then read this book.<br /><br />You will start by setting up your own installation of Aptana Studio, and will be guided step-by-step through the various stages of developing with Aptana Studio.<br /><br />You will learn how to manage all your work in workspaces and projects, and how you can optimize your projects depending on the nature of the project.<br /><br />In addition, you will be taught how to work on remote servers or manage your source code with Git and SVN.<br /><br />Finally, you will have a fully configured IDE and be equipped with the knowledge about how to work and manage large web-projects.</p>
Table of Contents (20 chapters)
Aptana Studio Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Index

Time for action – installing a third-party plugin


  1. Before we can start the installation of the Subversion plugin, we have to check for Aptana Studio updates and install them. It's highly recommended that this be done before every plugin installation.

  2. If your system is up-to-date, open the Available Software window that you will find under Help | Install New Software....

  3. Here you have to add the URL from the update site from where the plugin should be installed.

  4. But, from where can you get the required update site URL for your plugin?

    Most plugin developers usually provide this update site URL on their website. Sometimes, they also provide an additional package for a manual installation. But it's recommended that you install the plugin with the update manager, because the manager checks the required dependencies and prevents installation if the dependencies are not

  5. So, just surf quickly to the Tigris Subclipse website, http://subclipse.tigris.org, and determine the URL of the required update site, which is currently available at http://subclipse.tigris.org/update_1.6.x.

  6. Now, we go back to Aptana Studio and click on the Add... button in order to add the new location for our plugin.

  7. For the Name, just enter a label such as Subclipse 1.6.x. But don't forget to add the version number of the plugin. It's possible for you to have to add more and more update sites over time for the same plugin. And if there is a new major version of the Subclipse plugin, there will also be a new update site location that you'll have to add. So, prevent confusion between similar plugins, and always specify a name that identifies your update site clearly. You could even use the URL directly as the label.

    Tip

    Installing or updating from an archive

    Often, you are unable to find an update site for the plugin you currently need, but you find a .jar or a .zip file of the plugin instead. No problem! Just download it and click on Archive... instead of filling in a location link, select your local file, and install it.

  8. Finally, you have to add the URL in the Location field and click on OK.

    Tip

    Update site

    Always make sure that you have a current update site. Most plugin developers have several update sites for each major version of their plugins.

    Now you have to wait for a short moment until the table is refreshed. After that, you should see an entry named Subclipse, which you can expand. Expand the Subclipse node and select the packages that we need for our purposes. In the following screenshot, you will see the packages that we need to select for our Subclipse plugin:

  9. Click on the Next button, and Aptana Studio will check whether all dependencies are satisfied, which should be the case.

  10. As you can see in the preceding screenshot, all dependencies are satisfied. So, we can click on Next for the second time, and before the installation starts, you only need to confirm the terms and conditions.

  11. The moment you click Finish, Aptana Studio connects to the update site, downloads the required packages, and installs them.

  12. The moment Aptana Studio finishes installing the plugin, a dialog appears and recommends that you restart Aptana Studio. We recommend this too; therefore, you should click on Restart Now.

  13. After Aptana Studio starts up again, the plugin asks you if you want to send the Subclipse team anonymous usage statistics.

  14. I think it's generally ok to support the developers with anonymous data because they also make it possible for us to use a lot of great plugins and software for free. In addition, we help them with our statistics to optimize the plugin and help to integrate users' new requirements.

  15. Therefore, we click on OK.

    If you want to change your decision later, you can do this under Window | Preferences. There, you'll have to navigate to Team | SVN | Usage Reporting.

What just happened?

We just installed our first third-party plugin.

After the successful installation, you will find SVN Repositiory Exploring under Window | Open Perspective | Other…. You are now able to add some repository locations and check them out here. We will do this in detail in Chapter 9, Collaborative Work with SVN and Git.

Tip

Keeping your plugins up-to-date

It's also necessary to check frequently whether there are updates available for your installed plugins. So, be sure to select the required update sites in the Aptana Studio update manager.