Re: SVN checkout error

Jani Mikkonen <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Is that <exec /> block part of your cc configuration files or is it
ant configuration ?

If its part of cc configuration, i dont spot any location to WHERE you
want to checkout the svn repo ? Are you sure that the location where
the svn is being executed and where the checkout should be placed is
what you really want ?  And does that directory have a write
permission for a user account that is running cruisecontrol daemon ?



On Wed, May 6, 2009 at 3:57 PM, Thomas C Amundsen III
<[email protected]> wrote:
> Hi everyone,
>
> I am having problems getting CruiseControl to checkout a fresh copy of
> our project from SVN. I couldn't get the Ant SVN task to work with a
> supplied username and password, so I did it via exec like this:
>
> <exec executable="svn">
>  <arg line="co -r HEAD --username USER --password PASS
> --non-interactive svn+ssh://PATH/TO/REPOSITORY"/>
> </exec>
>
> However, this results in me getting errors:
>
> ----------------------------------------------------------------------
> [cc]May-06 05:52:58 ScriptRunner  -    [delete] Deleting
> directory /PATH/TO/PROJECT
> USER@SERVER's password:
> [cc]May-06 05:52:58 ScriptRunner  -      [exec] Permission denied,
> please try again.
> USER@SERVER's password:
> [cc]May-06 05:52:58 ScriptRunner  -      [exec] Permission denied,
> please try again.
> USER@SERVER's password:
> [cc]May-06 05:52:58 ScriptRunner  -      [exec] Permission denied
> (publickey,gssapi-keyex,gssapi-with-mic,password).
> [cc]May-06 05:52:58 ScriptRunner  -      [exec] svn: Connection closed
> unexpectedly
> [cc]May-06 05:52:58 ScriptRunner  -      [exec] Result: 1
> [cc]May-06 05:52:58 ScriptRunner  -
> [cc]May-06 05:52:58 ScriptRunner  - BUILD FAILED
> [cc]May-06 05:52:58 ScriptRunner  - /PATH/TO/cc-build.xml:16:
> Basedir /PATH/TO/PROJECT does not exist
> ----------------------------------------------------------------------
>
> Does anyone know how to resolve this issue?
>
> Thanks,
> Tom
>
> P.S. - Yes, the username and password I am providing work, and I can
> checkout the project when I execute that _same_ svn command from the
> command-line.
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.