ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Dyke <will.d...@bbc.co.uk>
Subject RE: sourcesafe problems (error code 193)
Date Fri, 17 Aug 2001 08:07:31 GMT
I've removed the initial $ from vssPath, but unfortunately,
the build still fails in the same way.

D:\ant\bin>ant -buildfile build-deploy.xml -verbose
Ant version 1.3 compiled on March 2 2001

Buildfile: build-deploy.xml
Detected Java Version: 1.3
Detected OS: Windows NT
parsing buildfile D:\ant\bin\build-deploy.xml with URI =
file:D:/ant/bin/build-d
eploy.xml
Project base dir set to: D:\ant\bin
 [property] Loading D:\ant\bin\ant.properties
Build sequence for target `wrapper' is [wrapper]
Complete build sequence is [wrapper]

wrapper:

BUILD FAILED

D:\ant\bin\build-deploy.xml:15: java.io.IOException: CreateProcess:
c:\progra~1\
devstudio\vss\win32\ss Get "$/New Beeb - Phase 1/atg/ant/bin/build.xml"
-GLD:\an
t\bin -I- -Ydykew31,sourcesafe error=193
--- Nested Exception ---
java.io.IOException: CreateProcess: c:\progra~1\devstudio\vss\win32\ss Get
"$/Ne
w Beeb - Phase 1/atg/ant/bin/build.xml" -GLD:\ant\bin -I-
-Ydykew31,sourcesafe e
rror=193
        at java.lang.Win32Process.create(Native Method)
        at java.lang.Win32Process.<init>(Win32Process.java:66)
        at java.lang.Runtime.execInternal(Native Method)
        at java.lang.Runtime.exec(Runtime.java:551)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:509)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329)
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:160)
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.
java:168)
        at org.apache.tools.ant.Target.execute(Target.java:153)
        at org.apache.tools.ant.Project.runTarget(Project.java:898)
        at org.apache.tools.ant.Project.executeTarget(Project.java:536)
        at org.apache.tools.ant.Project.executeTargets(Project.java:510)
        at org.apache.tools.ant.Main.runBuild(Main.java:421)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 0 seconds

Will Dyke

> -----Original Message-----
> From: Jim Leary [mailto:jleary@pobox.com]
> Sent: 16 August 2001 21:00
> To: ant-user@jakarta.apache.org
> Subject: Re: sourcesafe problems (error code 193)
> 
> 
> 
> ----- 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.
> 
> 
> 
> 


This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately. The contents of
this message may contain personal views which are not the views of the
BBC, unless specifically stated.

Mime
View raw message