Skip to content

Commit

Permalink
another debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ainani committed Mar 12, 2024
1 parent 3be6c48 commit aaf05b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/java_buildpack/container/tomcat/tomcat_geode_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,12 @@ def create_cache_client_xml
def detect_geode_tomcat_version
geode_tomcat_version = nil
puts "===DEBUG ABHISHEK==="
puts @droplet.sandbox + 'lib'
geode_modules_tomcat_pattern = /ge.*-tomcat(?<version>[0-9]*).*.jar/.freeze
Dir.foreach(@droplet.sandbox + 'lib') do |file|
if geode_modules_tomcat_pattern.match(file)
puts "===DEBUG ABHISHEK==="
puts file
unless geode_tomcat_version.nil?
raise('Multiple versions of geode-modules-tomcat jar found. ' \
'Please verify your geode_store tar only contains one geode-modules-tomcat jar.')
Expand Down

0 comments on commit aaf05b4

Please sign in to comment.