You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rune Bremnes (JIRA)" <ji...@codehaus.org> on 2010/09/15 17:07:32 UTC

[jira] Created: (SCM-576) PerforceTagCommand does not work when a ScmFileSet is specified

PerforceTagCommand does not work when a ScmFileSet is specified
---------------------------------------------------------------

                 Key: SCM-576
                 URL: http://jira.codehaus.org/browse/SCM-576
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-perforce
    Affects Versions: 1.4
            Reporter: Rune Bremnes
         Attachments: PerforceTagCommand.patch

Only the name of the files in the file set is used as arguments to the p4 labelsync command. This will only work if the specified files are in the working directory. Changing the file.getName() to file.getPath() fixes the problem for me. I have attached a patch.

-- 
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: (SCM-576) PerforceTagCommand does not work when a ScmFileSet is specified

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

Olivier Lamy updated SCM-576:
-----------------------------

    Fix Version/s: 1.5
         Assignee: Olivier Lamy

> PerforceTagCommand does not work when a ScmFileSet is specified
> ---------------------------------------------------------------
>
>                 Key: SCM-576
>                 URL: http://jira.codehaus.org/browse/SCM-576
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-perforce
>    Affects Versions: 1.4
>            Reporter: Rune Bremnes
>            Assignee: Olivier Lamy
>             Fix For: 1.5
>
>         Attachments: PerforceTagCommand.patch
>
>
> Only the name of the files in the file set is used as arguments to the p4 labelsync command. This will only work if the specified files are in the working directory. Changing the file.getName() to file.getPath() fixes the problem for me. I have attached a patch.

-- 
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: (SCM-576) PerforceTagCommand does not work when a ScmFileSet is specified

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

Olivier Lamy closed SCM-576.
----------------------------

    Resolution: Fixed

fixed rev 1052965
Thanks !

> PerforceTagCommand does not work when a ScmFileSet is specified
> ---------------------------------------------------------------
>
>                 Key: SCM-576
>                 URL: http://jira.codehaus.org/browse/SCM-576
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-perforce
>    Affects Versions: 1.4
>            Reporter: Rune Bremnes
>            Assignee: Olivier Lamy
>             Fix For: 1.5
>
>         Attachments: PerforceTagCommand.patch
>
>
> Only the name of the files in the file set is used as arguments to the p4 labelsync command. This will only work if the specified files are in the working directory. Changing the file.getName() to file.getPath() fixes the problem for me. I have attached a patch.

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