You access the SAPUI5 application preview using the Web App Preview, provided with the
embedded Jetty server. You can quickly check on your application and open it in the default
browser.
Prerequisites
Note Jetty provides an internal web preview used in the
SAPUI5 application preview. As of the Juno release of Eclipse, this feature needs to
be installed explicitely.
Procedure
-
To test the new application with the application preview in an embedded Jetty server,
right-click the HTML file or the project node and choose . Everything is configured automatically.
-
To refresh after having changed a file of your SAPUI5 application, choose
Refresh on the left hand side of the preview editor to
refresh the SAPUI5 preview.
-
To check the
files of your SAPUI5 application project in an external browser, choose Open in external browser on the right
hand side of the preview editor. This function opens the external browser which is
specified in the Eclipse preferences under . This is usually the default browser of your PC. For other external
browsers, you can also copy the URL from the text field of the editor to the
external browser.
Open in External Browser