Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # add the compiler to the classpath and then use the default java
- # implementation. If the user wants to change the version of java
- # they can define what 'java' resolves to.
- JVM_ARGS=
- ARGS=
- while [ $# -gt 0 ] ; do
- case "$1" in
- -J*) jopt=${1#\-J} ; JVM_ARGS="$JVM_ARGS $jopt";;
- *) ARGS="$ARGS $1" ;;
- esac
- shift
- done
- #echo $ARGS debug
- #echo $JVM_ARGS debug
- #echo $CLASSPATH debug
- CLASSPATH=/opt/local/share/java/eclipse-ecj.jar${CLASSPATH:+:}$CLASSPATH \
- java ${JVM_ARGS} org.eclipse.jdt.internal.compiler.batch.Main ${ARGS}
Add Comment
Please, Sign In to add comment