Skip to content

Commit

Permalink
Debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
ainani committed Mar 12, 2024
1 parent c09125a commit 3be6c48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/java_buildpack/container/tomcat/tomcat_geode_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def create_cache_client_xml

def detect_geode_tomcat_version
geode_tomcat_version = nil

puts "===DEBUG ABHISHEK==="
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)
Expand All @@ -146,6 +146,8 @@ def detect_geode_tomcat_version
end

geode_tomcat_version = geode_modules_tomcat_pattern.match(file).named_captures['version']
puts "===DEBUG ABHISHEK==="
puts geode_tomcat_version
end
end

Expand Down

0 comments on commit 3be6c48

Please sign in to comment.