Re: [CMake] using svn credentials inside ctest script

2011-02-28 Thread John Beuving
Hi, I faced the same problem with our setup. The workaround is probably a good way to actually do the job. However the CTEST_UPDATE_SVN_OPTIONS do work and provide extra information in the svn update command. The problem is that when you don't have SVN credentials cached, credentials are asked

Re: [CMake] using svn credentials inside ctest script

2011-01-28 Thread Tyler Roscoe
On Fri, Jan 28, 2011 at 06:22:37AM -0500, David Cole wrote: > Storing credentials on the machine in advance is one way to achieve this. > > (I have not tried this myself, but...) You may also be able to set the > CTEST_UPDATE_COMMAND to a script that delegates to svn with all your desired > comman

Re: [CMake] using svn credentials inside ctest script

2011-01-28 Thread David Cole
; > Regards, > Girish > > --- On *Thu, 1/27/11, Tyler Roscoe * wrote: > > > From: Tyler Roscoe > Subject: Re: [CMake] using svn credentials inside ctest script > To: "girish hilage" > Cc: cmake@cmake.org > Date: Thursday, January 27, 2011, 4:42 PM >

Re: [CMake] using svn credentials inside ctest script

2011-01-28 Thread girish hilage
an 'svn update' with svn credentials do not work as expected in the ctest script? Is, first storing the SVN credentials on a machine executing the cronjob, the only solution?   Regards, Girish --- On Thu, 1/27/11, Tyler Roscoe wrote: From: Tyler Roscoe Subject: Re: [CMake] usin

Re: [CMake] using svn credentials inside ctest script

2011-01-27 Thread Tyler Roscoe
On Thu, Jan 27, 2011 at 08:40:14AM -0800, Tyler Roscoe wrote: > On Thu, Jan 27, 2011 at 04:11:35AM -0800, girish hilage wrote: > >    find_program(CTEST_SVN_COMMAND NAMES svn) > >    set(CTEST_UPDATE_COMMAND "${CTEST_SVN_COMMAND}") > >    set(CTEST_UPDATE_OPTIONS "--username --password > > ") > >

Re: [CMake] using svn credentials inside ctest script

2011-01-27 Thread Tyler Roscoe
On Thu, Jan 27, 2011 at 04:11:35AM -0800, girish hilage wrote: >    find_program(CTEST_SVN_COMMAND NAMES svn) >    set(CTEST_UPDATE_COMMAND "${CTEST_SVN_COMMAND}") >    set(CTEST_UPDATE_OPTIONS "--username --password > ") > >    ctest_update(RETURN_VALUE updateRV) > >    But, when I give 'ctest

[CMake] using svn credentials inside ctest script

2011-01-27 Thread girish hilage
Hi,    This is to ask regarding using SVN username and password inside CTest script.    I have a file script.cmake which I am using as follows :    ctest -S script.cmake    script.cmake contains below lines relevant to "svn update":    find_program(CTEST_SVN_COMMAND NAMES svn)    set(CTEST_UPD