Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Trouble between release-plugin and CVS

    0 answers - 1939 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hello,
    I'm trying to perform a 'mvn release:prepare' on our SCM (CVS 1.11.17) and I
    get the following error:
    [INF] Checking in modified PMs
    [INF] Executing: cvs -z3 -f -d :ext:xxx@zzz:/cvs/yyy -q commit -R -F
    D:\DCUME~1\xxx\LCALS~1\Temp\scm-commit-message59827.txt pom.xml
    [INF] Working directory: D:\workspace\project_path
    [INF] Tagging release with the label project_path-1_0
    [INF] Executing: cvs -z3 -f -d :ext:xxx@zzz:/cvs/yyy -q tag -F -c
    project_path-1_0
    [INF] Working directory: D:\workspace\project_path
    [WARNING] Unknown status: '? '.
    [INF]
    [ERRR] BUILD FAILURE
    [INF]
    [INF] Unable to tag SCM
    Provider message:
    The cvs tag command failed.
    Command output:
    cvs tag: failed to create lock directory for `/cvs/yyy/project_path/src
    ' (/cvs/yyy/project_path/src
    /#cvs.lock): No such file or directory
    cvs tag: failed to obtain dir lock in repository `/cvs/yyy/project_path/src
    '
    cvs [tag aborted]: read lock failed - giving up
    [INF]
    [INF] For more information, run Maven with the -e switch
    [INF]
    [INF] Total time: 20 seconds
    [INF] Finished at: Mon 09 16:27:40 CEST 2006
    [INF] Final Memory: 6M/10M
    [INF]
    The problem may be around a carriage/return at the end of the directory name
    and before the /#cvs.lock filename.
    I actually found a workaround by removing the trailing blank line at the end
    of the CVS/Repository file in the project root, but it now appears that I
    would have to do the same thing for all the subfolders of all my projects
    (developped under the latest Eclipse 3.2.1/WTP1.5.1). However, changing all
    those files that are supposed to be managed by Eclipse does not suit me so
    much
    Did anyone have the same problem ?
    Could the release-plugin manage to escape the empty line ?
    Thank you in advance
    Xavier

Re: Trouble between release-plugin and CVS


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Java"

EMSDN.COM