Guest User

Untitled

a guest
May 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. #!/bin/sh
  2. # add the compiler to the classpath and then use the default java
  3. # implementation. If the user wants to change the version of java
  4. # they can define what 'java' resolves to.
  5.  
  6. JVM_ARGS=
  7. ARGS=
  8. while [ $# -gt 0 ] ; do
  9. case "$1" in
  10. -J*) jopt=${1#\-J} ; JVM_ARGS="$JVM_ARGS $jopt";;
  11. *) ARGS="$ARGS $1" ;;
  12. esac
  13. shift
  14. done
  15.  
  16. #echo $ARGS debug
  17. #echo $JVM_ARGS debug
  18. #echo $CLASSPATH debug
  19.  
  20. CLASSPATH=/opt/local/share/java/eclipse-ecj.jar${CLASSPATH:+:}$CLASSPATH \
  21. java ${JVM_ARGS} org.eclipse.jdt.internal.compiler.batch.Main ${ARGS}
Add Comment
Please, Sign In to add comment