Changeset 244 for trunk/EventBenchConsole/src/de/ugoe/cs
- Timestamp:
- 10/05/11 23:18:55 (13 years ago)
- Location:
- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/AbstractTrainCommand.java
r240 r244 11 11 import de.ugoe.cs.eventbench.models.TrieBasedModel; 12 12 import de.ugoe.cs.util.console.Command; 13 import de.ugoe.cs.util.console.Console;14 13 15 14 /** … … 87 86 model.train(sequences); 88 87 if (GlobalDataContainer.getInstance().addData(modelname, model)) { 89 Co nsole.traceln("Old data \"" + modelname + "\" overwritten");88 CommandHelpers.dataOverwritten(modelname); 90 89 } 91 90 -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDgenerateRandomReplay.java
r240 r244 74 74 } 75 75 } catch (ClassCastException e) { 76 Console.print ln("Modeled events don't support replay.");76 Console.printerrln("Modeled events don't support replay."); 77 77 } 78 78 ReplayGenerator generator = new ReplayGenerator(); -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/efg/commands/CMDefgTestCasesToSequences.java
r227 r244 7 7 import java.util.List; 8 8 9 import de.ugoe.cs.eventbench.CommandHelpers; 9 10 import de.ugoe.cs.eventbench.data.Event; 10 11 import de.ugoe.cs.eventbench.data.GlobalDataContainer; … … 59 60 } 60 61 if (GlobalDataContainer.getInstance().addData(sequencesName, sequences)) { 61 Co nsole.traceln("Old data \"" + sequencesName + "\" overwritten");62 CommandHelpers.dataOverwritten(sequencesName); 62 63 } 63 64 -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/commands/CMDloadWebSequences.java
r241 r244 79 79 parser.parseFile(source); 80 80 } catch (FileNotFoundException e) { 81 Console.print ln(e.getMessage());81 Console.printerrln(e.getMessage()); 82 82 } catch (IOException e) { 83 Console.print ln(e.getMessage());83 Console.printerrln(e.getMessage()); 84 84 } catch (ParseException e) { 85 Console.print ln("Invalid format of date stamps.");86 Console.print ln(e.getMessage());85 Console.printerrln("Invalid format of date stamps."); 86 Console.printerrln(e.getMessage()); 87 87 } 88 88 -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java
r226 r244 909 909 int index = target.lastIndexOf("<"); 910 910 if (index == 0) { 911 Console. println("Trying to adress parent of top-level window! Replay probably invalid!");911 Console.traceln("Trying to adress parent of top-level window! Replay probably invalid!"); 912 912 } 913 913 value = target.substring(0, index); -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/commands/CMDconvertDirToXml.java
r171 r244 50 50 new LogPreprocessor(base64).convertDirToXml(path, target); 51 51 } catch (FileNotFoundException e) { 52 Console.print ln(e.getMessage());52 Console.printerrln(e.getMessage()); 53 53 } catch (IOException e) { 54 Console.print ln(e.getMessage());54 Console.printerrln(e.getMessage()); 55 55 } 56 56 -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/commands/CMDconvertToXml.java
r171 r244 50 50 new LogPreprocessor(base64).convertToXml(source, target); 51 51 } catch (FileNotFoundException e) { 52 Console.print ln(e.getMessage());52 Console.printerrln(e.getMessage()); 53 53 } catch (IOException e) { 54 Console.print ln(e.getMessage());54 Console.printerrln(e.getMessage()); 55 55 } 56 56
Note: See TracChangeset
for help on using the changeset viewer.