PageRenderTime 26ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

/runtime/framework/regress/regress_defs.ksh

https://bitbucket.org/openesb/openesb-core
Korn Shell | 67 lines | 22 code | 7 blank | 38 comment | 1 complexity | fe791e9d315213164806f8abe292eb34 MD5 | raw file
  1. #
  2. # BEGIN_HEADER - DO NOT EDIT
  3. #
  4. # The contents of this file are subject to the terms
  5. # of the Common Development and Distribution License
  6. # (the "License"). You may not use this file except
  7. # in compliance with the License.
  8. #
  9. # You can obtain a copy of the license at
  10. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  11. # See the License for the specific language governing
  12. # permissions and limitations under the License.
  13. #
  14. # When distributing Covered Code, include this CDDL
  15. # HEADER in each file and include the License file at
  16. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  17. # If applicable add the following below this CDDL HEADER,
  18. # with the fields enclosed by brackets "[]" replaced with
  19. # your own identifying information: Portions Copyright
  20. # [year] [name of copyright owner]
  21. #
  22. #
  23. # @(#)regress_defs.ksh
  24. # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
  25. #
  26. # END_HEADER - DO NOT EDIT
  27. #
  28. #common definitions for regression tests.
  29. #set this prop to the test domain. default is JBITest
  30. #my_test_domain=domain1
  31. #use global regress setup:
  32. . $SRCROOT/antbld/regress/common_defs.ksh
  33. REGRESS_CLASSPATH="$JBI_DOMAIN_ROOT/lib/jbi.jar\
  34. ${JBI_PS}$AS_INSTALL/lib/jmxremote.jar\
  35. ${JBI_PS}$AS_INSTALL/lib/jmxremote_optional.jar\
  36. ${JBI_PS}$AS_INSTALL/lib/appserv-rt.jar\
  37. ${JBI_PS}$AS_INSTALL/lib/j2ee.jar\
  38. "
  39. #override the variable or define other common scripts here
  40. # the following variables are setup by regress scritps
  41. #JBI_DOMAIN_NAME=JBITest
  42. #JBI_ADMIN_HOST=localhost
  43. #JBI_ADMIN_PORT=8687
  44. #JBI_ADMIN_XML=$SRCROOT/ui/src/scripts/jbi_admin.xml
  45. #JBI_DOMAIN_ROOT=$AS8BASE/domains/$JBI_DOMAIN_NAME
  46. export FRAMEWORK_SRC_DIR FRAMEWORK_REGRESS_DIR FRAMEWORK_BLD_DIR
  47. export JV_FRAMEWORK_SRC_DIR JV_FRAMEWORK_REGRESS_DIR JV_FRAMEWORK_BLD_DIR
  48. if [ -d $SRCROOT/runtime/framework ]; then
  49. FRAMEWORK_SRC_DIR=$SRCROOT/runtime/framework
  50. FRAMEWORK_BLD_DIR=$FRAMEWORK_SRC_DIR/bld/test-classes
  51. JV_FRAMEWORK_SRC_DIR=$JV_SRCROOT/runtime/framework
  52. JV_FRAMEWORK_BLD_DIR=$JV_FRAMEWORK_SRC_DIR/bld/test-classes
  53. else
  54. FRAMEWORK_SRC_DIR=$SRCROOT/framework
  55. FRAMEWORK_BLD_DIR=$FRAMEWORK_SRC_DIR/bld/regress
  56. JV_FRAMEWORK_SRC_DIR=$JV_SRCROOT/framework
  57. JV_FRAMEWORK_BLD_DIR=$JV_FRAMEWORK_SRC_DIR/bld/regress
  58. fi
  59. FRAMEWORK_REGRESS_DIR=$FRAMEWORK_SRC_DIR/regress
  60. JV_FRAMEWORK_REGRESS_DIR=$JV_FRAMEWORK_SRC_DIR/regress