I think I have successfully used the vss cloaking feature before. What is this “no permissions on the directory” bit? In my case I simply cloaked those folders I didn’t want to get and vss didn’t get them. Of course, they are still checked for modifications and that’s no good. You can filter out the modification results using the FilteredSourceControl.

 

In my case I needed to filter so much out that decided it was ok to fire off a few “fake” builds (and get unnecessary files) when files I didn’t care about changed. I ended up using the MultiSourceControl to specify a number of top directories to get recursively (I get about 2GB worth of stuff). In my case the best solution is to restructure the database so that I can have one root with everything I want underneath and everything else outside that root. Unfortunately, the db is quite old and a lot of teams have come to depend on its current structure (I really hate the fact that numerous teams use the db!!). Oh, well! I take the hit and move on.

 

Anyway, cloaking should have worked. Let me know if you can’t get it to work. I didn’t go through anything difficult to set it up so I expect that there’s some external configuration bit holding you back…

 

--Edwin

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Shay
Sent: Sunday, November 21, 2004 7:01 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] VSSGET and Security

 

Hello All

 

In my Nant Script I am using VSSGET to get the latest copy of my Source Code from VSS.

 

 

   <vssget

 

         user="${vssuser}"

         password="${vsspass}"

         localpath="${deploy.dir}\source"

         recursive="true"

         replace="true"

         writable="true"

         dbpath="${dbpath}"

         path="${vsspath}"/>

 

 

I have the recursive flag set to True which gets the entire project folder. I have certain folders in the project which

I want to restrict from the get lattest command.

 

I tried to cloak the directory and set no permissions on the directory, but I either get the files or I get a no access error.

 

 

What is the best way to restrict directories so the when the script does a get latest the files are never pulled.

 

 

VSS: 6.0d

Nant: .84

 

Thanks

Stuart

Reply via email to