|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CVS check out using ANT script |
« View previous topic :: View next topic » |
Author |
Message
|
sarathmattam |
Posted: Sat Mar 14, 2009 11:48 pm Post subject: CVS check out using ANT script |
|
|
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 |
|
 |
mqjeff |
Posted: Sun Mar 15, 2009 9:18 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Nobody can answer this question based on the information you have provided. |
|
Back to top |
|
 |
joebuckeye |
Posted: Mon Mar 16, 2009 9:28 am Post subject: |
|
|
 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 |
|
 |
WMBDEV1 |
Posted: Wed Mar 18, 2009 3:04 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|