Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
If you've ever worked on a large application or a suite of applications, you've probably had files spread out across multiple physical locations. For example, you may have all of your applications ColdFusion files in one directory, let's say your www root, and all of your components in another directory outside of the web root. While this is a great way to organize a project, it can make things hard to work with. ColdFusion Builder fixes this problem by allowing you to link a folder into your project. Let's take custom tags as an example. By default, in ColdFusion, all of your custom tags are stored in a CustomTags directory inside of the ColdFusion 9 installation directory.
But if you wanted to edit those custom tags, you'd either need to create a project in your Navigator or choose File and Open, then browse directly to those files on your system. But it'd be far easier if they just lived inside of your project. To do that, we can right-click on our project and choose Properties and go to the ColdFusion Project category. The bottom-half of this dialog lists an additional resource section where I can link folders to resources outside of my project. So, I'll click Add and I'm going to browse to my CustomTags directory.
In my ColdFusion9 folder, I'll select CustomTags and click Choose. CF Builder will automatically insert the name of your folder into the linked folder name field, but if you need to change it, you can type-in a new name. If I'm going to have CFCs in this directory, I can leave this box checked so that ColdFusion Builder will use that folder to resolve CFCs. For now, uncheck the box since we're pointing to our CustomTags and click OK. I can now see my linked folder in the Additional Sources list and I'll click OK again to return to my Navigator.
You can now see a CustomTags directory with the small linked icon on top of the folder. If I expand this, I can see all of the custom tags that are installed on my ColdFusion server. Now this directory does not actually exist inside of my project, but I can get access to all of the files and actually open them and edit them. So, you need to keep in mind that when you edit this file, you're not just editing this file for this project. If you have other applications that point to the same CustomTags directory, those changes will be reflected in those projects as well.
Linking folders between projects is pretty simple. It allows you to keep your files organized just the way you like them without sacrificing usability in your workspace. Just remember that changing your file here will change it in every other project that references the same folder.
Get unlimited access to all courses for just $25/month.Become a member