crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser.corecomponents/src/com/nokia/s60tools/crashanalyser/corecomponents/interfaces/CommandLineManager.java
equal
deleted
inserted
replaced
77 * for progress bar |
77 * for progress bar |
78 * @return true if success, false if not |
78 * @return true if success, false if not |
79 */ |
79 */ |
80 public static boolean executeFullAnalysis(String outputFolder, |
80 public static boolean executeFullAnalysis(String outputFolder, |
81 String[] crashFiles, String[] symbolFiles, String mapFilesFolder, |
81 String[] crashFiles, String[] symbolFiles, String mapFilesFolder, |
82 String[] imageFiles, String fileExtension, |
82 String[] imageFiles, String[] traceDictionaryFiles, String fileExtension, |
83 String failedFileExtension, String selgeEventIniFile, |
83 String failedFileExtension, String selgeEventIniFile, |
84 IProgressMonitor monitor) { |
84 IProgressMonitor monitor) { |
85 List<String> debugMetadataFiles = new ArrayList<String>(); |
85 List<String> debugMetadataFiles = new ArrayList<String>(); |
86 |
86 |
87 // collect symbol files if any provided |
87 // collect symbol files if any provided |
92 |
92 |
93 // collect image files if any provided |
93 // collect image files if any provided |
94 if (imageFiles != null && imageFiles.length > 0) { |
94 if (imageFiles != null && imageFiles.length > 0) { |
95 for (int i = 0; i < imageFiles.length; i++) |
95 for (int i = 0; i < imageFiles.length; i++) |
96 debugMetadataFiles.add(imageFiles[i]); |
96 debugMetadataFiles.add(imageFiles[i]); |
|
97 } |
|
98 |
|
99 // collect trace dictionary files if any provided |
|
100 if (traceDictionaryFiles != null && traceDictionaryFiles.length > 0) { |
|
101 for (String traceDictionaryFile : traceDictionaryFiles) |
|
102 debugMetadataFiles.add(traceDictionaryFile); |
97 } |
103 } |
98 |
104 |
99 String[] debugMetadata = null; |
105 String[] debugMetadata = null; |
100 if (!debugMetadataFiles.isEmpty()) |
106 if (!debugMetadataFiles.isEmpty()) |
101 debugMetadata = debugMetadataFiles |
107 debugMetadata = debugMetadataFiles |