Changeset 2281 for trunk/autoquest-runner/src/main/java/de/ugoe/cs
- Timestamp:
- 08/02/19 13:39:17 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-runner/src/main/java/de/ugoe/cs/autoquest/ui/Runner.java
r929 r2281 91 91 public static void main(String[] args) { 92 92 93 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.misc" );94 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.sequences" );95 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.usability" );96 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.usage" );97 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.ui.swt.commands" );93 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.misc", Runner.class.getClassLoader()); 94 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.sequences", Runner.class.getClassLoader()); 95 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.usability", Runner.class.getClassLoader()); 96 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.commands.usage", Runner.class.getClassLoader()); 97 CommandExecuter.getInstance().addCommandPackage("de.ugoe.cs.autoquest.ui.swt.commands", Runner.class.getClassLoader()); 98 98 99 99 PluginLoader pluginLoader = new PluginLoader(new File("lib")); … … 102 102 for (AutoQUESTPlugin plugin : pluginLoader.getPlugins()) { 103 103 for (String commandPackage : plugin.getCommandPackages()) { 104 CommandExecuter.getInstance().addCommandPackage(commandPackage );104 CommandExecuter.getInstance().addCommandPackage(commandPackage, plugin.getClass().getClassLoader()); 105 105 } 106 106 }
Note: See TracChangeset
for help on using the changeset viewer.