Changeset 35673 for main/trunk/release-kits/bin/rk
- Timestamp:
- 2021-10-23T17:13:42+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/bin/rk
r35627 r35673 47 47 export ANT_OPTS=-Xmx1024M 48 48 49 # set JAVACFLAGS (used in the relevant javac lines in our Makefiles) so that any compiled Java code50 # is backwards compatible with Java v1.651 49 52 # Note: Given the way autoconf uses 'eval' to test javac, then the usual technique of double-quoting 53 # (e.g.) the bootclasspath directory to project against spaces *won't* *work* as it is not passed 54 # to a shell environment to be interpretted first. 55 # Instead, we result to backlash escaping any spaces 56 export RK_HOME_BACKSLASH_ESCAPED=`echo $RK_HOME | sed 's/ /\\\\ /g'` 57 58 export JAVACFLAGS="-source 1.8 -target 1.8 -bootclasspath $RK_HOME_BACKSLASH_ESCAPED/shared/core/java-rt/rt-openjdk8.jar -extdirs ''" 50 if [ "x$JAVACFLAGS" = "x" ] ; then 51 echo "****" >&2 52 echo "Warning: Expected to have JAVACFLAGS set. Have your sourced rk3-setup.bassh?" >&2 53 echo "****" >&2 54 echo "Sleeping for 5 seconds then continuing, unless ^C is pressed" >&2 55 sleep 5 56 fi 59 57 60 58 #create the command
Note:
See TracChangeset
for help on using the changeset viewer.