Changeset 639 for trunk/java-utils/src/main/java/de/ugoe
- Timestamp:
- 08/27/12 15:53:25 (12 years ago)
- Location:
- trunk/java-utils/src/main/java/de/ugoe/cs/util/console
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-utils/src/main/java/de/ugoe/cs/util/console/CommandExecuter.java
r320 r639 4 4 import java.util.ArrayList; 5 5 import java.util.List; 6 import java.util.logging.Level; 6 7 7 8 /** … … 161 162 } catch (InstantiationException e) { 162 163 } catch (ClassCastException e) { 163 Console.traceln( className + "found, but does not implement Command");164 Console.traceln(Level.WARNING, className + "found, but does not implement Command"); 164 165 } 165 166 return cmd; -
trunk/java-utils/src/main/java/de/ugoe/cs/util/console/defaultcommands/CMDexec.java
r322 r639 8 8 import java.security.InvalidParameterException; 9 9 import java.util.List; 10 import java.util.logging.Level; 10 11 11 12 import de.ugoe.cs.util.console.Command; … … 45 46 commands = (new String(buffer)).split("\n"); 46 47 for (String command : commands) { 47 Console.traceln( command.trim());48 Console.traceln(Level.INFO, "Executing \"" + command.trim() + "\""); 48 49 CommandExecuter.getInstance().exec(command); 49 50 }
Note: See TracChangeset
for help on using the changeset viewer.