ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Leary" <jle...@pobox.com>
Subject Re: sourcesafe problems (error code 193)
Date Thu, 16 Aug 2001 20:00:13 GMT

----- Original Message -----
From: "Will Dyke" <will.dyke@bbc.co.uk>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, August 16, 2001 1:03 PM
Subject: sourcesafe problems (error code 193)


> I am having problems getting code from source safe using
> ant v1.3.
>
> This may be related to building Ant v1.4b1 earlier (the
> script worked before I did this) but I'm not sure.
>
> Anyway, the build script I'm using is this:
>
> <project name="fakebuild" default="wrapper" basedir=".">
>
>   <!-- ant.properties must contain the following:
>        1. username      sourcesafe username
>        2. password      sourcesafe password
>        3. dynamo.root   The root directory of the Dynamo installation
>        4. ssdir         Sourcesafe directory where ss.exe lives
>   -->
>   <property file="ant.properties"/>
>
>   <target name="wrapper">
>
>     <!-- Get the latest build.xml file -->
>     <vssget localPath="." writable="false"
>             login="${username},${password}" ssdir="${ssdir}"
>             vssPath="$/New Beeb - Phase 1/atg/ant/bin/build.xml"/>
>     <ant antfile="build.xml" target="build-deploy"/>
>   </target>
> </project>



You need to remove the '$' character from the vsspath string.  The MSVSS
class that actually runs the command inserts the '$' for you, since ant will
have all sorts of problems with it if specified, as you have noticed.

Jim L.





Mime
View raw message