Dale, you can use runtime definition without the services-config.xml. please see Mike Nimer's blog for details:
http://blog.mikenimer.com/index.cfm/2007/1/10/Bye-bye-services HUa On Jan 2, 2008 11:01 PM, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Thanks > > > > So do you need to do > > > > > -services "C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml" > > > > Because you selected a basic project rather than a CF project? > > > > > > Regards > > Dale Fraser > > > > http://learncf.com > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of nasawebguy > Sent: Thursday, 3 January 2008 1:22 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Developing Flex against CF Server > > > > > > > > > Dale, I feel your pain. Flex Builder does need more intuitive and > support different develop/production scenarios, especially where the > developer isn't running locally or even on a local network. It can be > confusing. It is assumed that you're using a dev version of CF on your > dev box. (ideal scenario). > > Mapped drive works great when on a LAN, but doesn't if I'm deploying > to a remote server/host. > > In my case, I find using the "Basic" project, not CF option, is > easiest for me for remote server work. > > On my local PC, I created a folder path > C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml > CF8 in your case > > Then after compiling/running locally in Flex, I FTP/RDP the /bin to > the remote server. > > This lets me build locally and compile locally, then test on the > server with live data. Not ideal, but it works. > > But, you do need to right-click on the project, select properties and > enter the following in the complier arguments > -services "C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml" > > It's a workaround that works for me. > > When I'm in the office, on a LAN, I map a drive, like Mike suggests. > > Don > > --- In flexcoders@yahoogroups.com, "Mike Chabot" <[EMAIL PROTECTED]> wrote: > > > > If your development server has CF installed on the C:\ drive, map that > > C drive share onto your local dev box. Let's call it Z drive. Do in > > your Flex settings you write Z:\ColdFusion8\ for the path. I bet you > > could also use UNC paths, such as \\server\c$\ColdFusion8\. > > > > Enjoy, > > Mike Chabot > > > > On Jan 1, 2008 10:39 PM, Dale Fraser <[EMAIL PROTECTED]> wrote: > > > > > I have a CF development server aleady, > > > > > > > > > > > > But what I don't understand, is when I create a new flex project > is that it > > > asks me for the web root and url of CF. > > > > > > > > > > > > What am I supposed to put in here, the server one I assume. It > fails of > > > course as the locally C:\ColdFusion8 is not available. > > > > > > > > > > > > So how do you configure a Flex project that works with a > development server > > > rather than a local development environment? > > > > > > > > > > > > Regards > > > > > > Dale Fraser > > > >