You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Torsten Reinhard (JIRA)" <ji...@codehaus.org> on 2008/07/02 14:28:27 UTC

[jira] Created: (SCM-388) scm:clearcase:load ..... should support more than one loadrule

scm:clearcase:load ..... should support more than one loadrule
--------------------------------------------------------------

                 Key: SCM-388
                 URL: http://jira.codehaus.org/browse/SCM-388
             Project: Maven SCM
          Issue Type: Improvement
          Components: maven-scm-provider-clearcase
    Affects Versions: 1.0-beta-3
         Environment: Windows XP, Maven 2.0.9
            Reporter: Torsten Reinhard


With auto-generated configSpecs actually there is a limitation:
...
Specify one load rule for the project you want to check out within the SCM URL
...

In many cases, more than one loadRule would be very useful - this will also prevent from moving modules from one directory to another, just for having them all under one parent-directory for scm:goal purposes.

Therefore specifying 

scm:clearcase:load /MY_VOB/my/project/dir, load /MY_VOB/my/project/dir2, load /MY_VOB/my/project/dir3 ....

could be an idea? 

The fix for that is just a StringTokenizer in the method

    protected String createConfigSpec( String loadDirectory, ScmVersion version )
    {
        ....

        // TODO replace this with a StringTokenizer
        configSpec.append( "load " + loadDirectory + "\n" );
        return configSpec.toString();
    }

at org.apache.maven.scm.provider.clearcase.command.checkout.ClearCaseCheckOutCommand
 
Can anyone do that little enhancement?

-- 
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] (SCM-388) scm:clearcase:load ..... should support more than one loadrule

Posted by "Chris Graham (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/SCM-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297081#comment-297081 ] 

Chris Graham commented on SCM-388:
----------------------------------

Does that mean that this issue can be closed?

                
> scm:clearcase:load ..... should support more than one loadrule
> --------------------------------------------------------------
>
>                 Key: SCM-388
>                 URL: https://jira.codehaus.org/browse/SCM-388
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.0-beta-3
>         Environment: Windows XP, Maven 2.0.9
>            Reporter: Torsten Reinhard
>
> With auto-generated configSpecs actually there is a limitation:
> ...
> Specify one load rule for the project you want to check out within the SCM URL
> ...
> In many cases, more than one loadRule would be very useful - this will also prevent from moving modules from one directory to another, just for having them all under one parent-directory for scm:goal purposes.
> Therefore specifying 
> scm:clearcase:load /MY_VOB/my/project/dir, load /MY_VOB/my/project/dir2, load /MY_VOB/my/project/dir3 ....
> could be an idea? 
> The fix for that is just a StringTokenizer in the method
>     protected String createConfigSpec( String loadDirectory, ScmVersion version )
>     {
>         ....
>         // TODO replace this with a StringTokenizer
>         configSpec.append( "load " + loadDirectory + "\n" );
>         return configSpec.toString();
>     }
> at org.apache.maven.scm.provider.clearcase.command.checkout.ClearCaseCheckOutCommand
>  
> Can anyone do that little enhancement?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SCM-388) scm:clearcase:load ..... should support more than one loadrule

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

Anders Hammar commented on SCM-388:
-----------------------------------

I got this to work on Windows XP by separating the load paths with a space:

scm:clearcase:load /MY_VOB/my/project1/dir /MY_VOB/my/project2/dir



> scm:clearcase:load ..... should support more than one loadrule
> --------------------------------------------------------------
>
>                 Key: SCM-388
>                 URL: http://jira.codehaus.org/browse/SCM-388
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.0-beta-3
>         Environment: Windows XP, Maven 2.0.9
>            Reporter: Torsten Reinhard
>
> With auto-generated configSpecs actually there is a limitation:
> ...
> Specify one load rule for the project you want to check out within the SCM URL
> ...
> In many cases, more than one loadRule would be very useful - this will also prevent from moving modules from one directory to another, just for having them all under one parent-directory for scm:goal purposes.
> Therefore specifying 
> scm:clearcase:load /MY_VOB/my/project/dir, load /MY_VOB/my/project/dir2, load /MY_VOB/my/project/dir3 ....
> could be an idea? 
> The fix for that is just a StringTokenizer in the method
>     protected String createConfigSpec( String loadDirectory, ScmVersion version )
>     {
>         ....
>         // TODO replace this with a StringTokenizer
>         configSpec.append( "load " + loadDirectory + "\n" );
>         return configSpec.toString();
>     }
> at org.apache.maven.scm.provider.clearcase.command.checkout.ClearCaseCheckOutCommand
>  
> Can anyone do that little enhancement?

-- 
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] (SCM-388) scm:clearcase:load ..... should support more than one loadrule

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/SCM-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297083#comment-297083 ] 

Anders Hammar commented on SCM-388:
-----------------------------------

I think that some documentation update around this would be good.
                
> scm:clearcase:load ..... should support more than one loadrule
> --------------------------------------------------------------
>
>                 Key: SCM-388
>                 URL: https://jira.codehaus.org/browse/SCM-388
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.0-beta-3
>         Environment: Windows XP, Maven 2.0.9
>            Reporter: Torsten Reinhard
>
> With auto-generated configSpecs actually there is a limitation:
> ...
> Specify one load rule for the project you want to check out within the SCM URL
> ...
> In many cases, more than one loadRule would be very useful - this will also prevent from moving modules from one directory to another, just for having them all under one parent-directory for scm:goal purposes.
> Therefore specifying 
> scm:clearcase:load /MY_VOB/my/project/dir, load /MY_VOB/my/project/dir2, load /MY_VOB/my/project/dir3 ....
> could be an idea? 
> The fix for that is just a StringTokenizer in the method
>     protected String createConfigSpec( String loadDirectory, ScmVersion version )
>     {
>         ....
>         // TODO replace this with a StringTokenizer
>         configSpec.append( "load " + loadDirectory + "\n" );
>         return configSpec.toString();
>     }
> at org.apache.maven.scm.provider.clearcase.command.checkout.ClearCaseCheckOutCommand
>  
> Can anyone do that little enhancement?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SCM-388) scm:clearcase:load ..... should support more than one loadrule

Posted by "Vincent Latombe (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208371#action_208371 ] 

Vincent Latombe commented on SCM-388:
-------------------------------------

Hello,

Actually, you can already use several load rules. You just have to separate them with a newline character. At least for me it worked.

For instance (extra lines mustn't be indented for this to work)
scm:clearcase:load /MY_VOB/my/project/dir
load /MY_VOB/my/project/dir2
load /MY_VOB/my/project/dir3:vob_name:stream_selector

> scm:clearcase:load ..... should support more than one loadrule
> --------------------------------------------------------------
>
>                 Key: SCM-388
>                 URL: http://jira.codehaus.org/browse/SCM-388
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.0-beta-3
>         Environment: Windows XP, Maven 2.0.9
>            Reporter: Torsten Reinhard
>
> With auto-generated configSpecs actually there is a limitation:
> ...
> Specify one load rule for the project you want to check out within the SCM URL
> ...
> In many cases, more than one loadRule would be very useful - this will also prevent from moving modules from one directory to another, just for having them all under one parent-directory for scm:goal purposes.
> Therefore specifying 
> scm:clearcase:load /MY_VOB/my/project/dir, load /MY_VOB/my/project/dir2, load /MY_VOB/my/project/dir3 ....
> could be an idea? 
> The fix for that is just a StringTokenizer in the method
>     protected String createConfigSpec( String loadDirectory, ScmVersion version )
>     {
>         ....
>         // TODO replace this with a StringTokenizer
>         configSpec.append( "load " + loadDirectory + "\n" );
>         return configSpec.toString();
>     }
> at org.apache.maven.scm.provider.clearcase.command.checkout.ClearCaseCheckOutCommand
>  
> Can anyone do that little enhancement?

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