You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/11/09 18:03:04 UTC

[jira] Commented: (MAVEN-1006) SCM cvs call doesn't function when there are spaces in the path

The following comment has been added to this issue:

     Author: Nick Giles
    Created: Sun, 9 Nov 2003 11:02 AM
       Body:
I guess I'm not 100% sure that the spaces are the issue, but I did test what happened when I had the CVS exectuable on the path with spaces, then without spaces, then back and forth a view times to confirm. I can't think of any other variables that moving the files / changing the path affects. I don't know whether it's a general solution, but it worked in my case.

I guess there's a remote possibility it could be an issue with WinCVS, but I'm not sure how, since it works fine from the commandline.

If you can think of any checks I can perform to validate this, I'd be happy to do them, but the spaces issue was the only thing I came up with after three days or so of fiddling.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1006


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1006
    Summary: SCM cvs call doesn't function when there are spaces in the path
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-changelog
   Fix Fors:
             1.1
   Versions:
             1.0-rc2

   Assignee: 
   Reporter: Nick Giles

    Created: Wed, 5 Nov 2003 10:36 AM
    Updated: Sun, 9 Nov 2003 9:44 AM
Environment: Win2K SP4, Java 1.4.1, WinCVS 1.3.10.1 (b10)

Description:
When running the changelog report, the CVS executable is not found, depite being on the path. The following output is seen:

SCM Working Directory: C:\projects\aProject\WEB-INF
SCM Command Line[0]: cvs
SCM Command Line[1]: -d
SCM Command Line[2]: :sspi:cvsserver.foo.co.uk:F:\CVSRepository
SCM Command Line[3]: log
Unable to find cvs executable. Changelog will be empty

Subsequent investigation found that spaces in the path to the CVS executable were to blame, and moving it to a location without spaces resolved the issue. Suggest an entry in the FAQ for Changelog in particular, and an update to the entry in the main Maven FAQ (which very unhelpfully says to try running the command from the command line, and that "The results typically speak for themselves". They don't.).


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org