Select to view content in your preferred language

Can't run the file in the browser when using Aptana 2

988
3
Jump to solution
08-28-2013 12:14 PM
ionarawilson1
Deactivated User
I am using Aptana 2 because of the code assist. When I click on that green button to run the file, nothing happens. Does anybody know why? If I click on it to choose Firefox or IE, nothing happens when I click on either one also. The file is in a folder on the local server (inetput\wwwrooot). Thanks!
0 Kudos
1 Solution

Accepted Solutions
ionarawilson1
Deactivated User
I did the same thing I did for Aptana 3 and it worked, you just need to click on run configurations, add the browser .exe you want in Browser executable (C:\Program Files (x86)\Mozilla Firefox\firefox.exe, for example), the under Start Action, Start URL, enter the path, in my case: http://localhost/SARS/SARS_JAVASCRIPT.html, under Server, keep Use built-in Web server checked! Yay!

View solution in original post

0 Kudos
3 Replies
ionarawilson1
Deactivated User
And I in Aptana 3, I can run it, but it runs as a file, which means that some things don't work because it needs to be running from the server. How do you guys test the file in Aptana? Use IIS all the time to check it or is there a way to check the file directly from the server with Aptana? Thanks
0 Kudos
ionarawilson1
Deactivated User
The second part of the question I got it answered, to get it running in Aptana 3 from the server, go to Run Configurations, then enter the URL in Start URL. In my case it is http://localhost/SARS/SARS_JAVASCRIPT.html

I still dont know how to run the html in Aptana 2
0 Kudos
ionarawilson1
Deactivated User
I did the same thing I did for Aptana 3 and it worked, you just need to click on run configurations, add the browser .exe you want in Browser executable (C:\Program Files (x86)\Mozilla Firefox\firefox.exe, for example), the under Start Action, Start URL, enter the path, in my case: http://localhost/SARS/SARS_JAVASCRIPT.html, under Server, keep Use built-in Web server checked! Yay!
0 Kudos