Speaker: Kevin Lindsey
Understand how to configure Aptana to preview your web projects in different web browsers.


View video

Hi. This is Kevin. Welcome to Aptana.

In this screen cast, I'm going to discuss Aptana's Run Configurations. That's this green button up here that looks like a Play button. The way this works is you open up any HTML document and you click Play. So what we've done here is we've opened this MochiKit Sample in our default browser, which is Internet Explorer. We can open any other HTML document and preview that. We also have the ability to change the browser that we use when we view this file. We do that by editing our Run Configuration.

As you can see right now, our current web browser is Internet Explorer. I'm just gonna change that to Opera. And while we're here, we can look at some of our other options. We can specify a particular page in our project, any URL. We also have the ability to use another web server or the web server that's built into Aptana. Right now, we're just gonna use our web server and the current page.

So we apply this and run it, and now we're viewing that same sample but we're in Opera this time.

Another thing that's nice about these Run Configurations is that you'll notice this file actually loads a Java Script file. So maybe I'm editing this file and I actually want to preview the HTML and not the JS. I can right-click the HTML file and set as Start Page. Now whenever I hit the Play button, I'll view that particular file.

That concludes this screen cast. Thanks for watching.

[End of Video]