MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 14

Table of Contents

Advertisement

Defining the site if the Flex server is remote
This section describes how to define a Flex Builder site to work with the Flex Sample Apps
application if the Flex server is installed and running on a different computer than Flex Builder.
For more information, see Installing Flex on the Macromedia website at
go/flex_install/.
Before you start, you can review example settings for common J2EE servers. See
settings" on page
To set up Flex Builder for the samples application if Flex is running remotely:
In Flex Builder, select Site > Manage Sites, click the New button on the Manage Sites dialog
1.
box, and select Site from the context menu.
The Site Definition dialog box appears. If the Basic tab is selected, click the Advanced tab and
select Local Info from the Category list (it should be the default). You use the Local Info
category to tell Flex Builder where the Flex application files are located on your hard drive.
In the Site Name text box, enter Flex Sample Apps or something similar.
2.
The name identifies your Flex Builder site.
In the Local Root Folder text box, click the folder icon and specify where you want to store your
3.
files on your hard drive while you work on them with Flex Builder.
In the Remote Info category, specify where you want to put files to the remote server.
4.
For this Flex Builder site, you must specify the folder called samples on the server. For example,
if you installed Flex with JRun 4, the application root folder is as follows:
jrun_root/servers/default/samples
where jrun_root is the J2EE server's root folder, default is the name of a defined JRun server,
and samples is a Flex application root folder.
The remote folder for a Flex site must always be an application root folder on the server. To
determine whether a folder is an application root folder, check to see if it has a WEB-INF/flex
folder containing a flex-config.xml file. An application root folder always has this folder and
file. The samples folder contains a WEB-INF/flex/ subfolder with a flex-config.xml file in it, as
follows:
samples/WEB-INF/flex/flex-config.xml
For more information, see
If using FTP access, select FTP from the Access pop-up menu and specify the samples folder as
the Host Directory value, as well as any other FTP settings required to access that folder.
If using network access, select Local/Network from the Access pop-up menu and specify the
network path to the samples folder in the Remote Folder text box.
For more information on setting the Remote Info category options, click the Help button on
the dialog box.
14
Chapter 1: Getting Started with Flex Builder
15.
"Identifying a Flex application root folder" on page
www.macromedia.com/
"Examples of site
11.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents