Browse Source

ecj: Fix missing \ in ecj script

android-5
Fredrik Fornwall 8 years ago
parent
commit
a68adb036f
  1. 4
      packages/ecj/build.sh
  2. 2
      packages/ecj/ecj

4
packages/ecj/build.sh

@ -27,9 +27,9 @@ termux_step_make () {
# We need the android classes for JDT to compile against. # We need the android classes for JDT to compile against.
cp $ANDROID_HOME/platforms/android-23/android.jar . cp $ANDROID_HOME/platforms/android-23/android.jar .
unzip android.jar unzip -q android.jar
rm -Rf android.jar resources.arsc res assets rm -Rf android.jar resources.arsc res assets
zip -r android.jar . zip -q -r android.jar .
cp $TERMUX_PKG_TMPDIR/android-jar/android.jar $TERMUX_PREFIX/share/java/android.jar cp $TERMUX_PKG_TMPDIR/android-jar/android.jar $TERMUX_PREFIX/share/java/android.jar
rm -Rf $TERMUX_PREFIX/bin/javac rm -Rf $TERMUX_PREFIX/bin/javac

2
packages/ecj/ecj

@ -3,7 +3,7 @@
# -proc:none to disable annotation processing. # -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility. # -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \ dalvikvm -Xmx256m \
-cp @TERMUX_PREFIX@/share/dex/ecj.jar -cp @TERMUX_PREFIX@/share/dex/ecj.jar \
org.eclipse.jdt.internal.compiler.batch.Main \ org.eclipse.jdt.internal.compiler.batch.Main \
-proc:none \ -proc:none \
-7 \ -7 \

Loading…
Cancel
Save