Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 35406 invoked from network); 27 Nov 2000 15:05:32 -0000 Received: from unknown (HELO proxy.) (62.213.135.65) by locus.apache.org with SMTP; 27 Nov 2000 15:05:32 -0000 Received: from sfile.fr.corp.vizzavi.net ([10.211.119.31]) by proxy. (8.8.8+Sun/8.8.8) with ESMTP id QAA11582 for ; Mon, 27 Nov 2000 16:01:40 +0100 (MET) Received: from dev15 ([10.211.120.115]) by sfile.fr.corp.vizzavi.net (8.8.8+Sun/8.8.8) with SMTP id QAA24881 for ; Mon, 27 Nov 2000 16:02:38 +0100 (MET) Message-ID: <01b901c0588b$adbe9260$7378d30a@fr.corp.vizzavi.net> From: "jeremie hebre" To: References: Subject: Re: problem with VSSGET Date: Mon, 27 Nov 2000 16:03:53 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01B2_01C0588B.A3C096A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_01B2_01C0588B.A3C096A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've added ssdir, and it works!! Thank you very much. JH ----- Original Message -----=20 From: KC Baltz=20 To: 'ant-user@jakarta.apache.org'=20 Sent: Monday, November 27, 2000 2:43 PM Subject: RE: problem with VSSGET What is your PATH variable set to? I believe I had to have vss.exe in = a path that did not contain spaces or use the ~'ed form of the path. = Try using the ssdir attribute to the directory where ss.exe is located. = =20 K.C.=20 -----Original Message----- From: jeremie hebre [mailto:jeremie.hebre@corp.vizzavi.net] Sent: Monday, November 27, 2000 10:40 AM To: ant-user@jakarta.apache.org Subject: Re: problem with VSSGET My path names doesn't contain any space. Moreover, they are = environment variables. My script, including the values of my ${} : ----- Original Message -----=20 From: KC Baltz=20 To: 'ant-user@jakarta.apache.org'=20 Sent: Monday, November 27, 2000 2:04 PM Subject: RE: problem with VSSGET I just dealt with this issue. Look at = http://marc.theaimsgroup.com/?l=3Dant-dev&w=3D2&r=3D1&s=3Dvss&q=3Db to = see the recent conversation. For me, it boiled down to an issue of path = names with spaces in them. When I replaced the names with their ~'ed = equivalents (e.g. C:\Program Files =3D=3D C:\progra~1) it worked fine. = I also use / instead of \, not sure if that was part of the fix or not. = If that doesn't help, include the values of your ${} properties so we = can get a better idea of what you're doing. =20 K.C. Baltz Senior Engineer Response Networks, Inc. North Andover, MA (978)725-3133 =20 =20 -----Original Message----- From: jeremie hebre [mailto:jeremie.hebre@corp.vizzavi.net] Sent: Monday, November 27, 2000 5:56 AM To: ant-user@jakarta.apache.org Subject: problem with VSSGET Hi, I'm trying to use vssget task. When using the command line, I = manage to get the files from VSS. But when using the following task: , I get the following error message: Buildfile: build.xml getsources: BUILD FAILED C:\dev\deployer\build\build.xml:143: java.io.IOException: = CreateProcess: ss Get $/dev/sample/src - GLC:\dev\deployer\src -I- -R -Ydeploy,deploy error=3D2 java.io.IOException: CreateProcess: ss Get $/dev/sample/src = -GLC:\dev\deployer\src -I- -R -Ydeploy ,deploy error=3D2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Win32Process.java:64) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Runtime.java:272) at = org.apache.tools.ant.taskdefs.Execute$CommandLauncher.exec(Execute.java:3= 25) at = org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execute.j= ava:431) at = org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execute.j= ava:456) at = org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:247) at = org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:161) at = org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java= :167) at org.apache.tools.ant.Target.execute(Target.java, = Compiled Code) at = org.apache.tools.ant.Project.runTarget(Project.java:818) at = org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code) at = org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code) at org.apache.tools.ant.Main.runBuild(Main.java, = Compiled Code) at org.apache.tools.ant.Main.main(Main.java:149) Total time: 0 seconds Press any key to continue . . . Any ideas? J=E9r=E9mie ------=_NextPart_000_01B2_01C0588B.A3C096A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've added ssdir, and it=20 works!!
 
Thank you very much.
 
JH
----- Original Message -----
From:=20 KC Baltz
To: 'ant-user@jakarta.apache.org' =
Sent: Monday, November 27, 2000 = 2:43=20 PM
Subject: RE: problem with = VSSGET

What=20 is your PATH variable set to?  I believe I had to have vss.exe in = a path=20 that did not contain spaces or use the ~'ed form of the path.  = Try using=20 the ssdir attribute to the directory where ss.exe is located. =20
 
K.C.=20
-----Original Message-----
From: jeremie hebre = [mailto:jeremie.hebre@corp.= vizzavi.net]
Sent:=20 Monday, November 27, 2000 10:40 AM
To:=20 ant-user@jakarta.apache.org
Subject: Re: problem with=20 VSSGET

My path names doesn't contain any = space.=20 Moreover, they are environment variables.
My script, including the values of = my ${}=20 :
 
<vssget=20 = login=3D"deploy,deploy"
       &nbs= p;   =20 = localPath=3D"../src"
        &= nbsp;  =20 = recursive=3D"true"
        &nb= sp;  =20 vsspath=3D"/dev/deployer/src"
 
          =20 writable=3D"false"/>
 
----- Original Message ----- =
From:=20 KC Baltz
To: 'ant-user@jakarta.apache.org' =
Sent: Monday, November 27, = 2000 2:04=20 PM
Subject: RE: problem with=20 VSSGET

I just dealt with this issue.  = Look at http://marc.theaimsgroup.com/?l=3Dant-dev&w=3D2&a= mp;r=3D1&s=3Dvss&q=3Db to=20 see the recent conversation.  For me, it boiled down to an = issue of=20 path names with spaces in them.  When I replaced the names = with their=20 ~'ed equivalents (e.g. C:\Program Files =3D=3D C:\progra~1) it = worked=20 fine.  I also use / instead of \, not sure if that was part = of the=20 fix or not.  If that doesn't help, include the values of your = ${}=20 properties so we can get a better idea of what you're=20 doing.

 

K.C. Baltz
Senior Engineer
Response = Networks,=20 Inc.
North Andover, MA
(978)725-3133
 
=20

 
 -----Original=20 Message-----
From: jeremie hebre=20 [mailto:jeremie.hebre@corp.vizzavi.net]
Sent: Monday, = November=20 27, 2000 5:56 AM
To:=20 ant-user@jakarta.apache.org
Subject: problem with=20 VSSGET

Hi,
 
I'm trying to use vssget task. = When using=20 the command line, I manage to get the files from VSS. But when = using the=20 following task:
 
<vssget=20 = login=3D"${vss.user},${vss.password}"
     &n= bsp;     =20 = localPath=3D"${src.dir}"
       &nb= sp;   =20 = recursive=3D"true"
        &nb= sp;  =20 vsspath=3D"/dev/${project.deploy}/src"
 
          =20 writable=3D"false"/>
 
 
, I get the following error=20 message:
 
 
Buildfile: build.xml
 
getsources:
 
BUILD FAILED
 
C:\dev\deployer\build\build.xml:143: java.io.IOException:=20 CreateProcess: ss Get $/dev/sample/src = -
GLC:\dev\deployer\src -I- -R=20 -Ydeploy,deploy  error=3D2
java.io.IOException: = CreateProcess: ss=20 Get $/dev/sample/src -GLC:\dev\deployer\src -I- -R=20 -Ydeploy
,deploy =20 error=3D2
        at=20 java.lang.Win32Process.create(Native=20 Method)
        at=20 = java.lang.Win32Process.<init>(Win32Process.java:64)
  =      =20 at java.lang.Runtime.execInternal(Native=20 Method)
        at=20 = java.lang.Runtime.exec(Runtime.java:272)
     = ;  =20 at=20 = org.apache.tools.ant.taskdefs.Execute$CommandLauncher.exec(Execute.java:3= 25)
       =20 at=20 = org.apache.tools.ant.taskdefs.Execute$CommandLauncherProxy.exec(Execute.j= ava:431)
       =20 at=20 = org.apache.tools.ant.taskdefs.Execute$WinNTCommandLauncher.exec(Execute.j= ava:456)
       =20 at=20 = org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:247)
 =       =20 at=20 = org.apache.tools.ant.taskdefs.optional.vss.MSVSS.run(MSVSS.java:161)
&= nbsp;      =20 at=20 = org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.java= :167)
       =20 at org.apache.tools.ant.Target.execute(Target.java, Compiled=20 Code)
        at=20 = org.apache.tools.ant.Project.runTarget(Project.java:818)
  &= nbsp;    =20 at org.apache.tools.ant.Project.executeTarget(Project.java, = Compiled=20 Code)
        at=20 org.apache.tools.ant.Project.executeTargets(Project.java, = Compiled=20 Code)
        at=20 org.apache.tools.ant.Main.runBuild(Main.java, Compiled=20 Code)
        at=20 org.apache.tools.ant.Main.main(Main.java:149)
 
Total time: 0 seconds
Press any key to continue . . = .
 
 
Any ideas?
 
=
J=E9r=E9mie
------=_NextPart_000_01B2_01C0588B.A3C096A0--