Daniel, I just tried it without the version attribute. It does work correctly. So there must be a bug in the VSSGet task, when a version attribute is used in conjunction of getting files recursively by a "Label", no subprojects are retrieved.
I have also tried this on a Win2K server with Nant 0.8.3 rc2 and VSS 6.0d. Same results. Could I ask in your test did u use a Label in the version attribute or a specific VSS generated version #? This is the code that I used. Can anyone else help or have suggestions? <target name="buildmodule"> <vsslabel user="${vss.username}" password="${vss.password}" dbpath="${vss.dbpath}" path="${VSSRepositoryPath}" label="Buildv1.3" /> <echo message="VSS PATH=${VSSRepositoryPath}\${Module.dir}"/> <echo message="Label is ${Label}"/> <!-- Gets all files with a certain label from VSS --> <vssget user="${vss.username}" password="${vss.password}" localpath="${build.srccode.dir}\${Module.dir}" dbpath="${vss.dbpath}" path="${VSSRepositoryPath}" recursive="True" version="Buildv1.3" /> </target> --- Daniel Nguyen <[EMAIL PROTECTED]> wrote: > Mike, > > I'm also using Nant v0.8.3 rc2, VSS v6.0d, but didn't have the same > problem > you ran into with/without *version* attribute. Just a shot in the > dark -- > have you try without the version attribute and let it get the > latest version > to see if it would work? > > daniel > > > -----Original Message----- > From: Michael Dang [mailto:[EMAIL PROTECTED] > Sent: Friday, August 15, 2003 5:12 PM > To: brian; [EMAIL PROTECTED] > Subject: RE: [Nant-users] VSSGet and subprojects question or bug? > > > Yup, I'm sure the label is applied correctly. I even gave it a new > label. > > I tried the VSS command line and it got everything I wanted > recursively. Therefore, it must be the VSSGet task with version = > to > a label that fails to get all the subprojects within the designated > Path attribute. > > Anyone got any other hints, anyone? I'm gonna work on it a little > and see what happens also. > > mike > > --- brian <[EMAIL PROTECTED]> wrote: > > Good question. We need to better integrate nAnt and nAntContrib! > > > Are you > > sure that the label is applied recursively? I would also try the > > operation > > from the VSS command line and if that is possible, then there > must > > be > > something wrong with the task? > > > > brian > > > > >-----Original Message----- > > >From: Michael Dang [mailto:[EMAIL PROTECTED] > > >Sent: Friday, August 15, 2003 4:22 PM > > >To: brian; [EMAIL PROTECTED] > > > > > >Yeah. I mentioned that on a few post about VSS6.0 versions. I > am > > >using VSS v6.0d. > > > > > >I tried the forward slashes as well and had the same results. :( > > > > > >I am not sure what version on NantContrib came with Nant v0.8.3 > > RC2. > > >How can i tell? > > > > > >--- brian <[EMAIL PROTECTED]> wrote: > > >> > > >> I have seen some posting that mention some improper > > functionality > > >> with > > >> preVss 6.0 c versions of Source Safe. Also I'm not sure that > it > > >> matters but > > >> I always use forward slashes when referencing VSS paths (eg > > >> $/Dev/Stuff). > > >> > > >> The task works fine for me recursively. What version of > > >> nAntContrib do you > > >> have? > > >> > > >> >-----Original Message----- > > >> >From: Michael Dang [mailto:[EMAIL PROTECTED] > > >> >Sent: Friday, August 15, 2003 4:03 PM > > >> >To: brian; [EMAIL PROTECTED] > > >> > > > >> >Hi, > > >> > > > >> >I am using Nant v0.8.3 rc2. > > >> >My variable ${VSSRepositoryPath} is set something like this: > > >> >$\nextGen\Code\Core\Components\Component1 > > >> > > > >> >Within the Component1 project contains the csproj and .cs > files > > >> and > > >> >the 2 subprojects under it contain some other important .cs > > files. > > >> > > > >> >I do a VSSLabel task before the VSSGet task and it > recursively > > >> goes > > >> >thru all the subprojects and labels the files correctly. So > i > > >> would > > >> >assume that the VSSGet would act the same way with the > > recursive > > >> >attribute = true. > > >> > > > >> >Version attribute maybe the issue but I am looking at the > > >> NantContrib > > >> >VSS GetTask and it looks ok. (Didn't run it). > > >> > > > >> > > > >> >Help? > > >> > > > >> > > > >> >--- brian <[EMAIL PROTECTED]> wrote: > > >> >> I'm using vss a lot without problem. What is > > >> ${VSSRepositoryPath} > > >> >> set to? > > >> >> I also do not use the version attribute so maybe that is > the > > >> issue? > > >> >> > > >> >> >-----Original Message----- > > >> >> >From: [EMAIL PROTECTED] > > >> [mailto:nant-users- > > >> >> >[EMAIL PROTECTED] On Behalf Of Michael Dang > > >> >> >Sent: Friday, August 15, 2003 3:22 PM > > >> >> >To: [EMAIL PROTECTED] > > >> >> > > > >> >> >Hi, > > >> >> > > > >> >> >I am using this call to get all the files within a > specific > > VSS > > >> >> >repository project (a.k.a. folder). It will recursively > get > > >> the > > >> >> >files in the root project specified in "path", but it does > > not > > >> get > > >> >> >the subprojects within that root project. Is this a bug > or > > the > > >> >> >intended functionality of only getting the files in the > root > > >> >> project > > >> >> >and not the subprojects. > > >> >> > > > >> >> >This is the call I am using and recursive="true" > > >> >> > > > >> >> ><vssget user="${vss.username}" password="${vss.password}" > > >> >> > localpath="${build.srccode.dir}\${Module.dir}" > > >> >> > dbpath="${vss.dbpath}" > > >> >> > path="${VSSRepositoryPath}" > > >> >> > recursive="true" > > >> >> > replace="true" > > >> >> > writable="true" > > >> >> > version="${Label}" /> > > >> >> > > > >> >> >===== > > >> >> >Michael Dang > > >> >> > > > >> >> >__________________________________ > > >> >> >Do you Yahoo!? > > >> >> >Yahoo! SiteBuilder - Free, easy-to-use web site design > > software > > >> >> >http://sitebuilder.yahoo.com > > >> >> > > > >> >> > > > >> >> >------------------------------------------------------- > > >> >> >This SF.Net email sponsored by: Free pre-built ASP.NET > sites > > >> >> including > > >> >> >Data Reports, E-commerce, Portals, and Forums are > available > > >> now. > > >> >> >Download today and enter to win an XBOX or Visual Studio > > .NET. > > >> >> > > >> >>http://aspnet.click- > > >> >url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > >> >> >_______________________________________________ > > >> >> >Nant-users mailing list > > >> >> >[EMAIL PROTECTED] > > >> >> >https://lists.sourceforge.net/lists/listinfo/nant-users > > >> >> > > >> > > > >> > > > >> >===== > > >> >Michael Dang > > >> > > > >> >__________________________________ > > >> >Do you Yahoo!? > > >> >Yahoo! SiteBuilder - Free, easy-to-use web site design > software > > >> >http://sitebuilder.yahoo.com > > >> > > > > > > > > >===== > > >Michael Dang > > > > > >__________________________________ > === message truncated === ===== Michael Dang __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users