MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 15

Table of Contents

Advertisement

Click Testing Server in the Category list to display the Testing Server settings.
5.
You use the Testing Server options to tell Flex Builder where it can "test" files—that is, where it
can send files to be compiled at design time. Flex Builder needs to get these files compiled so
you can preview MXML files, get build and debugging information, and connect to back-end
systems.
Select MXML for JSP from the Server Model pop-up menu.
6.
This tells Flex Builder what kind of web application you're developing.
In the Access pop-up menu, select the same access method you selected in the Remote Info
7.
category (FTP or Local/Network).
After you make your selection, Flex Builder automatically populates the rest of the dialog box
based on the information you entered in the Remote Info category. This is only a best guest.
Make sure the following values are used:
Testing Server Folder
the Remote Info category (.../samples)
FTP
settings (if using FTP access) are identical to the settings in the Remote Info category
URL Prefix
folder, such as http://<hostname>/samples/.
To get a file compiled at design time, Flex Builder uploads the file to the testing server folder
you specified and attempts to request it using the URL prefix.
Click OK to define the site and dismiss the Site Definition dialog box, and then click Done to
8.
dismiss the Manage Sites dialog box.
The Flex Sample Apps site is defined and you can start exploring, editing, previewing, and
debugging the sample apps with Flex Builder.
Caution: You should make a backup of the samples folder so you can restore files if necessary.
Examples of site settings
This section lists Flex Builder site settings for the Flex Sample Apps application running on
common J2EE servers. This application provides a number of sample applications you can use to
explore Flex and learn to work with Flex Builder.
The Flex Sample Apps application is created when you install the Flex server using the JRun4/
Flex install option. If you don't use this install option, you must deploy the samples .war file
yourself.
Use the following settings in the Flex Server Site Setup dialog box. For more information, see
"Defining a Flex Builder site" on page
Definition dialog box (if you access the server through a network). Enter the Flex Server Root
Folder value in both the Remote Folder text box and the Testing Server Folder text box in the Site
Definition dialog box.
Replace items in angle brackets with the information specific to your server configuration.
(if using Local/Network access) is identical to the remote folder in
is an HTTP address Flex Builder can use to request a file in the testing server
9. You can also use these settings in the advanced Site
Defining a site for the Flex Sample Apps application
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents