continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Jean-Prost (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-2276) command line for svn.exe should provide full path
Date Mon, 13 Sep 2010 14:29:32 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235077#action_235077
] 

Dominique Jean-Prost commented on CONTINUUM-2276:
-------------------------------------------------

I've just checked with 1.3.6 :
It seems ok for update, but not for checkout :
You can see hereunder that the checkout command is done using a relative path. I suggest always
using a absolute path.


Line 2551: 2010-09-10 00:36:25,726 [pool-9-thread-1] INFO  org.apache.continuum.scm.manager.Slf4jScmLogger
 - Executing: cmd.exe /X /C "svn --username recette\exploitdev --password ***** --non-interactive
update D:\continuum_data\data\working-directory\384"

Line 2566: 2010-09-10 00:36:27,560 [pool-9-thread-1] INFO  org.apache.continuum.scm.manager.Slf4jScmLogger
 - Executing: cmd.exe /X /C "svn --username recette\exploitdev --password ***** --non-interactive
checkout http://vsrigel:8080/svn/trunk/tomahawk-facelets 372"


> command line for svn.exe should provide full path
> -------------------------------------------------
>
>                 Key: CONTINUUM-2276
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2276
>             Project: Continuum
>          Issue Type: Bug
>          Components: SCM
>    Affects Versions: 1.2.3
>         Environment: windows
>            Reporter: Dominique Jean-Prost
>             Fix For: Backlog
>
>
> Hello
> I met a problem which could be easily prevented.
> On windows, you can have a registry entry "Autorun" in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command
Processor. In my case, I had the following as a value :
> "cd /d c:\bin". It adds the following behaviour : each time you execute cmd.exe, it calls
the cd /d c:\bin.
> As continuum uses on windows cmd.exe /X "svn blabla", in my case the checkout wasn't
made in the correct directory, preventing me to have my build.
> If the full paths was given to svn.exe, even in such a weird environment like mine, I
wouldn't have met the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message