So far I have not received any responses to my
question. Was my question too difficult to answer?
Let me try to re-phrase my question.
Why does the cvstagdiff Ant task NOT work when I have
the CVSROOT environment variable set with the
password? Is this a bug in Ant? Should I request a
fix for it?
Regards,
-Saladin
--- Saladin Sharif <[EMAIL PROTECTED]> wrote:
>
> But anyway, it just occured to me and I am wondering
> whether the problem that I am having with cvstagdiff
> has anything to do with ssh waiting for the
> password.
>
> After all I am perfectly able to execute the
> following
> from my ANT script:
>
> <cvs package="myProject" dest="${basedir}/temp" />
>
> The above command works and it is able to
> successfully
> checkout the myProject package into the temp folder.
>
> On the other hand, executing the cvstagdiff in the
> same ANT script does not work and it just hangs:
>
> <cvstagdiff
> destfile="${basedir}/temp/tagdiff.xml"
> package="myProject"
> startDate="09/15/2007"
> endDate="09/24/2007"
> failonerror="true"
> quiet="false"
> />
>
> Recall from my previous e-mail that I am setting the
> username and password in the CVSROOT environment
> variable:
>
>
CVSROOT=:ssh;username=MyUserName;password=MyPassword;hostname=some.servername.com:/opt/cvs
>
> So I don't understand why the cvs and the cvstagdiff
> tags act differently. Why does the cvs tag work
> with
> the password being set in the CVSROOT environment
> variable, while the cvstagdiff tag doesn't???
>
> -Saladin
>
>
> --- Saladin Sharif <[EMAIL PROTECTED]> wrote:
>
> >
> > I am actually having a similar problem; when I try
> > to
> > use the cvstagdiff tag in my ANT script it hangs.
> >
> > <cvstagdiff
> > destfile="${basedir}/temp/tagdiff.xml"
> > package="myProject"
> > startDate="09/15/2007"
> > endDate="09/24/2007"
> > failonerror="true"
> > quiet="false"
> > />
> >
> > NOTE: my CVSROOT is set as an environment variable
> > as
> > such
> >
> > set
> >
>
CVSROOT=:ssh;username=MyUserName;password=MyPassword;hostname=some.servername.com:/opt/cvs
> >
> > I have tried running my ant script in verbose
> mode;
> > it
> > gives me the following output before it hangs
> >
> > cvs:
> > [cvstagdiff] Executing 'cvs' with arguments:
> > [cvstagdiff] 'rdiff'
> > [cvstagdiff] '-s'
> > [cvstagdiff] '-D'
> > [cvstagdiff] '09/15/2007'
> > [cvstagdiff] '-D'
> > [cvstagdiff] '09/24/2007'
> > [cvstagdiff] 'myProject'
> > [cvstagdiff]
> > [cvstagdiff] The ' characters around the
> executable
> > and arguments are
> > [cvstagdiff] not part of the command.
> >
> >
> > I've also tried executing the equivalent cvs
> command
> > directly from the command prompt, and it works
> just
> > fine:
> >
> > cvs rdiff -s -D 09/15/2007 -D 09/24/2007 myProject
> >
> >
> > But when I execute the cvstagdiff from my ANT
> script
> > it just hangs.
> >
> > Any ideas on how to get the cvstagdiff to work?
> >
> > Thanks in advance,
> >
> > -Saladin
> >
>
>
>
>
>
>
**********************************************************
> * Saladin Sharif
> * e-mail: [EMAIL PROTECTED]
> * Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
>
**********************************************************
>
>
>
>
____________________________________________________________________________________
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here
> and Now (it's updated for today's economy) at Yahoo!
> Games.
>
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
**********************************************************
* Saladin Sharif
* e-mail: [EMAIL PROTECTED]
* Visit homepage @ http://gaia.ecs.csus.edu/~sharifs
**********************************************************
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]