Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-388

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.0-beta-3
    • None
    • None
    • Windows XP, Maven 2.0.9

    Description

      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?

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            reinhart Torsten Reinhard
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment