[
https://issues.apache.org/jira/browse/SCM-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961275#comment-17961275
]
ASF GitHub Bot commented on SCM-388:
------------------------------------
jira-importer commented on issue #607:
URL: https://github.com/apache/maven-scm/issues/607#issuecomment-2964606538
**[Vincent
Latombe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vlatombe)**
commented
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: https://issues.apache.org/jira/browse/SCM-388
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: maven-scm-provider-clearcase
> Affects Versions: 1.0-beta-3
> Environment: Windows XP, Maven 2.0.9
> Reporter: Torsten Reinhard
> Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)