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

generated client spec name fails if there is a space or tilde in directory name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None

    Description

      The default generated client spec name is calculated in generateDefaultClientspecName() as:

      username + "−" + hostname + "−MavenSCM−" + path;

      if path includes a space or tilde, the client spec is not created and the plugin fails to sync.

      Can:

      path = workDir.getCanonicalPath().replace( '/', '\\' )

      be replaced with:

      path = workDir.getCanonicalPath().replace( '/', '\\' ).replaceAll("[ ~]", "-")

      Attachments

        Issue Links

          Activity

            People

              evenisse Emmanuel Venisse
              zoosnack zak jacobson
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: