You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Bielby, Randy J." <rb...@kraft.com> on 2000/10/18 21:26:03 UTC

Optional task question

I am trying to get the optional task for VssGet to work with my buid.  Ant
appears to be running vss and passing the username to it.  I get a display
of showing the taskdef name and username for vss.  It appears to just hang
and wait at that point.  Does someone have any input or further
documentation as to how this should work??  Below is my taskdef

  <target name="prepare">
    <taskdef name="VssGetTest"
classname="org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET"/>
    <VssGetTest vsspath="$/project/Test/" localpath="${deploy.home}" 
    writable="false" recursive="true" ssdir="D:\Program Files\Microsoft
Visual Studio\VSS\WIN32" 
    login="randyb,randyb"  />
  </target>

Randy Bielby
Madison, Wisconsin
rbielby@gr.com



Re: Optional task question

Posted by Nico Seessle <Ni...@epost.de>.
Run it with -verbose, cut-and-paste the command it shows it is executing and
try to execute the command manually. I guess it will ask for a password?
(if -verbose does not show you the command and you are using Ant 1.2 you may
need to specify -debug)

Nico

----- Original Message -----
From: "Bielby, Randy J." <rb...@kraft.com>
To: "Ant user mail list (E-mail)" <an...@jakarta.apache.org>
Sent: Wednesday, October 18, 2000 9:26 PM
Subject: Optional task question


> I am trying to get the optional task for VssGet to work with my buid.  Ant
> appears to be running vss and passing the username to it.  I get a display
> of showing the taskdef name and username for vss.  It appears to just hang
> and wait at that point.  Does someone have any input or further
> documentation as to how this should work??  Below is my taskdef
>
>   <target name="prepare">
>     <taskdef name="VssGetTest"
> classname="org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET"/>
>     <VssGetTest vsspath="$/project/Test/" localpath="${deploy.home}"
>     writable="false" recursive="true" ssdir="D:\Program Files\Microsoft
> Visual Studio\VSS\WIN32"
>     login="randyb,randyb"  />
>   </target>
>
> Randy Bielby
> Madison, Wisconsin
> rbielby@gr.com
>
>