Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1194

build looks outside of repo (extra "..")

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M15
    • Component/s: None
    • Labels:
      None
    • Environment:
      Debian, mvn 3.3.9, jdk 1.8.0_181

      Description

      I noticed that build.sh was taking a long time, so I ran strace on one of the Java processes.  To my surprise, it was reading files from various places in my home directory (I had cloned directory-studio to ~/directory-studio). 

      stat("/home/novalis/directory-studio/p2repositories/../../my-secret-project/very-private-stuff", ...).  

      I moved the repo to ~/foo/directory-studio and re-ran build.sh (after a git clean), and the build completed much more quickly.  So I think there must be an extra ".." somewhere in the build

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              novalis David Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: