Hmm, thanks again Antoine - I've just tried that (and as it happens the ini file IS called srcsafe.ini), but now I'm getting the following output: ... ... property get_top_level vssget No VSS database (srcsafe.ini) found. Use the SSDIR environment variable or run netsetup. C:\dev\control\java\ctrltest.xml:133: Failed executing: "C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss" Get $/toplevel -GLC:\dev\control\java -I-Y -R "-YBart Read,br" C:\dev\control\java\ctrltest.xml:133: Failed executing: "C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss" Get $/toplevel -GLC:\dev\control\java -I-Y -R "-YBart Read,br" C:\dev\control\java\ctrltest.xml:133: Failed executing: "C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss" Get $/toplevel -GLC:\dev\control\java -I-Y -R "-YBart Read,br" Build completed with 3 errors and 1 warning. Time: 2 s Any ideas? Thanks, Bart -----Original Message----- From: Antoine Levy-Lambert [mailto:antoine@antbuild.com] Sent: 25 September 2003 11:57 To: Ant Users List Subject: AW: Failing sourcesafe task. try to change this property it should include the name of the ini file of source safe on your sourcesafe server. so for instance be : if the ini file is called srcsafe.ini Cheers, Antoine -----Ursprungliche Nachricht----- Von: Bart Read [mailto:bart.read@camcog.com] Gesendet: Donnerstag, 25. September 2003 12:10 An: user@ant.apache.org Betreff: Re: Failing sourcesafe task. Hi All, I have defined the following task to get everything in a project from MS Visual Sourcesafe 98: However, it's not working properly and I'm not sure why. I've tried fiddling with various things, particularly the autoresponse setting. Been looking at this off and on for the past few days in between other things but haven't had much luck with the docs or mailing list archives, so I was wondering if anybody might know what's going wrong? The output is as follows: c:\intellij-idea-3.0.5\jre\bin\java.exe -Xmx128M -Djava.home=C:\IntelliJ-IDEA-3.0.5\jre -classpath c:\intellij-idea-3.0.5\jre\lib\tools.jar;C:\IntelliJ-IDEA-3.0.5\lib\idea _rt.jar;C:\IntelliJ-IDEA-3.0.5\lib\ant.jar;C:\IntelliJ-IDEA-3.0.5\lib\op tional.jar;C:\dev\control\java\classes;C:\dev\control\java\resources;C:\ dev\control\java\lib\xsdlib.jar;C:\dev\control\java\lib\namespace.jar;C: \dev\control\java\lib\jax-qname.jar;C:\dev\control\java\lib\xerces.jar;C :\dev\control\java\lib\jaxb-xjc.jar;C:\dev\control\java\lib\jaxb-libs.ja r;C:\dev\control\java\lib\activation.jar;C:\dev\control\java\lib\commons -logging.jar;C:\dev\control\java\lib\commons-digester.jar;C:\dev\control \java\lib\commons-collections.jar;C:\dev\control\java\lib\jaxb-impl.jar; C:\dev\control\java\lib\jta-spec1_0_1.jar;C:\dev\control\java\lib\provid erutil.jar;C:\dev\control\java\lib\jaas.jar;C:\dev\control\java\lib\rela xngDatatype.jar;C:\dev\control\java\lib\oracle.jar;C:\dev\control\java\l ib\jakarta-regexp-1.2.jar;C:\dev\control\java\lib\mail.jar;C:\dev\contro l\java\lib\commons-beanutils.jar;C:\dev\control\java\lib\jaxb-api.jar;C: \dev\control\java\lib\bcprov-jdk14-119.jar com.intellij.rt.ant.execution.AntMain -logger com.intellij.rt.ant.execution.IdeaAntLogger -verbose -Dbuild.compiler.emacs=true -buildfile C:\dev\control\java\ctrltest.xml get_top_level ctrltest.xml init property ... ... property get_top_level vssget $/TopLevel: Auxil.jar build13.xml deploy.bat oracle.jar scrub.bat scrubSSmetadata.bat $/TopLevel/crypto: 0.bks 0.jks 1.bks 1.jks 2.bks 2.jks 3.bks 3.jks 4.bks 4.jks 5.bks 5.jks 6.bks 6.jks system.bks system.jks $/TopLevel/interpreter: A writable copy of C:\dev\control\java\build.xml already exists $/TopLevel/interpreter/io: pulse $/TopLevel/lib: activation.jar Getting Auxil.jar bcprov-jdk14-119.jar A writable copy of C:\dev\control\java\interpreter\winterpreter.exe already exists commons-beanutils.jar commons-collections.jar commons-digester.jar commons-logging.jar jaas.jar jakarta-regexp-1.2.jar jax-qname.jar jaxb-api.jar jaxb-impl.jar jaxb-libs.jar jaxb-xjc.jar jta-spec1_0_1.jar mail.jar namespace.jar oracle.jar providerutil.jar relaxngDatatype.jar xerces.jar xsdlib.jar C:\dev\control\java\ctrltest.xml:133: Failed executing: "C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss" Get $/toplevel -GLC:\dev\control\java -I-Y -R "-YBart Read,br" C:\dev\control\java\ctrltest.xml:133: Failed executing: "C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss" Get $/toplevel -GLC:\dev\control\java -I-Y -R "-YBart Read,br" C:\dev\control\java\ctrltest.xml:133: Failed executing: "C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\ss" Get $/toplevel -GLC:\dev\control\java -I-Y -R "-YBart Read,br" Build completed with 3 errors and 2 warnings. Time: 3 s Line 133 is the line with the autoresponse setting on, but as you can see the error message isn't particularly informative, and it fails on the previous line if I remove the autoresponse attribute. The odd thing is that is does seem to have done a successful get on all the files it should have done, but it seems that the task isn't completing properly because of something that happens after it gets the last file. Unfortunately I've no idea what this is. In case it helps the relevant property definitions are as follows: I'm running J2SDK 1.4.2 on Win2000 SP4, with Ant 1.5 integrated with IntelliJ IDEA 3.0.5. I'd be most grateful for any suggestions. Many thanks, Bart Read ********************************************************************** IMPORTANT NOTICE. Confidentiality: This e-mail and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this e-mail and highlight the error. Security Warning: Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Viruses: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Monitoring and Scanning: Cambridge Cognition has monitoring and scanning systems in place in relation to emails sent and received to: monitor / record business communications; prevent and detect crime; investigate the use of the Company's internal and external email system; and provide evidence of compliance with business practices. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org