PageRenderTime 105ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/ri-clients/jbi-ant-tasks/regress/regress_defs.ksh

https://bitbucket.org/rsaqc/openesb-core
Korn Shell | 56 lines | 12 code | 7 blank | 37 comment | 1 complexity | 5dfbc8eca9a97db4e9f79b28fdd04ea9 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. export UI_REGRESS_DIST_DIR
  34. if [ $OPENESB_BUILD -eq 1 ]; then
  35. UI_REGRESS_DIST_DIR=$JV_SVC_TEST_CLASSES/testdata
  36. else
  37. UI_REGRESS_DIST_DIR=$JV_SVC_TEST_CLASSES/dist
  38. fi
  39. # base definition for JBI_ANT command was moved to antbld/regress/common_defs.ksh - override it here as required.
  40. #JBI_ANT="asant -emacs -q -lib $JV_JBI_HOME/lib/jbi-ant-tasks.jar -f $JBI_ADMIN_XML -Djbi.username=$AS_ADMIN_USER -Djbi.password=$AS_ADMIN_PASSWD -Djbi.port=$ASADMIN_PORT -Djbi.secure=false "
  41. #
  42. # test cases
  43. #
  44. build_test_artifacts()
  45. {
  46. # package components
  47. ant -emacs -q -f $JV_SVC_REGRESS/scripts/build-test-components.ant
  48. return 0
  49. }