comparison agent/src/jetbrains/buildServer/symbols/SymbolsIndexer.java @ 23:7bd8a756aa78

polished build log messages
author Evgeniy.Koshkin
date Mon, 05 Aug 2013 14:59:48 +0400
parents d7e0f085b4ea
children f4e0050e2a2f
comparison
equal deleted inserted replaced
22:6bc398d2279d 23:7bd8a756aa78
77 public void afterCollectingFiles(@NotNull List<ArtifactsCollection> artifacts) { 77 public void afterCollectingFiles(@NotNull List<ArtifactsCollection> artifacts) {
78 super.afterCollectingFiles(artifacts); 78 super.afterCollectingFiles(artifacts);
79 if(myBuild == null || mySymbolsToProcess == null) return; 79 if(myBuild == null || mySymbolsToProcess == null) return;
80 final BuildProgressLogger buildLogger = myBuild.getBuildLogger(); 80 final BuildProgressLogger buildLogger = myBuild.getBuildLogger();
81 if(myBuild.getBuildFeaturesOfType(SymbolsConstants.BUILD_FEATURE_TYPE).isEmpty()){ 81 if(myBuild.getBuildFeaturesOfType(SymbolsConstants.BUILD_FEATURE_TYPE).isEmpty()){
82 buildLogger.warning(SymbolsConstants.BUILD_FEATURE_TYPE + " build feature disabled. No indexing performed.");
83 LOG.debug(SymbolsConstants.BUILD_FEATURE_TYPE + " build feature disabled. No indexing performed."); 82 LOG.debug(SymbolsConstants.BUILD_FEATURE_TYPE + " build feature disabled. No indexing performed.");
84 return; 83 return;
85 } 84 }
86 LOG.debug(SymbolsConstants.BUILD_FEATURE_TYPE + " build feature enabled. Searching for suitable files."); 85 LOG.debug(SymbolsConstants.BUILD_FEATURE_TYPE + " build feature enabled. Searching for suitable files.");
87 final Collection<File> pdbFiles = getArtifactPathsByFileExtension(artifacts, PDB_FILE_EXTENSION); 86 final Collection<File> pdbFiles = getArtifactPathsByFileExtension(artifacts, PDB_FILE_EXTENSION);