From 8aa48ed523e2e24e803821c5b3a78a9121a3ae61 Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 16 Jan 2012 17:20:11 +0000 Subject: [PATCH] VIVO-448 when looking for references to JARs, look in TLD files also. --- utilities/buildutils/jarUsageScanner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/buildutils/jarUsageScanner.rb b/utilities/buildutils/jarUsageScanner.rb index 38164d5c8..d5dcb428d 100644 --- a/utilities/buildutils/jarUsageScanner.rb +++ b/utilities/buildutils/jarUsageScanner.rb @@ -33,7 +33,7 @@ pass the root directory of the combined vitro/vivo distro -------------------------------------------------------------------------------- -Search all of the *.java, *.jsp, *.js, *.xml files for mention of these package names +Search all of the *.java, *.jsp, *.js, *.tld, *.xml files for mention of these package names For each hit, print the file path, line number, the package name and the JAR name. To search files: @@ -146,7 +146,7 @@ end # def show_package_in_source_files(package_name) puts "#{package_name}" - include_parms = build_include_parms(["*.java", "*.jsp", "*.xml", "*.js" ]) + include_parms = build_include_parms(["*.java", "*.jsp", "*.xml", "*.tld", "*.js" ]) package_name_pattern = package_name.sub(/\./, "\\.") system "grep -H -n -r #{include_parms} #{package_name_pattern} '#{@scan_base_directory}'" puts