Skip to content

Commit

Permalink
Replace tomcatjss.jar
Browse files Browse the repository at this point in the history
All references to tomcatjss.jar have been replaced with
tomcatjss-core.jar and tomcatjss-tomcat-9.0.jar since they
are the actual Maven build artifacts.
  • Loading branch information
edewata committed Jun 28, 2023
1 parent e858268 commit a7ad636
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
<classpathentry kind="lib" path="/usr/share/java/tomcat/tomcat-util.jar"/>
<classpathentry kind="lib" path="/usr/share/java/commons-io.jar"/>
<classpathentry kind="lib" path="/usr/lib/java/jss.jar"/>
<classpathentry kind="lib" path="/usr/share/java/tomcatjss.jar"/>
<classpathentry kind="lib" path="/usr/share/java/tomcatjss-core.jar"/>
<classpathentry kind="lib" path="/usr/share/java/tomcatjss-tomcat-9.0.jar"/>
<classpathentry kind="lib" path="/usr/share/java/tomcat/tomcat-api.jar"/>
<classpathentry kind="lib" path="/usr/share/java/tomcat/tomcat-util-scan.jar"/>
<classpathentry kind="lib" path="/usr/share/java/slf4j/slf4j-api.jar"/>
Expand Down
13 changes: 10 additions & 3 deletions base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,18 @@ find_file(TOMCAT_UTIL_SCAN_JAR
/usr/share/java
)

find_file(TOMCATJSS_JAR
find_file(TOMCATJSS_CORE_JAR
NAMES
tomcatjss.jar
tomcatjss-core.jar
PATHS
/usr/share/java
/usr/share/java/tomcatjss
)

find_file(TOMCATJSS_TOMCAT_9_0_JAR
NAMES
tomcatjss-tomcat-9.0.jar
PATHS
/usr/share/java/tomcatjss
)

find_file(BASE_JAR
Expand Down
7 changes: 5 additions & 2 deletions base/ca/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ javac(pki-ca-classes
${LDAPJDK_JAR}
${SERVLET_JAR}
${TOMCAT_CATALINA_JAR}
${TOMCATJSS_JAR}
${TOMCATJSS_CORE_JAR}
${TOMCATJSS_TOMCAT_9_0_JAR}
${JAXRS_API_JAR} ${RESTEASY_JAXRS_JAR}
${PKI_COMMON_JAR} ${PKI_SERVER_JAR} ${PKI_TOMCAT_JAR}
${PKI_COMMON_JAR}
${PKI_SERVER_JAR}
${PKI_TOMCAT_JAR}
OUTPUT_DIR
${CMAKE_CURRENT_BINARY_DIR}/classes
)
Expand Down
6 changes: 4 additions & 2 deletions base/javadoc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ javadoc(pki-javadoc
${JAVAX_ANNOTATIONS_API_JAR}
${RESTEASY_JAXRS_JAR} ${RESTEASY_CLIENT_JAR}
${JSS_JAR}
${TOMCATJSS_JAR}
${PKI_COMMON_JAR} ${PKI_TOOLS_JAR}
${TOMCATJSS_CORE_JAR}
${TOMCATJSS_TOMCAT_9_0_JAR}
${PKI_COMMON_JAR}
${PKI_TOOLS_JAR}
${PKI_JAVADOC_CLASSPATH}
OPTIONS
-windowtitle 'pki-javadoc'
Expand Down
6 changes: 4 additions & 2 deletions base/ocsp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ javac(pki-ocsp-classes
${JAXRS_API_JAR}
${JSS_JAR}
${LDAPJDK_JAR}
${TOMCATJSS_JAR}
${PKI_COMMON_JAR} ${PKI_SERVER_JAR}
${TOMCATJSS_CORE_JAR}
${TOMCATJSS_TOMCAT_9_0_JAR}
${PKI_COMMON_JAR}
${PKI_SERVER_JAR}
OUTPUT_DIR
${CMAKE_CURRENT_BINARY_DIR}/classes
)
Expand Down
9 changes: 6 additions & 3 deletions base/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ javac(pki-server-classes
${JSS_JAR}
${LDAPJDK_JAR}
${SERVLET_JAR} ${TOMCAT_CATALINA_JAR} ${TOMCAT_UTIL_JAR}
${TOMCATJSS_JAR}
${TOMCATJSS_CORE_JAR}
${TOMCATJSS_TOMCAT_9_0_JAR}
${JAVAX_ANNOTATIONS_API_JAR}
${JAXRS_API_JAR} ${RESTEASY_JAXRS_JAR}
${PKI_COMMON_JAR} ${PKI_TOMCAT_JAR}
${PKI_COMMON_JAR}
${PKI_TOMCAT_JAR}
OUTPUT_DIR
${CMAKE_CURRENT_BINARY_DIR}/classes
)
Expand Down Expand Up @@ -141,7 +143,8 @@ add_custom_command(
COMMAND ln -sf ../../../../../..${RESTEASY_CLIENT_JAR} common/lib/resteasy-client.jar
COMMAND ln -sf ../../../../../..${RESTEASY_JACKSON2_PROVIDER_JAR} common/lib/resteasy-jackson2-provider.jar
COMMAND ln -sf ../../../../../..${RESTEASY_JAXRS_JAR} common/lib/resteasy-jaxrs.jar
COMMAND ln -sf ../../../../../..${TOMCATJSS_JAR} common/lib/tomcatjss.jar
COMMAND ln -sf ../../../../../..${TOMCATJSS_CORE_JAR} common/lib/tomcatjss-core.jar
COMMAND ln -sf ../../../../../..${TOMCATJSS_TOMCAT_9_0_JAR} common/lib/tomcatjss-tomcat-9.0.jar
)

add_custom_target(pki-server-man ALL
Expand Down
5 changes: 3 additions & 2 deletions base/server/python/pki/server/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,10 @@ def create_libs(self, force=False):
for filename in [
'jss.jar',
'ldapjdk.jar',
'tomcatjss-core.jar',
'tomcatjss-tomcat-9.0.jar',
'pki-common.jar',
'pki-tomcat.jar',
'tomcatjss.jar']:
'pki-tomcat.jar']:

source = os.path.join(common_lib_dir, filename)
dest = os.path.join(self.common_lib_dir, filename)
Expand Down
4 changes: 3 additions & 1 deletion base/tomcat-9.0/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ javac(pki-tomcat-classes
${COMMONS_LANG3_JAR}
${TOMCAT_API_JAR} ${TOMCAT_CATALINA_JAR} ${TOMCAT_COYOTE_JAR} ${TOMCAT_UTIL_SCAN_JAR}
${SLF4J_API_JAR}
${JSS_JAR} ${TOMCATJSS_JAR}
${JSS_JAR}
${TOMCATJSS_CORE_JAR}
${TOMCATJSS_TOMCAT_9_0_JAR}
${PKI_COMMON_JAR}
OUTPUT_DIR
${CMAKE_BINARY_DIR}/../tomcat
Expand Down

0 comments on commit a7ad636

Please sign in to comment.