PageRenderTime 39ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/runtime/sun_framework/regress/framework00005.ksh

https://bitbucket.org/rsaqc/openesb-core
Korn Shell | 53 lines | 8 code | 9 blank | 36 comment | 1 complexity | 49527f86f1c24dc36bb97e11b28598c4 MD5 | raw file
  1. #!/bin/sh
  2. #
  3. # BEGIN_HEADER - DO NOT EDIT
  4. #
  5. # The contents of this file are subject to the terms
  6. # of the Common Development and Distribution License
  7. # (the "License"). You may not use this file except
  8. # in compliance with the License.
  9. #
  10. # You can obtain a copy of the license at
  11. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  12. # See the License for the specific language governing
  13. # permissions and limitations under the License.
  14. #
  15. # When distributing Covered Code, include this CDDL
  16. # HEADER in each file and include the License file at
  17. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  18. # If applicable add the following below this CDDL HEADER,
  19. # with the fields enclosed by brackets "[]" replaced with
  20. # your own identifying information: Portions Copyright
  21. # [year] [name of copyright owner]
  22. #
  23. #
  24. # @(#)framework00005.ksh
  25. # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
  26. #
  27. # END_HEADER - DO NOT EDIT
  28. #
  29. #regress setup
  30. . ./regress_defs.ksh
  31. echo testing self first class loading for engines
  32. # package components
  33. ant -emacs -q -f $JV_FRAMEWORK_REGRESS_DIR/scripts/build-framework00005-components.ant build-components
  34. # install engine
  35. $JBI_ANT -Djbi.install.file=$JV_FRAMEWORK_BLD_DIR/dist/SelfFirstTestEngine.jar install-component
  36. # start engine (this invokes the private lib API)
  37. $JBI_ANT -Djbi.component.name="SelfFirstTestEngine" start-component
  38. # shutdown engine
  39. $JBI_ANT -Djbi.component.name="SelfFirstTestEngine" shut-down-component
  40. # uninstall engine
  41. $JBI_ANT -Djbi.component.name="SelfFirstTestEngine" uninstall-component
  42. #cho Private Library Invocation
  43. grep "javax.ejb.EJBObject was loaded using:" $JBI_DOMAIN_ROOT/logs/classloaderregresstests.selffirstloading.engine.rt.log | wc -l
  44. # ### END