Changeset 533
- Timestamp:
- 08/08/12 10:20:38 (12 years ago)
- Location:
- trunk/quest-runner
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-runner/.classpath
r526 r533 2 2 <classpath> 3 3 <classpathentry kind="src" output="target/classes" path="src/main/java"> 4 <attributes>5 <attribute name="optional" value="true"/>6 <attribute name="maven.pomderived" value="true"/>7 </attributes>8 </classpathentry>9 <classpathentry kind="src" output="target/test-classes" path="src/test/java">10 4 <attributes> 11 5 <attribute name="optional" value="true"/> -
trunk/quest-runner/pom.xml
r526 r533 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 2 <modelVersion>4.0.0</modelVersion> 3 <groupId>de.ugoe.cs.quest</groupId> 4 <artifactId>quest-runner</artifactId> 5 <version>0.0.1-SNAPSHOT</version> 6 <name>quest-runner</name> 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>de.ugoe.cs.quest</groupId> 5 <artifactId>quest-runner</artifactId> 6 <version>0.0.1-SNAPSHOT</version> 7 <name>quest-runner</name> 7 8 <scm> 8 9 <url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-runner</url> … … 12 13 <groupId>de.ugoe.cs</groupId> 13 14 <artifactId>java-utils</artifactId> 15 <version>0.0.1-SNAPSHOT</version> 16 </dependency> 17 <dependency> 18 <groupId>de.ugoe.cs.quest</groupId> 19 <artifactId>quest-plugin-core</artifactId> 14 20 <version>0.0.1-SNAPSHOT</version> 15 21 </dependency> … … 38 44 <source>1.6</source> 39 45 <target>1.6</target> 46 <showWarnings>true</showWarnings> 47 <showDeprecation>true</showDeprecation> 40 48 </configuration> 41 49 </plugin> -
trunk/quest-runner/src/main/java/de/ugoe/cs/quest/ui/Runner.java
r526 r533 1 1 package de.ugoe.cs.quest.ui; 2 2 3 import java.io.File; 3 4 import java.io.IOException; 4 5 import java.util.List; … … 9 10 import joptsimple.OptionSpec; 10 11 import de.ugoe.cs.quest.log4j.Log4JLogger; 12 import de.ugoe.cs.quest.plugin.PluginLoader; 13 import de.ugoe.cs.quest.plugin.QuestPlugin; 11 14 import de.ugoe.cs.quest.ui.swt.MainWindow; 12 15 import de.ugoe.cs.util.console.CommandExecuter; … … 46 49 */ 47 50 public static void main(String[] args) { 51 48 52 CommandExecuter.getInstance().addCommandPackage( 49 53 "de.ugoe.cs.quest.ui.commands"); 50 54 CommandExecuter.getInstance().addCommandPackage( 51 55 "de.ugoe.cs.quest.ui.swt.commands"); 56 57 // The following four command packages are added automatically, once the 58 // plugin-mechanism works correctly. Hence, these calls should be 59 // removed then. 52 60 CommandExecuter.getInstance().addCommandPackage( 53 61 "de.ugoe.cs.quest.plugin.mfc.commands"); … … 58 66 CommandExecuter.getInstance().addCommandPackage( 59 67 "de.ugoe.cs.quest.plugin.jfc.commands"); 68 69 /* 70 * Code for loading plugins. Should be uncommented once the 71 * plugin-mechanism works correctly. 72 * 73 * PluginLoader pluginLoader = new PluginLoader(new File("plugins")); 74 * pluginLoader.load(); 75 * 76 * for( QuestPlugin plugin : pluginLoader.getPlugins()) { for( String 77 * commandPackage : plugin.getCommandPackages()) { 78 * CommandExecuter.getInstance().addCommandPackage(commandPackage); } } 79 */ 60 80 61 81 OptionParser parser = new OptionParser();
Note: See TracChangeset
for help on using the changeset viewer.