langtools/src/share/bin/launcher.sh-template
changeset 6574 7729fe9665a2
parent 5520 86e4b9a9da40
child 7843 1103fac3fb5a
equal deleted inserted replaced
6573:6bad8be140fc 6574:7729fe9665a2
    38 # dependent jar files for additional dependencies.
    38 # dependent jar files for additional dependencies.
    39 
    39 
    40 if [ "$LANGTOOLS_USE_BOOTCLASSPATH" != "no" ]; then
    40 if [ "$LANGTOOLS_USE_BOOTCLASSPATH" != "no" ]; then
    41    cp=`unzip -c "$mylib/#PROGRAM#.jar" META-INF/MANIFEST.MF |
    41    cp=`unzip -c "$mylib/#PROGRAM#.jar" META-INF/MANIFEST.MF |
    42        grep "Class-Path:" |
    42        grep "Class-Path:" |
    43        sed -e 's|Class-Path: *||' -e 's|\([a-z]*\.jar\) *|'"$mylib"'/\1:|g'`
    43        sed -e 's|Class-Path: *||' -e 's|\([a-z]*\.jar\) *|'"$mylib"'/\1#PS#|g'`
    44    bcp="$mylib/#PROGRAM#.jar":$cp 
    44    bcp="$mylib/#PROGRAM#.jar#PS#$cp"
    45 fi
    45 fi
    46 
    46 
    47 # tools currently assumes that assertions are enabled in the launcher
    47 # tools currently assumes that assertions are enabled in the launcher
    48 ea=-ea:com.sun.tools...
    48 ea=-ea:com.sun.tools...
    49 
    49