Sorry... I don't really know vss well enough. Figure out what command
line would list locked files. You may need to have the output go to a
file, then read the file in nant. Once you know the command line, the
exec task will be pretty simple.

 

BOb

 

 

________________________________

From: Vinod Nair [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2008 2:10 AM
To: Bob Archer
Cc: nant-users@lists.sourceforge.net
Subject: Re: RE: [NAnt-users] <vssget> task

 

Hi Bob,

Can you please help me with the sample of <exec> tag that performs this
task of listing locked files?

Thanks,
Vinod.


On Tue, 18 Mar 2008 Bob Archer wrote :
>Your probably going to need to use the exec tag to run VSS. I assume
there is a command that will list locked files. If there is a locked
file you can fail the build.
>
>However, why would you do this? Usually you just build with the most
recently commited files?
>
>BOb
>
>
>________________________________
>
> From: [EMAIL PROTECTED] on behalf of Vinod Nair
>Sent: Tue 3/18/2008 9:37 AM
>To: nant-users@lists.sourceforge.net
>Subject: [NAnt-users] <vssget> task
>
>
>
>Hi,
>
>I've been trying to implement the <vssget> task of nantcontrib in my
build script to get the latest files from my VSS source. My requirement
is as below :
>
>Whenever I generate a build, I should get the latest of all the files
from the VSS source and then generate a build. And if any single file is
checked-out by any user, then it should throw some message that a
particular file is checked-out and hence the build process should stop
from there. I researched a lot on this, but was unable to find a
solution.
>
>Can anyone help me in this task.
>
>Thanks,
>Vinod.
>
>
>
>
>Shaadi Partner

 

ICL
<http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/sign
ature-home.htm/[EMAIL PROTECTED]/2069675_2062292/2069751/1?PARTNER=3&OA
S_QUERY=null> 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to