Changeset 112


Ignore:
Timestamp:
07/07/11 11:55:55 (13 years ago)
Author:
sherbold
Message:
  • execution of console now takes parameters; the parameters are interpreted as commands and executed before starting the console
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/Runner.java

    r52 r112  
    1414                CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.eventbench.web.commands"); 
    1515                TextConsole textConsole = new TextConsole(); 
     16                if( args.length>=1 ) { 
     17                        for( String command : args ) { 
     18                                CommandExecuter.getInstance().exec(command); 
     19                        } 
     20                } 
    1621                textConsole.run(true); 
    1722        } 
Note: See TracChangeset for help on using the changeset viewer.