Ignore:
Timestamp:
2021-10-23T17:13:42+13:00 (3 years ago)
Author:
davidb
Message:

Scripts updated to add in the jar files needed to support Java's jce.jar extension.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/bin/rk

    r35627 r35673  
    4747export ANT_OPTS=-Xmx1024M
    4848
    49 # set JAVACFLAGS (used in the relevant javac lines in our Makefiles) so that any compiled Java code
    50 # is backwards compatible with Java v1.6
    5149
    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 ''"
     50if [ "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
     56fi
    5957
    6058#create the command
Note: See TracChangeset for help on using the changeset viewer.