Changeset 35570 for main/trunk/release-kits/bin
- Timestamp:
- 2021-10-13T14:07:12+13:00 (3 years ago)
- Location:
- main/trunk/release-kits/bin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/bin/rk
r34256 r35570 45 45 export ANT_OPTS=-Xmx1024M 46 46 47 # set JAVACFLAGS (used in the relevant javac lines in our Makefiles) so that any compiled Java code 48 # is backwards compatible with Java v1.6 49 50 # Note: Given the way autoconf uses 'eval' to test javac, then the usual technique of double-quoting 51 # (e.g.) the bootclasspath directory to project against spaces *won't* *work* as it is not passed 52 # to a shell environment to be interpretted first. 53 # Instead, we result to backlash escaping any spaces 54 export RK_HOME_BACKSLASH_ESCAPED=`echo $RK_HOME | sed 's/ /\\\\ /g'` 55 56 export JAVACFLAGS="-source 1.6 -target 1.6 -bootclasspath $RK_HOME_BACKSLASH_ESCAPED/shared/core/java-rt/rt-openjdk6.jar -extdirs ''" 57 47 58 #create the command 48 59 toexec="ant -lib \"`pwd`/installer/classes\" -f \"$RK_HOME/kits/$rk_name/ant-scripts/build.xml\" \"-Dbasedir=`pwd`\" \"-Drk.home=$RK_HOME\" \"-Drk.name=$rk_name\"" … … 57 68 toexec="$toexec \"-Dkeep.src=$KEEP_SRC\"" 58 69 fi 70 71 show_cmd=false 59 72 60 73 #pass on the arguments -
main/trunk/release-kits/bin/rk.bat
r29395 r35570 4 4 pushd "%CD%" 5 5 CD /D "%~dp0\.." 6 7 :: make sure ant has enough memory 8 set ANT_OPTS=-Xmx1024M 9 10 :: set JAVACFLAGS (used in the relevant javac lines in our win32.mak/Makefiles) so that any compiled Java code 11 :: is backwards compatible with Java v1.6 12 set JAVACFLAGS=-source 1.6 -target 1.6 -bootclasspath "%RK_HOME%\shared\core\java-rt\rt-openjdk6.jar" -extdirs "" 6 13 7 14 :: Generally, an ant property can be true|on|yes vs false|off|no (or left unset)
Note:
See TracChangeset
for help on using the changeset viewer.