Skip to content

Commit f661d8a

Browse files
Improved geode_store validation regex to identify gemfire or geode jars
1 parent bb37d7c commit f661d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java_buildpack/container/tomcat/tomcat_geode_store.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def create_cache_client_xml
137137
def detect_geode_tomcat_version
138138
geode_tomcat_version = nil
139139

140-
geode_modules_tomcat_pattern = /geode-modules-tomcat(?<version>[0-9]*).*.jar/.freeze
140+
geode_modules_tomcat_pattern = /ge.*-modules-tomcat(?<version>[0-9]*).*.jar/.freeze
141141
Dir.foreach(@droplet.sandbox + 'lib') do |file|
142142
if geode_modules_tomcat_pattern.match(file)
143143
unless geode_tomcat_version.nil?

0 commit comments

Comments
 (0)