Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-1973

tilde is not expanded in repo.path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: Icebox
    • Component/s: None
    • Labels:
      None
    • Environment:
      bash on Ubuntu Linux
    • Similar issues:

      Description

      repo.path is apparently a Hippo extension as google only gives hits for Hippo.
      ~ is not expanded in mvn -Drepo.path=/mystorage jetty:run-war. Instead a folder is made with the name ''!
      This is contrary to Linux conventions and to expectations of Linux console users. Deviations from conventions will cost many users a lot of time finding out what the hack is wrong. I did not see it for quite some time, because I did cd out of the folder in which the '~' subfolder was created! Furthermore, the folder I intended, did already exist, so I was not warned by it not being created. So the effect is that some changes happened on one folder during on jetty session on some changes on the other folder in another jetty session, without me understanding why changes had not been 'saved'.

      Note that the shell does not expand the tilde, because it doesn't see it as a filename. I thing it would be OK to refuse the tilde. So give a fatal on it with an explanation. Anything not to keep the user in the dark about it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spelissier Sylvain PĂ©lissier (Inactive)
                Reporter:
                rbijlsma Rita Bijlsma (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: