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 21:28:17 GMT
I think your right - But i have been getting two very different results with
what i have done below

Heres the situation

when i execute the following in my .xml file via ant - It retrieves the
files i want and builds the directory tree (good)- In this case there is
only 1

<target name="vssget" depends="init">

<exec dir="\vssget" executable="d:\vssget\SSGet.exe" os="Windows 2000"
output="v-test.txt">
  <arg line="-p$/cfn -r -uadmin,password -lv1.01
\\nycdevweb003\cdrive\citco_vss"/>
</exec>
</target>

When i execute the below - Basically the whole project has a label of v1.01
But this one gets all the files - But it gets them to my d:\ it does not
build the directory structure as the above example

<target name="vssget" depends="init">

<exec dir="\vssget" executable="d:\vssget\SSGet.exe" os="Windows 2000"
output="core-test.txt">
  <arg line="-p$/core -r -uadmin,password -lv1.01
\\nycdevweb003\cdrive\citco_vss"/>
</exec>
</target>

I will try out the $$

Thanks

-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Wednesday, February 27, 2002 4:14 PM
To: Ant Users List
Subject: RE: ANT vss get - Problems with retrieving specific lable


--- "Atluri, Vamsi                NYC" <VAtluri@citco.com> wrote:
> Since i could not figure out what the problem was with the VSS task - I
> went forward with the following
> 
> <target name="vssget" depends="init">
> 
> <exec dir="\vssget" executable="d:\vssget\SSGet.exe" os="Windows 2000"
> output="v-test.txt">
>   <arg line="-p$/core -r -uadmin,password -lv1.01
> \\nycdevweb003\cdrive\citco_vss"/>
> </exec>
> </target>
> 
> It works pretty nice

I'm surprised it does, since a $ usually needs to be escaped (ie., doubled
up: $$).

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
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