You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2010/11/30 15:23:03 UTC

[jira] Created: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
-------------------------------------------------------------------------------------------

                 Key: MRELEASE-622
                 URL: http://jira.codehaus.org/browse/MRELEASE-622
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.1
         Environment: Windows XP
Maven 3.0
Base ClearCase 7
            Reporter: Anders Hammar


When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Updated: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar updated MRELEASE-622:
-----------------------------------

    Attachment: MRELEASE-622-updated.patch

Ok, updated patch attached.

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: MRELEASE-622-updated.patch, mrelease-622.log, MRELEASE-622.patch, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Commented: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246869#action_246869 ] 

Anders Hammar commented on MRELEASE-622:
----------------------------------------

Verified that the problem is that the working dir is made into all lower case, which is a side-effect of the fix for MRELEASE-536.
Would like input on if changing to use canonical path for comparison would cause any problems?

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>         Attachments: mrelease-622.log
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Commented: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246719#action_246719 ] 

Anders Hammar commented on MRELEASE-622:
----------------------------------------

I think this is related to the fix in MRELEASE-536.
After debugging, the main difference between v2.0 and v2.1 is that the working dir path is all in lower case in v2.1. That's the result of MRELEASE-536 and possibly that makes the clearcase call fail.
I'm attaching the debug output when executing. Interestingly, the dir path is just made lower case when creating the label (type), not when checking in the updated pom. Checking in the updated pom works, but not creating the label type.

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>         Attachments: mrelease-622.log
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Commented: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246228#action_246228 ] 

Anders Hammar commented on MRELEASE-622:
----------------------------------------

I'm experiencing this with both dynamic and snapshot views. The Clearcase client is v7.0.1.4.

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Closed: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRELEASE-622.
---------------------------------

    Resolution: Fixed

fixed [rev 1083092|http://svn.apache.org/viewvc?view=revision&revision=1083092]
Thanks !

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: MRELEASE-622-updated.patch, mrelease-622.log, MRELEASE-622.patch, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Updated: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MRELEASE-622:
----------------------------------

    Fix Version/s: 2.2

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: mrelease-622.log, MRELEASE-622.patch, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Commented: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260749#action_260749 ] 

Anders Hammar commented on MRELEASE-622:
----------------------------------------

Thanks Olivier!

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: MRELEASE-622-updated.patch, mrelease-622.log, MRELEASE-622.patch, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Updated: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar updated MRELEASE-622:
-----------------------------------

    Attachment: mrelease-622.log

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>         Attachments: mrelease-622.log
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Updated: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar updated MRELEASE-622:
-----------------------------------

    Attachment: ReleaseUtil.getCommonBasedir.txt

Attaching example of how canonical path could be used in ReleaseUtil.getCommonBasedir(). I can prepare a proper patch for it, but would like someone with more indepth knowledge of the plugin to comment on the approach first.


> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>         Attachments: mrelease-622.log, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Commented: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260737#action_260737 ] 

Olivier Lamy commented on MRELEASE-622:
---------------------------------------

Hi Andres,
Any way you provide a new patch.
I can apply it due to some other changes.
Thanks

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>
>         Attachments: mrelease-622.log, MRELEASE-622.patch, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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

        

[jira] Updated: (MRELEASE-622) Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar updated MRELEASE-622:
-----------------------------------

    Attachment: MRELEASE-622.patch

Created proper patch with the suggested change to use canonical path. Tested with ClearCase on Windows.

> Creating label fails for ClearCase with message 'Unable to determine VOB for pathname ".".'
> -------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-622
>                 URL: http://jira.codehaus.org/browse/MRELEASE-622
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.1
>         Environment: Windows XP
> Maven 3.0
> Base ClearCase 7
>            Reporter: Anders Hammar
>         Attachments: mrelease-622.log, MRELEASE-622.patch, ReleaseUtil.getCommonBasedir.txt
>
>
> When executing release:prepare it fails when trying to create the label type. However, this works with v2.0 of the m-release-p.

-- 
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