It took me a while to get Flex Builder 2 and Mystic to play nice together using the 'Multiserver' install of CF. The biggest issue is dicussed here. But the default set-up assumes you are using Flex Builder on the same machine that is running ColdFusion.

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.

(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

Now in Flex Builder 2, you need to tell you project which flex-enterprise-services.xml file to use.

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)

As I play around with other settings and such, I will post about them here.

0 comments

(Comment Moderation is enabled. Your comment will not appear until approved.)