This is good for work, where all development is done on a laptop that has CF Running, but at home I needed more. I needed to connect to CF running on a different machine. The solution was actually pretty easy. (I think this is for 'Server' installs of CF, as well as 'Multiserver')
WARNING: This is what I did to get Felx Builder 2 to 'talk' with CF on a different machine. Follow these instructions at your own risk. I am not, nor do I claim to be, a Flex expert, I do not, nor have I ever, played one on TV, and I did NOT stay at a Holiday Inn Express last night. That being said, have at it.
- Stop the instance of ColdFusion you want to configure.
- Open the {CF Root}\WEB-INF\flex\flex-enterprise-services.xml file.
- Look for a line that reads: (If you have already modified this file, the port number may be different.)
- Change 'localhost' to a URL on the remote server, for example, dev.boyzoid.local.
- Save the file.
- Restart ColdFusion
- Right-clik the Flex Project name.
- Select 'Properties'
- In the left pane of the window that opens up, click 'Flex Compiler'
- In teh box labeled 'Additional Compiler Arguments' enter --services=path to flex-enterprise-services.xml. (I have read that UNC pathing doesn't work here, but no big deal, I have a drive mapped anyway)
- Re-compile your Flex application(s)




0 comments
There are no comments for this entry.
Add Comment - Subscribe to Comments