Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-1778

sakai.home path not platform independent?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1.0
    • Component/s: Global
    • Labels:
      None
    • Environment:
      Windows XP, service pack 2. Browser (Firefox 1.0.2)

      Description

      In the SpringCompMgr.java file, the sakai.home property is set as forward slashes. See the following lines:

      // find a path to sakai files on the app server - if not set, set it
      String path = System.getProperty("sakai.home");
      if (path == null)
      {
      String catalina = getCatalina();
      if (catalina != null)

      { path = catalina + "/sakai/"; }

      }

      What this causes to happen is for paths related to sakai.home on Windows, there is half backslashes and half forwardslashes in the URL. I am seeing this when trying to access TOMCAT_HOME\sakai[myfolder]\myfiles..

      --Scott Amerson
      UC Davis

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                samerson Scott Amerson (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration