ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CVS check out using ANT script

Post new topic  Reply to topic
 CVS check out using ANT script « View previous topic :: View next topic » 
Author Message
sarathmattam
PostPosted: Sat Mar 14, 2009 11:48 pm    Post subject: CVS check out using ANT script Reply with quote

Voyager

Joined: 05 Sep 2008
Posts: 94

Dear all,

Am new to aant scripting . I am trying to write an ant script which will check out the bar file from CVS,override it and deploy it. Currently am trying it in windows. CVS in in a solaris Environment.

Wen i try to check out am geeting an error saying

[cvs] cvs [login aborted]: Aborted
[cvs] Empty password used - try 'cvs login' with a real password
[cvs] cvs [checkout aborted]: authorization failed: server 10.132.33.35 rejected access to /apps/home/cvsadmin/cvsroot for user cvsadmin


but am giving proper password . Any set up like setting path,classpath etc are required for this . A quick response is highly appreciated.

Thanks a lot..

Regards,
sarath
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Mar 15, 2009 9:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Nobody can answer this question based on the information you have provided.
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Mon Mar 16, 2009 9:28 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

This isn't really a broker issue, it's a CVS issue.

Quote:
Wen i try to check out am geeting an error saying

[cvs] cvs [login aborted]: Aborted
[cvs] Empty password used - try 'cvs login' with a real password
[cvs] cvs [checkout aborted]: authorization failed: server 10.132.33.35 rejected access to /apps/home/cvsadmin/cvsroot for user cvsadmin

but am giving proper password . Any set up like setting path,classpath etc are required for this . A quick response is highly appreciated.


CVS is saying that you did not provide the proper password for the user cvsadmin. If fact it is saying you provided an empty password.

I know in our ant build scripts there is no way to pass in the password used for CVS access. When the password changes we have to do a command line run of "cvs login" to enter in the new password.

This is what CVS is telling you to do above BTW.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Mar 18, 2009 3:04 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Previously i have used the exec task to run cvs.exe as follows:

<exec failonerror="true" executable="cvs.exe" dir="${WorkspaceLocation}">
<arg line=" -d :ssh:${CVSUser}@${CVSIP}:${CVSPath} checkout -d ${CheckoutDIR} ${CVSFlowBase}/${CVSFlowName}" />
</exec>

Although I think had to I use a private key configured in plink to get around the authentication issue.

This is much easier in SubVersion becuase you can specify the password as part of the task interface.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CVS check out using ANT script
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.