Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1816

[KIESERVER] kie-server-resources not copied to kie-server

    XMLWordPrintable

Details

    • CLOUD Maintenance Sprint 8

    Description

      kie-server-resources/ from s2i sources should be copied to JBOSS_HOME/standalone/deployments/kie-server.war/WEB-INF/classes

      This does not happen any more with jboss-processserver-6/processserver63-openshift:1.4-7 , worked fine with jboss-processserver-6/processserver63-openshift:1.4-6

      The problem seems to be that the kieserver assemble assumes the sources are located in HOME/source , which is no longer true

      # Source code provided to S2I is at ${HOME}/source
      LOCAL_SOURCE_DIR=${HOME}/source
      mkdir -p $LOCAL_SOURCE_DIR
      # Copy KIE server resource files
      KIE_SERVER_WEBINF_CLASSES_DIR="${JBOSS_HOME}/standalone/deployments/kie-server.war/WEB-INF/classes"
      mkdir -p $KIE_SERVER_WEBINF_CLASSES_DIR
      if [ -d $LOCAL_SOURCE_DIR/kie-server-resources ]; then
          echo "Copying resource files from KIE server resources ..."
          cp -v $LOCAL_SOURCE_DIR/kie-server-resources/* $KIE_SERVER_WEBINF_CLASSES_DIR
      fi
      

      Attachments

        Issue Links

          Activity

            People

              jdowland@redhat.com Jonathan Dowland
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: