Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3388

Optimize the way to acquire project or root path

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      For now, to acquire the root path of project path was called by

      val rootPath = new File(this.getClass.getResource("/").getPath  + "../../../..").getCanonicalPath
      

      we can use a simpler approach to optimize

      System.getProperty("user.dir")
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lamber-ken lamber-ken
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m