OT: deployment with ANT and CVS
We already have a deployment process which works within our LAN environment, which uses an ANT script to extract code from CVS and rsync this with the target site on a web server. We now have a remote site and have found that while it still works it takes too long to copy the whole site prior to the rsync. So we want to have a CVS sandbox on the target web server and then get ANT to logon to the CVS server and perform a CVS UPDATE, (transfering far fewer files) then rsync (ignoring the CVS folders). PROBLEM is that we don't seem to be able to pass CVS the password within the ANT script. here is the ant script we are trying - but it just prompts for the password project name=deploy default=deploy basedir=. target name=deploy cvs command=update -d #Arguments.SysName# cvsRoot=:ext:#Arguments.User#:[EMAIL PROTECTED]:#Arguments.Repository# package=#Arguments.SysName# dest=#Arguments.TempDir# cvsRsh=TortoisePlink.exe reallyquiet=true / sync todir=#Arguments.SysRoot# fileset dir=#Arguments.TempDir# patternset id=output files exclude name=out/ /patternset /fileset /sync /target /project Anyone know of a way to get the password to be passed to CVS via ANT with no prompt? Thanks -- Mike T Blog http://www.socialpoints.com/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268300 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: deployment with ANT and CVS
Anyone know of a way to get the password to be passed to CVS via ANT with no prompt? Maybe you could consider setting up SSH private key authentication without password at all? I know it's not ideal from security point of view but it could solve the issue. Tero Pikala ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268302 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: deployment with ANT and CVS
Thankds Tero, actually that is the line we are investigating currently in consultation with our security experts. On 2/1/07, Tero Pikala [EMAIL PROTECTED] wrote: Anyone know of a way to get the password to be passed to CVS via ANT with no prompt? Maybe you could consider setting up SSH private key authentication without password at all? I know it's not ideal from security point of view but it could solve the issue. Tero Pikala ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268309 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4