Guest User

Untitled

a guest
Apr 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. ## Test Script
  2. ######################################
  3. #!/bin/bash
  4. # jruby testscript
  5.  
  6.  
  7. export JAVA_HOME=/usr/lib/jvm/java-6-sun
  8. export PATH=$JAVA_HOME/bin:$PATH
  9. export ANT_HOME=/usr/share/ant
  10. export JRUBY_HOME=/home/max/jruby
  11.  
  12. #
  13. cd $JRUBY_HOME
  14. pwd
  15. ant test
  16.  
  17. ## Shell Output
  18. ######################################
  19. max@turkgama2:~/Jruby$ ./jruby_setup
  20. /home/max/jruby
  21. Buildfile: build.xml
  22.  
  23. init:
  24.  
  25. jar:
  26.  
  27. jar-jruby:
  28.  
  29. init:
  30.  
  31. extract-rdocs:
  32.  
  33. prepare:
  34.  
  35. compile.tasks:
  36. [copy] Copying 1 file to /home/max/jruby/build/classes/jruby
  37.  
  38. check-for-optional-java4-packages:
  39.  
  40. check-for-optional-packages:
  41.  
  42. compile-jruby:
  43.  
  44. compile:
  45.  
  46. generate-method-classes:
  47. [touch] Creating /home/max/jruby/build/__empty.rb
  48. [delete] Deleting: /home/max/jruby/build/__empty.rb
  49. [jarjar] Building jar: /home/max/jruby/lib/jruby.jar
  50.  
  51. compile-test:
  52.  
  53. copy-test-files:
  54.  
  55. instrument:
  56.  
  57. run-junit-compiled:
  58. [echo] compile=JIT, jit.threshold=0, jit.max=-1, objectspace=true threadpool=false reflection=false version=ruby1_8
  59.  
  60. BUILD FAILED
  61. /home/max/jruby/build.xml:462: The following error occurred while executing this line:
  62. /home/max/jruby/build.xml:543: The following error occurred while executing this line:
  63. /home/max/jruby/build.xml:500: taskdef A class needed by class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found: junit/framework/Test
  64.  
  65. Total time: 11 seconds
Add Comment
Please, Sign In to add comment