FYI, I have a ssh-key setup so I don't need to login.

I'll file a bug. Besides what I already posted, is there any more 
information I can provide?

On 5/23/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> 
> I'd need to take a closer look, but I'd take a stab at the username
> not being specified.
> 
> either way, its a bug - so if you could file the details that'd be
> appreciated (sorry, I susually follow up when someone doesn't file it,
> but mustn't have in this case).
> 
> - Brett
> 
> On 5/23/05, Alex Soto <[EMAIL PROTECTED]> wrote:
> > Hi I'm trying to use maven to checkout a project. I'm running on windows
> > under cygwin and I'm using the cygwin packaged svn binaries. If I don't 
> set
> > the checkout dir property then it checks out the project under
> > target/checkout. When I set the checkout dir property I get a
> > NullPointerException. I looked in the list archives and someone reported 
> the
> > same error and Brett asked them to submit a bug report, but I didn't see 
> one
> > for it.
> >
> > Anyone have any luck doing a checkout and also setting the checkout dir?
> >
> >
> > Below is the exception trace of my error.
> >
> > $ maven -e scm:checkout -Dmaven.scm.url=scm:svn:svn+ssh://svn.XXX.com/v
> > ar/svn/itn/trunk -Dmaven.scm.checkout.dir=itn
> >
> > build:start:
> >
> > scm:find-connection:
> > [echo] Using connection: scm:svn:svn+ssh://svn.XXX.com/var/svn/itn/trunk
> >
> > scm:checkout:
> > [echo] Checking out scm:svn:svn+ssh://svn.XXX.com/var/svn/itn/trunk
> >
> > BUILD FAILED
> > org.apache.maven.scm.ScmException: Exception while executing SCM 
> command.
> > at org.apache.maven.scm.command.AbstractCommand.execute(
> AbstractCommand.java
> > :58)
> > at org.apache.maven.scm.provider.AbstractScmProvider.execute(
> > AbstractScmProvider.java:85)
> > at org.apache.maven.scm.manager.DefaultScmManager.execute(
> > DefaultScmManager.java:250)
> > at org.apache.maven.scm.manager.DefaultScmManager.checkOut(
> > DefaultScmManager.java:141)
> > at org.apache.maven.plugins.scm.ScmBean.checkout(ScmBean.java:94)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java
> > :39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(
> DynamicBeanTag.java
> > :230)
> > at org.apache.commons.jelly.impl.StaticTagScript.run(
> StaticTagScript.java
> > :145)
> > at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> > at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> > MavenGoalTag.java:79)
> > at
> > 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> > (MavenGoalTag.java:110)
> > at com.werken.werkz.Goal.fire(Goal.java:639)
> > at com.werken.werkz.Goal.attain(Goal.java:575)
> > at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :671)
> > at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> > at org.apache.maven.cli.App.doMain(App.java:488)
> > at org.apache.maven.cli.App.main(App.java:1239)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java
> > :39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at com.werken.forehead.Forehead.run(Forehead.java:551)
> > at com.werken.forehead.Forehead.main(Forehead.java:581)
> > Caused by: java.lang.NullPointerException
> > at
> > 
> org.apache.maven.scm.provider.svn.command.checkout.SvnCheckOutCommand.createCommandLine
> > (SvnCheckOutCommand.java:97)
> > at
> > 
> org.apache.maven.scm.provider.svn.command.checkout.SvnCheckOutCommand.executeCheckOutCommand
> > (SvnCheckOutCommand.java:58)
> > at
> > 
> org.apache.maven.scm.command.checkout.AbstractCheckOutCommand.executeCommand
> > (AbstractCheckOutCommand.java:45)
> > at org.apache.maven.scm.command.AbstractCommand.execute(
> AbstractCommand.java
> > :54)
> > ... 25 more
> > File...... C:\Documents and Settings\asoto\.maven\cache\maven-
> > scm-plugin-1.5-beta-3\plugin.jelly
> > Element... scm:checkout
> > Line...... 110
> > Column.... 167
> > Exception while executing SCM command.
> > Total time: 4 seconds
> > Finished at: Sun May 22 22:51:27 PDT 2005
> >
> >
>

Reply via email to