ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atluri, Vamsi NYC" <VAtl...@citco.com>
Subject RE: ANT vss get - Problems with retrieving specific lable
Date Wed, 27 Feb 2002 20:01:22 GMT
Ive tried everything you stated below - And nothing works

Says 'file or project "$/cfn" does not exist

When i try ss get *.* - I get a message No Matching Files founfd: $/*.*

The get that i am using works fine - The problem is when I add the label
value in the vss get target -  It says label not found. I have a utility
that allows me to get the correct label - But it has to be outside of ant

Thanks

-----Original Message-----
From: Zhang, Yongcun [mailto:yzhang@lumicyte.com]
Sent: Wednesday, February 27, 2002 1:33 PM
To: Ant Users List
Subject: RE: ANT vss get - Problems with retrieving specific lable


Hello, I have experienced similar problem, but not the same problem.
Here is the basic (hard) way to figure out what is wrong:

In order for ssget to work, your project (stored in VSS) must be under
folder VSS/data, and an executable ss.exe must be under VSS/win32.  See
your admin otherwise.

First try to use command line to perform the task.  Here is how to do
it:

Dos> Cd \\nycdevweb003\cdrive\Program Files\Microsoft Visual
Studio\Common\VSS
...VSS> dir
	You should see folders like 
		/data (your stored project must be in this folder or its
subfolder like aaaa ..., if not see your admin).
		/win32
...VSS> cd win32
	You should see an executable ss.exe (if not see your admin)
...win32> ss cp $/cfn
	You should see:
		Current project is $/cfn  (if not, your project is not
there)
...win32> ss get *.*
	You should see:
		Getting *.*
...win32> dir
	You should see all the files you intended to get.

Now try your ant script, it should work (if it does not, check the
syntax of your script).

Hope this helps.

Yongcun



-----Original Message-----
From: Atluri, Vamsi NYC [mailto:VAtluri@citco.com] 
Sent: 2002年2月27日 8:36
To: 'Ant Users List'
Subject: ANT vss get - Problems with retrieving specific lable

Hello

Please Advise - Thanks

I am excuting the following:

 <target name="VSS get CFN" depends="init">
	<!-- Get files from VSS DB -->
	<vssget localPath="${cfnDir}"
	ssdir="¥¥nycdevweb003¥cdrive¥Program Files¥Microsoft Visual
Studio¥Common¥VSS¥win32"
	serverPATH="¥cdrive¥citco_vss"
	recursive="true"
	label="v1.01"
	autoresponse="Y"
	login="admin,password"
	vsspath="/cfn"
	writable="true"/>
    </target> 

I am encoutering the following error:

VSS get CFN:
Execute:Java13CommandLauncher: "¥cdrive¥Program Files¥Microsoft Vi
sual Studio¥Common¥VSS¥win32¥ss" Get $/cfn -GLD:¥cfn -I-Y -R -VLv1.01 -W
-Yadmin
,password
   [vssget] Version not found

BUILD FAILED

d:¥scripts¥cfn¥getcfn_new.xml:83: Failed executing: "¥cdrive¥Progr
am Files¥Microsoft Visual Studio¥Common¥VSS¥win32¥ss" Get $/cfn
-GLD:¥cfn
-I-Y -
R -VLv1.01 -W -Yadmin,password
        at
org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET.execute(MSVSSGET.
java:185)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 4 seconds

--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message