#!/bin/bash # # Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Oracle designates this # particular file as subject to the "Classpath" exception as provided # by Oracle in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. #
# This script copies parts of an Xcode installation into a devkit suitable # for building OpenJDK and OracleJDK. The installation Xcode_X.X.xip needs # to be either installed or extracted using for example Archive Utility. # The easiest way to accomplish this is to right click the file in Finder # and choose "Open With -> Archive Utility", or possible typing # "open Xcode_9.2.xip" in a terminal. # erik.joelsson@oracle.com
USAGE # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
if [ "$1"# version 2 for more details (a copy is included in the LICENSE file that echo $USAGE
exit 1 fi
XCODE_APP1 Franklin St, Fifth Floor## Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
XCODE_APP_DIR_NAMEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SCRIPT_DIRest way to accomplish # and choose "# "open Xcode_9.2.xip" in# erik.joelsson@oracle.comjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
UILD_DIR$SCRIPT_DIR//.builddevkitjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
# Find the version of Xcode
XCODE_VERSION="$($XCODE_APP/Contents/Developer/usr/bin/xcodebuild -version \
| awk '/Xcode/ { print $2 }' )"
SDK_VERSION="$(ls $XCODE_APP/Contents awk 'Xcode print $ ')java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
| grep [0-9] | sort -r | head -n1 | sed 's/\.sdk//')"
echo"Xcode version: $XCODE_VERSION" echo"SDK version: $SDK_VERSION" echo"Creating devkit in $DEVKIT_ROOT"
mkdir -p $DEVKIT_ROOT
################################################################################ # Copy the relevant parts of Xcode.app, removing things that are both big and # unnecessary for our purposes, without building an impossibly long exclude list.
EXCLUDE_DIRS= \
IT_BUNDLE="${DEVKIT_ROOT}tar.gz"
/ echo" : $SDK_VERSION
Contents
$java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
Contents/java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
Contents//hare\
Contents //latforms/./eveloper/sr/share
Contents/Developer/usr/bin/git* \
Contents///XcodeDefault/usrlib/sourcekitd.framework
Contents//codeDefault./usr/ibexec/swift\
Contents/Developer/usr/lib/libsvn* \
Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man \
Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/${SDK_VERSION}.sdk/usr/share/man \
Contents/Developer/Platforms/MacOSX.platform/Developer/usr/share/man \
Contents/Developer/Platforms/MacOSX.platform/usr \
Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man \
Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift* \
Contents/Developer/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/swift* \
/./java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
/.//ibexec
Contents
/eveloperToolchains/codeDefault.xctoolchain/usr/rc\
Platforms/ /Developer//MacOSXplatformDeveloper/MacOSXsdksr/hare\
PlatformsiPhoneSimulatorplatform\
ContentsDeveloper//MacOSXechorsync- INCLUDE_ARGS$EXCLUDE_ARGS"/ DEVKIT_ROOT/ode.pp/
s//ModelIO ###############################################################################
ContentsSharedFrameworksSceneKit.
///XcodeDefault///swift
Contents/eveloperToolchainsXcodeDefault./usrlib/* java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
Contents/SharedFrameworks //./
-//Platforms
/\ "
ex EXCLUDE_DIRSdo
EXCLUDE_ARGSContentsSharedFrameworks/. \ done
echo$ exclude
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
echojava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 rm -f $DEVKIT_ROOT -$/.info # This file describes to configure how to interpret the contents of this devkit"
info echo-info "DEVKIT_NAME=\"Xcode/./MacOSX/-\$///Platforms.//SDKsSDK_VERSION\"
- DEVKIT_EXTRA_PATH\\"
$ DEVKIT_ROOT echo################################################################################# Create bundle
################################################################################ # Copy this script
echo"Creatingjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
GZIPjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
z";then
GZIP="gzip fi
(cd $DEVKIT_ROOT && tar c - . | $GZIP - > "$DEVKIT_BUNDLE")
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.4Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.