RE: VSSGET and labeling...
(Just seen late posting but may help others if not already solved) I have also experienced hours of pain using VSS and getting [Version not found] when getting individual labels. The problem is a 100% bug with VSS. However Microsoft kindly wrote a small .exe for me which will recursively get files with specific labels - yes I was also shocked. This works every time. I use the following target to call it from Ant: target name=fetch_labelled_VSSfiles exec executable=d:\SSGet.exe arg line=SSget -p'${vss_path}' -r -uuser,password -l${vss_label} \\builddv1\PolVSS / /exec /target The combined source code and .exe zipped are 60kb. I will post as an attachment to the list if requested.. -Original Message- From: Andrew Close [mailto:[EMAIL PROTECTED]] Sent: 29 November 2001 20:22 To: Ant Users List Subject: VSSGET and labeling... hello all i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: extract_label: [echo] Extracting Label: 2.0 from VSS... [vssget] Set D:\Development\Build\Marketing as the default folder for project $/MKTG?(Y/N)N [vssget] Version not found BUILD FAILED D:\DEVELO~1\MARKET~1\build.xml:43: Failed executing: D:\Program Files\Microsoft Visual Studio\VSS\\win32\ss Get $/MKTG -GLD:\Development\Build\Marketing -I- - R -VL2.0 -YLocalBuild, LocalBuild at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET. java:185) at org.apache.tools.ant.Task.perform but if i label the project root '2.0' and thus label each file(the latest version of the file) in the project '2.0', my ant script works fine. however, i don't want the latest version of each file to be labeled '2.0'. we have added files, made changes, etc. and want to release things that work(no runtime errors) from a couple of days ago. the VSS help is pretty sparse on checking out labeled files from the command line and how to label them. attached is the ant script we're attempting to use. thanks for any help. andy __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: VSSGET and labeling...
Please do (post the exe). If you can post it to a public site, please do that too. Many mail services may not allow .exe attachments. Thanks, Shawn -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 9:50 AM To: 'Ant Users List' Cc: '[EMAIL PROTECTED]' Subject: RE: VSSGET and labeling... (Just seen late posting but may help others if not already solved) I have also experienced hours of pain using VSS and getting [Version not found] when getting individual labels. The problem is a 100% bug with VSS. However Microsoft kindly wrote a small .exe for me which will recursively get files with specific labels - yes I was also shocked. This works every time. I use the following target to call it from Ant: target name=fetch_labelled_VSSfiles exec executable=d:\SSGet.exe arg line=SSget -p'${vss_path}' -r -uuser,password -l${vss_label} \\builddv1\PolVSS / /exec /target The combined source code and .exe zipped are 60kb. I will post as an attachment to the list if requested.. -Original Message- From: Andrew Close [mailto:[EMAIL PROTECTED]] Sent: 29 November 2001 20:22 To: Ant Users List Subject: VSSGET and labeling... hello all i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: extract_label: [echo] Extracting Label: 2.0 from VSS... [vssget] Set D:\Development\Build\Marketing as the default folder for project $/MKTG?(Y/N)N [vssget] Version not found BUILD FAILED D:\DEVELO~1\MARKET~1\build.xml:43: Failed executing: D:\Program Files\Microsoft Visual Studio\VSS\\win32\ss Get $/MKTG -GLD:\Development\Build\Marketing -I- - R -VL2.0 -YLocalBuild, LocalBuild at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET. java:185) at org.apache.tools.ant.Task.perform but if i label the project root '2.0' and thus label each file(the latest version of the file) in the project '2.0', my ant script works fine. however, i don't want the latest version of each file to be labeled '2.0'. we have added files, made changes, etc. and want to release things that work(no runtime errors) from a couple of days ago. the VSS help is pretty sparse on checking out labeled files from the command line and how to label them. attached is the ant script we're attempting to use. thanks for any help. andy __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- 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]
RE: VSSGET and labeling...
Attached as Windows Zip file. Contains source code and .exe. Feel free to post it to any public sites. -Original Message- From: Shawn McManus [mailto:[EMAIL PROTECTED]] Sent: 05 December 2001 15:49 To: Ant Users List Subject: RE: VSSGET and labeling... Please do (post the exe). If you can post it to a public site, please do that too. Many mail services may not allow .exe attachments. Thanks, Shawn -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 9:50 AM To: 'Ant Users List' Cc: '[EMAIL PROTECTED]' Subject: RE: VSSGET and labeling... (Just seen late posting but may help others if not already solved) I have also experienced hours of pain using VSS and getting [Version not found] when getting individual labels. The problem is a 100% bug with VSS. However Microsoft kindly wrote a small .exe for me which will recursively get files with specific labels - yes I was also shocked. This works every time. I use the following target to call it from Ant: target name=fetch_labelled_VSSfiles exec executable=d:\SSGet.exe arg line=SSget -p'${vss_path}' -r -uuser,password -l${vss_label} \\builddv1\PolVSS / /exec /target The combined source code and .exe zipped are 60kb. I will post as an attachment to the list if requested.. -Original Message- From: Andrew Close [mailto:[EMAIL PROTECTED]] Sent: 29 November 2001 20:22 To: Ant Users List Subject: VSSGET and labeling... hello all i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: extract_label: [echo] Extracting Label: 2.0 from VSS... [vssget] Set D:\Development\Build\Marketing as the default folder for project $/MKTG?(Y/N)N [vssget] Version not found BUILD FAILED D:\DEVELO~1\MARKET~1\build.xml:43: Failed executing: D:\Program Files\Microsoft Visual Studio\VSS\\win32\ss Get $/MKTG -GLD:\Development\Build\Marketing -I- - R -VL2.0 -YLocalBuild, LocalBuild at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET. java:185) at org.apache.tools.ant.Task.perform but if i label the project root '2.0' and thus label each file(the latest version of the file) in the project '2.0', my ant script works fine. however, i don't want the latest version of each file to be labeled '2.0'. we have added files, made changes, etc. and want to release things that work(no runtime errors) from a couple of days ago. the VSS help is pretty sparse on checking out labeled files from the command line and how to label them. attached is the ant script we're attempting to use. thanks for any help. andy __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- 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] ssget.zip Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: VSSGET and labeling...
Euan, I've just had an email from the IT helpdesk saying that that SSGet.exe has been quarantined, and the email is not being forwarded to my account. Either ZIP the exe, or post it on a HTTP server so we can download it. Regards, Peter This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: VSSGET and labeling...
Hi Andrew, Can you post up your ant target that you're using to get your source by label. We've been using VSS with labelling from ant without any problem. Perhaps if I saw your target definition it might shed some light on things. thanks, Paul -Original Message- From: Andrew Close [mailto:[EMAIL PROTECTED]] Sent: 29 November 2001 20:22 To: Ant Users List Subject: VSSGET and labeling... hello all i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: extract_label: [echo] Extracting Label: 2.0 from VSS... [vssget] Set D:\Development\Build\Marketing as the default folder for project $/MKTG?(Y/N)N [vssget] Version not found BUILD FAILED D:\DEVELO~1\MARKET~1\build.xml:43: Failed executing: D:\Program Files\Microsoft Visual Studio\VSS\\win32\ss Get $/MKTG -GLD:\Development\Build\Marketing -I- - R -VL2.0 -YLocalBuild, LocalBuild at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET. java:185) at org.apache.tools.ant.Task.perform but if i label the project root '2.0' and thus label each file(the latest version of the file) in the project '2.0', my ant script works fine. however, i don't want the latest version of each file to be labeled '2.0'. we have added files, made changes, etc. and want to release things that work(no runtime errors) from a couple of days ago. the VSS help is pretty sparse on checking out labeled files from the command line and how to label them. attached is the ant script we're attempting to use. thanks for any help. andy __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- 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]
RE: VSSGET and labeling...
Peter, The .exe was zipped, however your virus protection has looked inside the zip. I would be happy to pst to a public HTTP server if you give me directions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 05 December 2001 16:07 To: [EMAIL PROTECTED] Subject: RE: VSSGET and labeling... Euan, I've just had an email from the IT helpdesk saying that that SSGet.exe has been quarantined, and the email is not being forwarded to my account. Either ZIP the exe, or post it on a HTTP server so we can download it. Regards, Peter This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com -- 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]
RE: VSSGET and labeling...
Everyone, Try this. I renamed the file extension to .thisisazip. Rename it back to .zip. It should get past the virus scanners. Scott -Original Message- From: Euan Guttridge [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:33 AM To: 'Ant Users List' Subject: RE: VSSGET and labeling... Peter, The .exe was zipped, however your virus protection has looked inside the zip. I would be happy to pst to a public HTTP server if you give me directions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 05 December 2001 16:07 To: [EMAIL PROTECTED] Subject: RE: VSSGET and labeling... Euan, I've just had an email from the IT helpdesk saying that that SSGet.exe has been quarantined, and the email is not being forwarded to my account. Either ZIP the exe, or post it on a HTTP server so we can download it. Regards, Peter This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com -- 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] ssget.thisisazip Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: VSSGET and labeling...
This is more of a VSS question than an ant question. Nevertheless, which version of VSS are you using? The problem is that if you create two labels separately, even if they have the same name, they won't be the same label item. Your best bet is to use a previous build and alter the files you've updated to use this older build label. Note that you can only do this in VSS 6.0, not in 5.0 or earlier. -Original Message- From: Andrew Close [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:22 PM To: Ant Users List Subject: VSSGET and labeling... hello all i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: extract_label: [echo] Extracting Label: 2.0 from VSS... [vssget] Set D:\Development\Build\Marketing as the default folder for project $/MKTG?(Y/N)N [vssget] Version not found BUILD FAILED D:\DEVELO~1\MARKET~1\build.xml:43: Failed executing: D:\Program Files\Microsoft Visual Studio\VSS\\win32\ss Get $/MKTG -GLD:\Development\Build\Marketing -I- - R -VL2.0 -YLocalBuild, LocalBuild at org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET. java:185) at org.apache.tools.ant.Task.perform but if i label the project root '2.0' and thus label each file(the latest version of the file) in the project '2.0', my ant script works fine. however, i don't want the latest version of each file to be labeled '2.0'. we have added files, made changes, etc. and want to release things that work(no runtime errors) from a couple of days ago. the VSS help is pretty sparse on checking out labeled files from the command line and how to label them. attached is the ant script we're attempting to use. thanks for any help. andy __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: VSSGET and labeling...
i'm attempting to get my ant script to check out labeled files from VSS and i'm having a couple of problems. :) if i label individual files in my project '2.0' and then try to get '2.0' from VSS i get the following error: snip I don't believe this is an Ant problem at all - it's VSS that basically doesn't do what you want, I'm afraid. I've run into this kind of thing before with the normal SourceSafe client :( Jon -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: VSSGET and labeling...
thank you for the reply john. Nevertheless, which version of VSS are you using? VSS 6.0 The problem is that if you create two labels separately, even if they have the same name, they won't be the same label item. so if i go into each file and individually label them '2.0' i won't be able to get '2.0' because they really aren't all labelled the same? i have to do my labelling at the project level? what if you want to limit the files that are released in this particular build? maybe we need to come up with a new labelling standard... Your best bet is to use a previous build and alter the files you've updated to use this older build label. Note that you can only do this in VSS 6.0, not in 5.0 or earlier. so i should label all my files '1.0' since that worked? i don't quite follow you. or are you saying i should manually create my build? andy __ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]