Aptana Studio ヘルプ > はじめに > Developing Apple iPhone Web App Projects

Creating an iPhone run configuration

This Help topic describes how to create a new run configuration for in iPhone project so that you can preview the project on your iPhone.

Introduction

You can preview an iPhone project on your actual iPhone. Before you can view your app on your iPhone, you'll need to create an iPhone run configuration. The instructions below describe how to create a new run configuration for an iPhone project.

Instructions

To create a new run configuration for an iPhone project:

  1. From the Run button Image:iconRun.png, select Run... to open a Run configurations window (shown below).

    Image:runConfigurationsiPhone.png

  2. From the tree on the left side of the screen, select iPhone and click the New launch configuration button Image:iconNewLaunchConfiguration.png to go to the new iPhone run configuration screen (shown below).

    Image:newConfigurationiPhone.png

  3. In the Name field, type a name for the configuration.
  4. From the Project drop-down list, select your project.
  5. From the Main HTML File drop-down list, select the HTML start page for the project.
  6. In the Web Server Port field, edit the port number if necessary.
  7. Click Run to finish creating the configuration and to run your application.

After you have created a run configuration for your project, you can simply click the Run button Image:iconRun.png to run the project in the future.

Related Topics