ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Twiggs, Glenn" <Glenn_Twi...@bmc.com>
Subject FW: Ant : Vss tasks troubles
Date Tue, 11 Sep 2001 18:22:57 GMT
I won't have a chance to take a close look at this today (and probably not
this week), so I've forwarded it to the ANT user list. They should be able
to help.

Glenn.

-----Original Message-----
From: sebastien alegret [mailto:sebastien.alegret@imaginebroadband.com]
Sent: Tuesday, September 11, 2001 3:02 AM
To: Glenn_Twiggs@bmc.com
Subject: Ant : Vss tasks troubles


Hello,
 
Maybe you will be able to answer my problem with VSS ant tasks.
For the moment, in order to extract stuffs from VSS, I'm using a batch file.
The two main lines are:
 
set ssdir=F:\MyProject\Vss (F is a W2K network drive)
ss Get $/IIP/MyAppli -GLC:\ant\bin -I- -R "-VLPackage v1.0"
-Ymyname,mypasswd
 
I want to use ant tasks in order to do the job for me.
My problem is the following:
 
I'm using the task:
<target name="test" depends="init">
<vssget localPath="./sources" serverPath="F:\MyProject\myAppli"
recursive="true" 
    label="Package v1.0"
    login="myname,mypasswd"
    vsspath="/IIP/MyAppli"
    writable="false"/>
</target>
And the command line generated by ant is the same than the first one (ss GET
....) but apparently, the set on the ssdir variable is not done.
The error message is:
BUILD FAILED
C:\ant\bin\build.xml:28: java.io.IOException: CreateProcess: ss Get
$/IIP/myAppli -GLC:\ant\bin\sources -I- -R "-VLPackage v1.0"
-Ymyname,mypasswd error=2
 
In fact, the same task without the serverPath attribute gives me the same
result. The serverPath attribute seems to be useless.
My problem is how can I do my VSS get if I have several VSS DB and if I want
to select one of them
 
If you have a solution and a little bit time to loose in order to help me,
it would be excellent.
Cheers
Sebastien
 
     Sebastien Alegret
     Imagine Broadband SARL
     IIP
 
p    c/o Accenture, 449 route des CrĂȘtes, 06902, Sophia Antipolis, France
t    +33 (0) 492 94 7586
f    +33 (0) 492 94 6797
m   +33 (0) 6xx xx xxxx 
e    sebastien.alegret@imaginebroadband.com
w    www.imaginebroadband.com


This message is for the designated recipient only and may contain privileged
or confidential information. If you have received it in error, please notify
the sender immediately and delete the original. Any other use of the email
by you is prohibited. 
 
 

Mime
View raw message