Archive for April, 2011

Configure Aptana Studio 3

All descripted configurations are setted under ‘Window’ -> ‘Preferences’.

Font-Face within the Project-Explorer and Outline perspective:

The Project-Explorer and Outline perspective in Aptana Studio 3 uses a monotype font. That’s not so good, because the fixed-width of each letter let be the text often very long.
To change these font, go to ‘General’ -> ‘Appearance’ -> ‘Colors and Fonts’ within the Tree, and change the font at ‘Basics’ -> ‘Text Font’ -> ‘App Explorer/Outline View Font’ into your prefered proportional font.

Changing the color theme:

I don’t like the dark color and syntax hightlight theme, which seems to be standard in Aptana Studio 3. But we can switch back to the classic Eclipse one.
You will find it within the tree at ‘Aptana’ -> ‘Themes’, then select Eclipse as Theme.

Select Firefox as webbrowser:

To select the Firefox as the default Browser in Aptana Studio 3, navigate within the tree to ‘General’ -> ‘Web Browser’, then set the radiobutton to ‘Use external web browser’. Add a new Web Browser by typing name: ‘Firefox’ and in my case location: ‘/usr/lib/firefox’.

If you are not sure which short cuts you can use within a perspective, just press Ctrl+Shift+L to see a full list of the currently available key bindings.

If you want to switch between different perspectives, just press ALT+SHIFT+Q to display a full list of perspectives. In this list you can use the up/down keys to navigate, or direct press the last short cut key, to switch in one other perspective.

Configure Subversion PlugIn within Aptana 3

In order to work more effective and faster with Aptana Studio, i will bind some short cuts to the most often used subversion functions.

Open the preferences under ‘Window’ -> ‘Preferences’. Select within the tree ‘General’ -> ‘Keys’ and use the quick search for searching the SVN entries.

To bind a short cut to a SVN function, select one entry as sample ‘cleanup’. Then press within the binding textfield the short cut that should use for it, and press apply.

I’m using the following short cuts:

cleanup ALT+C
update ALT+U
commit ALT+S

With Aptana Studio 2 were these short cuts directly active. But now in case of Aptana Studio 3, it seems that the short cuts aren’t catched. I resolved this issue by going to ‘Window’ -> ‘Customize Perspective’. Then, under the ‘Command Groups Availability’ tab, enabled SVN. Do this steps for all perspectives, where you need the short cuts. Don’t forget to save the perspective.
Then all the keyboard shortcuts worked.

Integrate/Install Subversion PlugIn into Aptana 3

Before starting the integration of subversion, check for Aptana Updates and install them.
Do this in the main menu ‘Help’ -> ‘Check for Updates’. After finishing the update, restart aptana.

Now you are ready to start the integration. First of all, add theSubversion Update site under ‘Help’ -> ‘Install new Software’:

After waiting for refreshing the listing, select the following entries and click next:

  • Subclipse – Required
  • Subversion Client Adapter – Required
  • Subversion Native Library Adapter (JavaHL) – Strongly Recommended

Subclipse SVNKit Option:

  • JNA Library
  • SVNKit Client Adapter
  • SVNKit Library

After finishing the integration, you must again restart aptana.

That’s it. After restart Aptana, you will find under ‘Window’ -> ‘Open Perspective’ -> ‘Other…’ the ‘SVN Repositiory Exploring’. There you can add some repository locations and check them out.

Validate a PHP Session-ID

If you must work with a PHP Session-ID, sometimes it is better to check if these Session-ID is valid.

 * Checks a Session-ID
 * @author     Thomas Deuling <>
 * @param      string $sessionID Session-ID
 * @return     boolean Is valid?!
function checkSessionID($sessionID="") {
	return !preg_match('/^[a-zA-Z0-9]{26}$/', $sessionID);

ISCOPE in the OpenLaszlo Showcase

I’m very happy that our company ISCOPE GmbH now also is list in the OpenLaszlo Showcase 🙂
Check it out!

Try out Aptana Studio 3

Hey guys,
today i want to try out Aptana Studio 3. For the last year i develop with Aptana Studio 2, but now it is time for an upgrade 😉

First of all, download the current version of Aptana Studio:

After download the archive, extract it and run the AptanaStudio3 file.

Thats all, apart from the configuration of Aptana, which constitutes the main work of the setup.
The first step should be, to check for updates for this base installation.
You can check for updates within the main menu under ‘Help’ -> ‘Check for updates’. Just follow the steps of the update-manager.

After that hard work 😉 , you will find in following posts the configuration of the used plugins and their functions.

Attention: Do not switch to your old workspace from Aptana Studio 2, Eclipse or so. In my case a lot of preferences will be loaded (of functions or plugins), they have changed or are not longer available.

Cleanup a Subversion folder structure

If you have an folder structure sourced from a Subversion, that is not correctly exported, you will find in there some .svn-folders. These ones are very terrible while working within the folder structure.

With the following shell-command, you are able to delete them all, with only one action:

find . -name .svn-exec rm -rf {} \;

That’s it…

I say hello world! 😉

My first own blog entry, and henceforth i will torture you all with my small fantasy english 😀