gara - Javascript Toolkit

IDE

A good choice for developing ON gara is using eclipse. At the time of writing, “ganymede” is the current release, so this tutorial makes use of that release. Here is a little installation howto:

Installing Eclipse

Go to eclipse.org and download your choice of distribution - classic fits at least.

Along with eclipse you need some plugins to make eclipse work for you. These are:

  • Webtools
  • Subversive + Connectors
  • Aptana JS, CSS and HTML Editor
  • Mylyn

Except Aptana and Subversive connectors you will get everything using the eclipse update manager (Help > Software Updates …).

Subversive connectors and Aptana can be added to the update manager as well. You will find the respective urls here for Aptana and here for Subversive connectors

Configuring Subversive

In the upper right corner of eclipse there is the perspective switch. Choose “SVN Repository …” - if not present add it to the list via the add-icon.

In the “SVN Repositories” view, add the gara svn repo.

  1. Click the add button to open the Repository Location editor.
  2. On the general tab, you need to enter the URL which is “https://gara.svn.sourceforge.net/svnroot/gara”. Enter your sf.net account details below.
  3. On the advanced tab, check the “Enable Structure Detection”.
  4. Click Finish, the repo will be added to the list. You can browse the repository there.
  5. Right click on the repository location and choose “Find/Check out as…” to check out the gara repository into your eclipse. Follow the wizard from there on …

Configuring Mylyn

My current eclipse configuration throws an error when retrieving issues from sourceforge. So… need to wait until bug is fixed, then I am able to write up some lines here.

Suggestions

In the future the Eclipse DLTK (Dynamic Languages Toolkit) will come and has a neat javascript integration. At the moment I am not convinced by their JS Editor, Aptana is still ahead. We will see, what the future brings and maybe even Aptana jumps on that train or their editor will get Aptana's benefits.