You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.5 KiB

  1. #copy wildfly config profile
  2. cp ../config/*.xml ${JBOSS_HOME}/standalone/configuration/
  3. #create default EAR Module WHL_TML.ear
  4. earDir=${JBOSS_HOME}'/standalone/deployments/WHL_TML.ear'
  5. earLibDir='lib'
  6. earMetaDir='META-INF'
  7. mkdir -p ${earDir}/${earLibDir} && mkdir -p ${earDir}/${earMetaDir}
  8. #copy libraries to lib path
  9. #curl -# -o ${earDir}/${earLibDir}'/commons-logging-1.1.1.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
  10. #curl -# -o ${earDir}/${earLibDir}'/log4j-1.2.17.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/log4j/log4j/1.2.17/log4j-1.2.17.jar
  11. # curl -# -o ${earDir}/${earLibDir}'/sentry-log4j-1.7.3.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/io/sentry/sentry/1.7.3/sentry-1.7.3.jar
  12. curl -# -o ${earDir}/${earLibDir}'/tml-security.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/com/wanhai/tml/tml-security/0.1.0/tml-security-0.1.0.jar
  13. curl -# -o ${earDir}/${earLibDir}'/tml-utility.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/com/wanhai/tml/tml-utility/0.1.0/tml-utility-0.1.0.jar
  14. #curl -# -o ${earDir}/${earLibDir}'/zuljsp.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/zkoss/zk/zuljsp/2.6.0/zuljsp-2.6.0.jar
  15. curl -# -o ${earDir}'/whl-biztml.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/com/wanhai/tml/whl-biztml/0.1.0/whl-biztml-0.1.0.jar
  16. #copy config files to META-INF
  17. cp -Rf ${JBOSS_HOME}/config/config/${earMetaDir} ${earDir}
  18. #copy config files to wildfly