You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2020/04/28 17:15:25 UTC
[tomcat] branch master updated: Correct paths for building the
sample native image
This is an automated email from the ASF dual-hosted git repository.
fhanik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 7a70300 Correct paths for building the sample native image
7a70300 is described below
commit 7a7030022049c445fd47783d85c6fede1c358e00
Author: Filip Hanik <fh...@pivotal.io>
AuthorDate: Tue Apr 28 10:14:50 2020 -0700
Correct paths for building the sample native image
---
res/graal/build-tomcat-native-image.sh | 2 +-
res/graal/graal-measure.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/res/graal/build-tomcat-native-image.sh b/res/graal/build-tomcat-native-image.sh
index 7503f2c..fc0f26d 100755
--- a/res/graal/build-tomcat-native-image.sh
+++ b/res/graal/build-tomcat-native-image.sh
@@ -33,7 +33,7 @@ done
PRGDIR=`dirname "$PRG"`
cd $PRGDIR/../..
-ant && ant embed && ant test-compile
+ant clean && ant && ant embed && ant test-compile
mkdir -p output/graal
cd output/testclasses
diff --git a/res/graal/graal-measure.sh b/res/graal/graal-measure.sh
index 599f1b5..2f2094e 100755
--- a/res/graal/graal-measure.sh
+++ b/res/graal/graal-measure.sh
@@ -36,7 +36,7 @@ done
# directory of this script
PRGDIR=`dirname "$PRG"`
-EXECUTABLE=${PRGDIR}/output/graal/tc-graal-image
+EXECUTABLE=${PRGDIR}/../../output/graal/tc-graal-image
./${EXECUTABLE} "$@" 2>&1 &
PID=$!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org