Skip to content

Commit

Permalink
config fixes for jsf, jpa tcks in jdk11
Browse files Browse the repository at this point in the history
  • Loading branch information
alwin-joseph authored and scottmarlow committed Mar 3, 2021
1 parent 9e75474 commit c8eb7a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions docker/jsftck.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -xe

# Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -51,9 +51,6 @@ unzip -q ${TCK_HOME}/latest-glassfish.zip -d ${TCK_HOME}
TS_HOME=$TCK_HOME/$TCK_NAME
echo "TS_HOME $TS_HOME"

cd $TCK_HOME/$GF_TOPLEVEL_DIR/bin
./asadmin start-domain

cd $TS_HOME/bin
if [[ "$JDK" == "JDK11" || "$JDK" == "jdk11" ]];then
export JAVA_HOME=${JDK11_HOME}
Expand All @@ -64,6 +61,11 @@ fi
which java
java -version

cd $TCK_HOME/$GF_TOPLEVEL_DIR/bin
./asadmin start-domain

cd $TS_HOME/bin

webServerHome=$TCK_HOME/$GF_TOPLEVEL_DIR/glassfish

sed -i "s#webServerHome=.*#webServerHome=$TCK_HOME/$GF_TOPLEVEL_DIR/glassfish#g" ts.jte
Expand Down
4 changes: 2 additions & 2 deletions release/tools/jpa.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -46,7 +46,7 @@
<copy todir="${deliverable.bundle.dir}/bin" includeEmptyDirs="no">
<fileset dir="${ts.home}/install/${deliverable.name.lower}/bin"
includes="**/*"
excludes="ts.jte.*, **/workspace.xml, **/*.log, **/out"/>
excludes="**/workspace.xml, **/*.log, **/out"/>
</copy>
<copy todir="${deliverable.bundle.dir}/lib">
<fileset dir="${ts.home}/lib"
Expand Down

0 comments on commit c8eb7a8

Please sign in to comment.