maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Hammar (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (SCM-388) scm:clearcase:load ..... should support more than one loadrule
Date Fri, 05 Mar 2010 15:15:55 GMT

    [ 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

        

Mime
View raw message