I know the below is not much different then what you are doing - I would suggest just running the command with all your values hard coded. Maybe ant is reading something it does not like
hope that helps <target name="VSS get Core" depends="init"> <!-- Get files from VSS DB --> <vssget localPath="${coreDir}" ssdir="\\devwebxxx\cdrive\Program Files\Microsoft Visual Studio\Common\VSS\win32" serverPATH="\\devwebxxx\cdrive\citco_vss" recursive="true" login="xxxx,xxx" vsspath="/core" writable="true"/> </target> -----Original Message----- From: Bill Pfeiffer [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 4:20 PM To: Ant Users List Subject: Re: vssget appears to work but task fails My source (which uses props to hide userid and password, etc): <target name="PROD_LATEST"> <vssget localPath="${basedir}" recursive="true" login="${srcsafe.userid},${srcsafe.password}" vsspath="/espeed/j2ee/espeed-web" writable="false" ssdir="${srcsafe.dir}"/> </target> I've tried debug which shows the source safe command line, but this appears ok and like I said, it gets the files, no problem. It just fails the task at the end. I assume it's returning an error level but there is no indication why. Here's the actual vss command line: "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" Get $/espeed/j2ee/espeed-web -GLC:\Work\AF\Esp_Prod -I- -R -Yuserid,password Here's the error that ant puts out: C:\Work\AF\Esp_Prod\build.xml:710: Failed executing: "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" Get $/espeed/j2ee/espeed-web -GLC:\Work\AF\Esp_Prod -I- -R -Yuserid,password at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET. java:185) at org.apache.tools.ant.Task.perform(Task.java:217) at org.apache.tools.ant.Target.execute(Target.java:184) at org.apache.tools.ant.Target.performTasks(Target.java:202) at org.apache.tools.ant.Project.executeTarget(Project.java:601) at org.apache.tools.ant.Project.executeTargets(Project.java:560) at org.apache.tools.ant.Main.runBuild(Main.java:454) at org.apache.tools.ant.Main.start(Main.java:153) at org.apache.tools.ant.Main.main(Main.java:176) Not much to go on, is it? Thanks for any help, Bill Pfeiffer ----- Original Message ----- From: "Atluri, Vamsi NYC" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]>; "'Bill Pfeiffer '" <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 3:45 PM Subject: RE: vssget appears to work but task fails > > >vssget appears to work, all files are retrieved from source control, but > the > >task is failing. Any ideas why? Any ideas where to start looking for > >clues? > > > I am using the vssget task and have not encountered and failures > > do you a sample of your code and the error messages ? > > -----Original Message----- > From: Bill Pfeiffer [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 04, 2002 3:43 PM > To: Ant-User > Subject: vssget appears to work but task fails > > > vssget appears to work, all files are retrieved from source control, but the > task is failing. Any ideas why? Any ideas where to start looking for > clues? > > Thanks, > > Bill Pfeiffer > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>