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

content-runconversion.sh script contains out of date references to pre-K1 jars

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6.x, 2.6.0, 2.7.0
    • Fix Version/s: 2.6.0, 2.7.0
    • Component/s: Content
    • Labels:
      None

      Description

      Pre-K1 references that require updating (see bottom of script below).

      -j "$m2repository"/org/sakaiproject/sakai-db-api/SNAPSHOT/sakai-db-api-SNAPSHOT.jar \
      -j "$m2repository"/org/sakaiproject/sakai-component-api/SNAPSHOT/sakai-component-api-SNAPSHOT.jar \

      #!/bin/sh
      #

      1. Usage:
      2. content-runconversion.sh -j JDBC_DRIVER_JAR -p SAKAI_PROPERTIES_FILE UPGRADESCHEMA_CONFIG
        #
      3. Example:
      4. content-runconversion.sh -j "$CATALINA_HOME/shared/lib/ojdbc14.jar" \
      5. -p "$CATALINA_HOME/sakai/sakai.properties" \
      6. upgradeschema-oracle.config
      1. The "runconversion.sh" script does not have to be run
      2. in place. It could be copied to the working directory.
      1. For Cygwin, ensure paths are in the proper format.
        cygwin=false;
        case "`uname`" in
        CYGWIN*) cygwin=true ;;
        esac
        if $cygwin; then
        [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
        m2repository=`cygpath --path --unix "$HOMEDRIVE""$HOMEPATH"`/.m2/repository
        else
        m2repository="$HOME"/.m2/repository
        fi

      bash ../db/db-util/conversion/runconversion.sh \
      -j "$m2repository"/commons-collections/commons-collections/3.2/commons-collections-3.2.jar \
      -j "$m2repository"/commons-pool/commons-pool/1.3/commons-pool-1.3.jar \
      -j "$m2repository"/org/sakaiproject/sakai-db-api/SNAPSHOT/sakai-db-api-SNAPSHOT.jar \
      -j "$m2repository"/org/sakaiproject/sakai-component-api/SNAPSHOT/sakai-component-api-SNAPSHOT.jar \
      $@

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                seththeriault Seth Theriault
                Reporter:
                arwhyte Anthony Whyte
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code