You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Latombe (JIRA)" <ji...@codehaus.org> on 2010/01/27 19:54:55 UTC
[jira] Commented: (SCM-388) scm:clearcase:load ..... should support
more than one loadrule
[ 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