termux-packages/packages/ecj4.6/ecj
Leonid Pliushch 3851c4f727 ecj4.6: do not word-split arguments
Handle well cli arguments that contain a space characters.
2019-01-13 18:33:41 +01:00

12 lines
320 B
Bash
Executable File

#!/bin/sh
# -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \
-cp @TERMUX_PREFIX@/share/dex/ecj.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
-proc:none \
-7 \
-cp @TERMUX_PREFIX@/share/java/android.jar \
"$@"