joshbuhler.com

Cloak/Uncloak SCM Directories in Dreamweaver

by Josh on Aug.04, 2005, under Development, Web

As part of an effor to better organize my site and all of the various source files I have floating around, I’ve begun to reorganize my site folders, and get everything put into Dreamweaver sites to help me manage it all.

I’ve also been using Subversion to manage all of my source files. The only problem was this: When I imported my site into SVN, it did it’s usual thing of creating a .svn folder for every folder. No biggie, however, while these are normally hidden in the Finder, they show up in Dreamweaver in the Files Panel, and when I tried to Synchronize my site, DW told me that I needed to upload nearly 3000 files.

I tried setting some cloaking options in the Site Manager, but no luck there. So I set about the task of manually cloaking each .svn folder. I did about five of them before I got tired of it, and decided to find an extension in the Macromedia Exchange. There I found an extension by “guppywon” that handles this for you. It installs two options into your Commands menu: “Cloak SCM Directories” and of course “Uncloak SCM Directories”.

These commands will run through your site and Cloak or Uncloak the SCM directories created by both SVN and CVS, and then let you know how many directories were affected. That’s about it, and doesn’t sound like much, but if you’ve had to deal with this issue, you’ll definately appreciate the time saved.

Link: Cloak/Uncloak SCM Directories in Dreamweaver



11 comments for this entry:
  1. Daniel Roberts

    The problem I’m running into:

    1. .svn folders are hidden by default

    2. Dreamweaver does not show hidden files so I can’t cloak them manually without first going into windows explorer and unhiding the .svn folders

    3. This extension isn’t detecting and cloaking my .svn folder regardless of whether they are hidden or not. It just says 0 SCM directories cloaked

    Oh the frustration

    If anyone has a suggestion to get this work, please advise. Thanks

  2. manuel razzari

    Hello, thanks for the post, I’d never found this extension otherwise. It does what it says.
    I had even tried setting DW “*\.svn” with no luck.
    This extension worked just fine for me.
    (Though one would expect at v.8 macromedia should have this one covered)

  3. michael

    Thank you. That worked exactly as promised for me.

  4. Scott McDaniel

    I’ve got the same problem as Daniel - “O SCM directories cloaked.

    Anyonse else experiencing this? There must be something in our setups. Our site is fairly goodsized (~500 pages) and gairly deep with some .svn directories 7 levels deep. How aboth the folks that got this to work?

    Unfortunetly the authors website is gone - too bad.

  5. Daniel

    Worked fine for me first time I used. Thanks!

  6. Francisco Lozano

    Hello,

    The URL redirects to an adobe exchange website, but it’s a generic one, I can’t find there the plugin.

    WHat’s the real name of the plugin?

  7. Neil Merton

    @Francisco:
    1. Click on ‘Dreamweaver’ to select that Exchange Group
    2. Click on ‘Search Exchange’
    3. Type in ’svn’ in the search box
    4. result returned :)

  8. flashon

    Worked fine the first time. If your getting “0 SCM directories clocked” try uncloaking all then redo. Make sure you’re in the right directory too.

  9. Ross

    Make sure you have ‘enable cloaking’ checkin in site settings! The menu items will be ghosted otherwise

  10. chris hough

    was anyone able to correct that issue of it showing 0 SCM? I just came across this excellent post and would love to be able to use this add on.

  11. Matt

    If you are using windows and TortoiseSVN, you can use Subweaver (http://code.google.com/p/subweaver/) to have SVN integration into dreamweaver. One of the newest features is a one click function to cloak all svn directories in the site.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...