Using external services-config.xml files and setting up on Mac

Problem:

I want to reference a remote instance of the services-config.xml file for a project I'm working on. I'm now developing on the mac platform (which I love) and need to figure out how to reference it.

Solution:

1) Connect to and "mount" the external drive on which the services-config.xml file resides.

Connecting to the remote drive via Finder by choosing Go -> Connect to Server or Cmd+K will give you access to the networked drive, but doesn't help you when you need to reference that drive (mapping in Windows) within the compiler settings in FlexBuilder. So...

Fire up Terminal and navigate to the root of your system, and then into your Volumes directory. Create a new directory here as follows:

mkdir [new_name]

Choose something relevant as the name as you'll be referencing it in a second.

Next, use the following command to "mount" your remote network drive to this new drive you've just created.

mount_smbfs //[userame]:[password]@[remote_server_url]/[drive]/ /Volumes/[new_name]

Each of the vars used here is pretty straight forward, but make sure you use the same when you reference the "mounting" location in /Volumes

You won't be returned with any confirmation of success, but if you don't get any error, then it's setup successfully.

Now, go back into FlexBuilder, and setup your services pointer to:

-services '/Volumes/[new_name]/ColdFusion8/wwwroot/WEB-INF/flex/services-config.xml'

or whatever your path may be.

Comments
Comments are not allowed for this entry.
BlogCFC was created by Raymond Camden. This blog is running version 5.005.