您的位置:首页 > 其它

Installing Aptana on Ubuntu 8.04

2009-02-06 17:57 453 查看


Quick install guide for Aptana on Ubuntu 8.04. Modeled after the Installing Aptana Studio on Debian guide found at the Aptana page for Installing Aptana on Linux.
The issue with the guide provided by Aptana (at least for Ubuntu) is
that Ubuntu comes with FF 3 Beta 5 (as of the time of this writing) by
default. Aptana doesn’t play nicely with FF 3 Beta 5, and after what
appears to be a successful install, spits back an “embedded browser not
available” error. Note: you don’t have to worry about uninstalling FF 3!

Install Java (sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts)

Install Firefox 2 (sudo apt-get install firefox-2)

Download and unzip aptana to /usr/local/aptana

Save the following script as runAptana.sh to /usr/local/aptana

#!/bin/bash

export MOZILLA_FIVE_HOME=/usr/lib/firefox

/usr/local/aptana/AptanaStudio

Make runAptana.sh executable (sudo chmod a+x runAptana.sh)

Create a desktop launcher for Aptana and point it at runAptana.sh

Right click on your desktop

Click on Create Launcher

Name: Aptana

Command: browse for runAptana.sh

Open firefox-2 Profile Manager (sudo firefox-2 -ProfileManager)

Create ff Profile “aptana” dedicated for Aptana debugging.

Start ff with the aptana Profile: (sudo firefox-2 -P aptana)

Download from here http://update.aptana.com/update/firebug.xpi and install the firebug extension, modified for Aptana debugging. Close Aptana Profile of firefox.

Start Aptana.

Go to Run -> Debug…

click on the Web Browser within the left pane

Press the ‘New’ button.

Within the right pane: Name the new configuration “Firefox”

Fill within:

Browser executable: /usr/bin/firefox-2

Arguments: -P aptana -no-remote
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: