Re: SVN check out Error

Upendra Moturi <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi,
*config.xml*
<modificationset quietperiod="60">
      <svn username=""
           password=""
           repositoryLocation=""/>
    </modificationset>

<plugin name="svn"
classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"/>

*ant file :*
<path id="svn.classpath">
    <pathelement location="lib/svnjavahl.jar" />
    <pathelement location="lib/svnant.jar" />
    <pathelement location="lib/svnClientAdapter.jar" />
  </path>
 <taskdef  resource="svntask.properties" classpathref="svn.classpath"/>
 <target name="checkout" description="Update packages from SVN">
    <svn username="" password="">
         <checkout url="" destPath="myproject" />
    </svn>
  </target>

The above configuration works form me.

On Mon, Jun 8, 2009 at 11:52 AM, <[email protected]> wrote:

> Hi Everyone,
>
>
> Even i face the same kinda issue said below, Thomas Did you find out a work around for
>
> this?
>
> Otherwise anybody knows how to resolve this issue?
>
>
> Thanks in Advance,
>
>
> Regards,
>
> Dinesh
>
>
> Thomas C Amundsen III 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
>
> >
>
> >
>
> Quoted from:
> http://www.nabble.com/SVN-checkout-error-tp23406516p23406516.html
>
>
> ------------------------------
> You are invited to Get a Free AOL Email ID. <http://webmail.aol.in>
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>


-- 
Thanks and Regards,
Upendra.M

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
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.