This step might not be necessary if your IIS root already has a WEB-INF\flex\flex-enterprise-services.xml
If not:

In c:\inetpub\wwwroot\ create a folder called "WEB-INF"
Copy the flex folder (containing the flex-enterprise-services.xml file) from the cf root to the WEB-INF folder.

In Flex Builder, select the project in the Navigator, in the menu, select Project -> Properties.
In the Properties window, select Flex Server, set the 'Flex root folder' to the IIS webroot (c:\inetpub\wwwroot)
Do the same thing for the 'Additional compiler arguments' in the 'Flex compiler' settings.
When you changed the above settings, hit 'Apply', don't close the window yet.

Next tell Flex Builder which folder to place its output.
Select 'Flex Build Path'.
At the bottom fill in the folder name for 'Output folder' (e.g. project101)

Just below that (non-editable) it should already say: (in C:\inetpub\wwwroot\)
Because that's what you set the 'Flex root folder' to earlier.

You'll probably need to adjust the 'Run' configuration as well.

In the menu select 'Run -> Run -> Other'
In the Run config window, select the project from the list.
In the 'Url or path to launch' fields, fill in the appropriate urls.

Hope I didn't miss anything.

regards,
Muzak


----- Original Message -----
From: "Barry Beattie" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Monday, May 15, 2006 1:40 AM
Subject: [flexcoders] Flexbuilder 2 and remoting config: quick question.


> I'm trying to get Flexbuilder to build remoting projects on an IIS
> install of ColdFusion
>
> from
>
> http://www.mail-archive.com/flexcoders@yahoogroups.com/msg24818.html
>
> quote:
>
> If everything is setup correctly, Flex Builder will create a folder with
> the same name as the project on the CF server. For the above example the
> URL will be http://dev-machine:8500/CFTest. All generated output will be
> automatically uploaded to the remote server.
>
> this is NOT what I'm after
>
> I'm trying to get Flexbuilder to create a web folder with a
> *different* name to the project name (so when I build it ends up as
> "http://localhost/project101/main.html" not
> "http://localhost/my%20project/main.html"
>
> AND
>
> this is an IIS install of CF so the :8500 is irrelivant. no wonder it
> can't find the SWF....
>
>
> I realise it's just me trying to get used to FB workflows but is there
> an *easy* way to do this without resorting to CF mappings everywhere?
> the problem seems to be that FB is expecting
> *flex-enterprise-services.xml* to be in the WEB-INF/flex folder (which
> it is) BUT  that maps to the webroot (which it doesn't: http://
> localhost -> c:\inetpub\wwwroot)
>
> any suggestions?
> thanx




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to