----- Original Message -----
From: "Will Dyke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.