ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: CVS access on a non-standard port
Date Mon, 08 Apr 2002 19:29:39 GMT
Well, by setting the HOME environment variable to point to a directory where
you have a .cvspass file which caches CVS passwords files for repository you
often access, you don't need to 'cvs login' at all in ANT. And I believe you
can specify your cvsroot to include a login name and password (clearly
visible though!), so you don't need the 'cvs login' step either. Consult the
CVS documentation for more info. --DD

PS: And Steve, since you work for Vignette, and my company's Austin office
is I believe in the same building as yours, try to contact Steve D. in Two
Barton Skyway, Suite 300, the resident CVS and ANT expect ;-)

-----Original Message-----
From: Ebersole, Steven [mailto:steven.ebersole@vignette.com] 
Sent: Monday, April 08, 2002 2:15 PM
To: 'Ant Users List'
Subject: RE: CVS access on a non-standard port

Thanks for the reply.

The problem with that is the cvs command login is interactive (i.e.,
specifying the login option prompts for the password).  There is no way
(unless I am mistaken) to specify the password as part of the command.  So
basically, the following ant task:

        <exec executable="cvs.exe" dir="${basedir}">
            <arg line="-d ${cvs.root} login"/>
        </exec>

simply hangs waiting for user input.



********************************************
Steve Ebersole
IT Integration Engineer
Vignette Corporation 
512.741.4195

Visit http://www.vignette.com

********************************************


-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com]
Sent: Monday, April 08, 2002 1:42 PM
To: 'Ant Users List'
Subject: RE: CVS access on a non-standard port


Asusming its works on the command line, not using <cvs> and using <exec>
instead will work (if cvs.exe is in your path):

    <exec executable="cvs.exe"
          dir="${basedir}">
      <arg line="-d :pserver:[user]@[server]:[port]/[repository]
[cvscommand] [cvscommandargs]" />
    </exec>

--DD

-----Original Message-----
From: Ebersole, Steven [mailto:steven.ebersole@vignette.com] 
Sent: Monday, April 08, 2002 1:14 PM
To: Ant-User-ML (E-mail)
Subject: CVS access on a non-standard port

Could someone please walk me through the steps in getting Ant to do cvs
commands when the pserver port is something other than 2401?

I have tried using the port number in the CVSROOT variable (i.e.,
":pserver:[user]@[server]:[port]/[repository]"), but Ant miscontrues that as
the port being part of the repository.  

I then looked in the docs and saw that the cvs task has a port attribute,
however, cvspass does not have a corresponding attribute????

Thanks for any help.



********************************************
Steve Ebersole
IT Integration Engineer
Vignette Corporation 
512.741.4195

Visit http://www.vignette.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>

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