run.sh 979 B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/sh
  2. #
  3. # Licensed Materials - Property of IBM
  4. #
  5. # IBM Cognos Products: DOCS
  6. #
  7. # (C) Copyright IBM Corp. 2005, 2010
  8. #
  9. # US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  10. # IBM Corp.
  11. #
  12. # Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  13. # Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  14. # CHANGE the following environment variables to point to IBM Cognos on your system.
  15. if [ "$CRN_HOME" = "" ] ; then
  16. CRN_HOME=/usr/cognos/c10
  17. fi
  18. if [ "$JAVA_HOME" = "" ] ; then
  19. JAVA_HOME=/c/j2sdk6
  20. fi
  21. JAR_HOME=$CRN_HOME/sdk/java/lib
  22. for jar in activation axis axisCognosClient commons-discovery-0.2 commons-logging-1.1 commons-logging-adapters-1.1 \
  23. commons-logging-api-1.1 dom4j-1.6.1 jaxen-1.1.1 jaxrpc mail saaj wsdl4j-1.5.1 ; do
  24. CLASSPATH="$CLASSPATH:$JAR_HOME/$jar.jar"
  25. done
  26. ${JAVA_HOME}/bin/java -classpath ${CLASSPATH} Trigger ${1} ${2} ${3} ${4} ${5}