ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/res/graal/build-tomcat-native-image.sh

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/res/graal/build-tomcat-native-image.sh
Status
scanned
Type
file
Name
build-tomcat-native-image.sh
Extension
.sh
Programming language
Bash
Mime type
text/x-shellscript
File type
Bourne-Again shell script, ASCII text executable, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1884 (1.8 KB)
MD5
5a358dfb69478bdd42223b2ba5be6b23
SHA1
a08e6a2cb7464f386cb6b0f1729bc50b380aa88d
SHA256
8b22fa34faf3d67c459086698ca8658844954c04d840fa2657f6fdbe4a65a24d
SHA512

      
    
SHA1_git
987590fa57dc805eaf0820529ae77bd7f105c400
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
build-tomcat-native-image.sh | 1.8 KB |

#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -e CURDIR=`pwd` # resolve links - $0 may be a softlink PRG="$0" while [ -h "$PRG" ]; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done # directory of this script PRGDIR=`dirname "$PRG"` cd $PRGDIR/../.. ant clean && ant && ant embed && ant test-compile mkdir -p output/graal cd output/testclasses jar cvfM ../graal/tomcat-embedded-sample.jar org/apache/catalina/startup/EmbeddedTomcat*class cd ../graal native-image \ --verbose \ --no-server \ -H:EnableURLProtocols=http \ --report-unsupported-elements-at-runtime \ --initialize-at-run-time=org.apache,jakarta.servlet \ -H:TraceClassInitialization=org.* \ -H:+PrintClassInitialization \ -H:+PrintAnalysisCallTree \ -H:Name=tc-graal-image \ -H:+ReportExceptionStackTraces \ --allow-incomplete-classpath \ --no-fallback \ -cp ../embed/tomcat-embed-programmatic.jar:tomcat-embedded-sample.jar \ org.apache.catalina.startup.EmbeddedTomcat cd $CURDIR
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
47.22
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10