From 3be6c48657cbd2cf2046d6ce5481eccb34dbd6b3 Mon Sep 17 00:00:00 2001 From: Abhishek Inani Date: Tue, 12 Mar 2024 16:38:17 +0530 Subject: [PATCH] Debug print --- lib/java_buildpack/container/tomcat/tomcat_geode_store.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb b/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb index cec7d1d42..0e9d71af0 100644 --- a/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb +++ b/lib/java_buildpack/container/tomcat/tomcat_geode_store.rb @@ -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(?[0-9]*).*.jar/.freeze Dir.foreach(@droplet.sandbox + 'lib') do |file| if geode_modules_tomcat_pattern.match(file) @@ -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