GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — bc-java/build1-5to1-8 at main · independenter/bc-java Expand file tree/ Copy pathbuild1-5to1-8More file actions 77 lines (69 loc) · 2.14 KB / Copy pathbuild1-5to1-8File metadata and controls77 lines (69 loc) · 2.14 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 #!/bin/sh - # # build script for 1.5 # # If it's given a buildname it creates a subdirectory and places a build in it, # otherwise it just creates the docs and class files. # if [ "${JDKPATH}" = "" ] then JDKPATH=/usr/lib/jvm/java-8-openjdk-amd64 else JDKPATH_WAS_SET=yes fi if [ "${JDK5PATH}" = "" ] then JDK5PATH=/usr/lib/jvm/java-1.5.0-oracle-i586/ fi JAVA_HOME=$JDKPATH export JAVA_HOME PATH=$JDKPATH/bin:$PATH export PATH if [ "${JAVA_VERSION_PREFIX}" = "" ] then if [ "${JDKPATH_WAS_SET}" = "yes" ] then # JDKPATH was supplied but JAVA_VERSION_PREFIX wasn't: derive the prefix # from the JVM's reported version so it matches System.getProperty("java.version"). # e.g. java.version "1.8.0_492" -> 1.8, "11.0.31" -> 11, "17.0.19" -> 17. _javaVersion=`"${JDKPATH}/bin/java" -version 2>&1 | sed -n '1s/.*version "\([^"]*\)".*/\1/p'` case "${_javaVersion}" in 1.*) JAVA_VERSION_PREFIX=`echo "${_javaVersion}" | cut -d. -f1-2` ;; ?*) JAVA_VERSION_PREFIX=`echo "${_javaVersion}" | cut -d. -f1` ;; esac fi if [ "${JAVA_VERSION_PREFIX}" = "" ] then JAVA_VERSION_PREFIX=1.5 fi export JAVA_VERSION_PREFIX fi if [ "$1" = "test" ] then # # Note: always do a full build before running test # JAVA_HOME=$JDK5PATH export JAVA_HOME PATH=$JDK5PATH/bin:$PATH export PATH ant -f ant/jdk15+.xml test elif [ "$1" = "clean" ] then ant -f ant/jdk15+.xml clean else if ant -f ant/jdk15+.xml build-provider then ant -f ant/jdk15+.xml build ant -f ant/jdk15+.xml zip-src fi # Add the JCA provider service registration (META-INF/services/java.security.Provider) # to every provider jar produced. The glob matches bcprov and bcprov-ext, and both the # plain jdk15to18 and a debug build's debug-jdk15to18 names, so a release.debug build # gets it too (the old fixed 'bcprov-jdk15to18*.jar' glob silently missed the debug jars). for provjar in build/artifacts/jdk1.5/jars/bcprov*jdk15to18*.jar do [ -f "$provjar" ] || continue jar uf "$provjar" -C prov/src/main/resources META-INF done fi |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |