Changeset 579


Ignore:
Timestamp:
08/20/12 13:52:59 (12 years ago)
Author:
pharms
Message:
  • initial support for building assemblies of quest including the plugins
Location:
trunk
Files:
7 added
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/quest-runner/pom.xml

    r535 r579  
    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> 
    8         <scm> 
    9                 <url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-runner</url> 
    10         </scm> 
    11         <dependencies> 
    12                 <dependency> 
    13                         <groupId>de.ugoe.cs</groupId> 
    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> 
    20                         <version>0.0.1-SNAPSHOT</version> 
    21                 </dependency> 
    22                 <dependency> 
    23                         <groupId>de.ugoe.cs.quest</groupId> 
    24                         <artifactId>quest-ui-core</artifactId> 
    25                         <version>0.0.1-SNAPSHOT</version> 
    26                 </dependency> 
    27                 <dependency> 
    28                         <groupId>de.ugoe.cs.quest</groupId> 
    29                         <artifactId>quest-ui-swt</artifactId> 
    30                         <version>0.0.1-SNAPSHOT</version> 
    31                 </dependency> 
    32                 <dependency> 
    33                         <groupId>net.sf.jopt-simple</groupId> 
    34                         <artifactId>jopt-simple</artifactId> 
    35                         <version>4.3</version> 
    36                 </dependency> 
    37         </dependencies> 
    38         <build> 
    39                 <plugins> 
    40                         <plugin> 
    41                                 <artifactId>maven-compiler-plugin</artifactId> 
    42                                 <version>2.3.2</version> 
    43                                 <configuration> 
    44                                         <source>1.6</source> 
    45                                         <target>1.6</target> 
    46                                         <compilerArgument>-Xlint:all</compilerArgument> 
    47                                         <showWarnings>true</showWarnings> 
    48                                         <showDeprecation>true</showDeprecation> 
    49                                 </configuration> 
    50                         </plugin> 
    51                 </plugins> 
    52         </build> 
     1<project 
     2  xmlns="http://maven.apache.org/POM/4.0.0" 
     3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 
     5> 
     6  <modelVersion>4.0.0</modelVersion> 
     7  <groupId>de.ugoe.cs.quest</groupId> 
     8  <artifactId>quest-runner</artifactId> 
     9  <version>0.0.1-SNAPSHOT</version> 
     10  <name>quest-runner</name> 
     11  <scm> 
     12    <url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-runner</url> 
     13  </scm> 
     14  <dependencies> 
     15    <dependency> 
     16      <groupId>de.ugoe.cs</groupId> 
     17      <artifactId>java-utils</artifactId> 
     18      <version>0.0.1-SNAPSHOT</version> 
     19    </dependency> 
     20    <dependency> 
     21      <groupId>de.ugoe.cs.quest</groupId> 
     22      <artifactId>quest-plugin-core</artifactId> 
     23      <version>0.0.1-SNAPSHOT</version> 
     24    </dependency> 
     25    <dependency> 
     26      <groupId>de.ugoe.cs.quest</groupId> 
     27      <artifactId>quest-ui-core</artifactId> 
     28      <version>0.0.1-SNAPSHOT</version> 
     29    </dependency> 
     30    <dependency> 
     31      <groupId>de.ugoe.cs.quest</groupId> 
     32      <artifactId>quest-ui-swt</artifactId> 
     33      <version>0.0.1-SNAPSHOT</version> 
     34    </dependency> 
     35    <dependency> 
     36      <groupId>net.sf.jopt-simple</groupId> 
     37      <artifactId>jopt-simple</artifactId> 
     38      <version>4.3</version> 
     39    </dependency> 
     40  </dependencies> 
     41  <build> 
     42    <pluginManagement> 
     43      <plugins> 
     44        <plugin> 
     45          <groupId>org.eclipse.m2e</groupId> 
     46          <artifactId>lifecycle-mapping</artifactId> 
     47          <version>1.0.0</version> 
     48          <configuration> 
     49            <lifecycleMappingMetadata> 
     50              <pluginExecutions> 
     51                <pluginExecution> 
     52                  <pluginExecutionFilter> 
     53                    <groupId>org.apache.maven.plugins</groupId> 
     54                    <artifactId>maven-dependency-plugin</artifactId> 
     55                    <versionRange>[1.0.0,)</versionRange> 
     56                    <goals> 
     57                      <goal>get</goal> 
     58                    </goals> 
     59                  </pluginExecutionFilter> 
     60                  <action> 
     61                    <ignore /> 
     62                  </action> 
     63                </pluginExecution> 
     64                <pluginExecution> 
     65                  <pluginExecutionFilter> 
     66                    <groupId>org.apache.maven.plugins</groupId> 
     67                    <artifactId>maven-dependency-plugin</artifactId> 
     68                    <versionRange>[1.0.0,)</versionRange> 
     69                    <goals> 
     70                      <goal>unpack</goal> 
     71                    </goals> 
     72                  </pluginExecutionFilter> 
     73                  <action> 
     74                    <ignore /> 
     75                  </action> 
     76                </pluginExecution> 
     77              </pluginExecutions> 
     78            </lifecycleMappingMetadata> 
     79          </configuration> 
     80        </plugin> 
     81      </plugins> 
     82    </pluginManagement> 
     83    <plugins> 
     84      <plugin> 
     85        <groupId>org.apache.maven.plugins</groupId> 
     86        <artifactId>maven-compiler-plugin</artifactId> 
     87        <version>2.5.1</version> 
     88        <configuration> 
     89          <source>1.6</source> 
     90          <target>1.6</target> 
     91          <compilerArgument>-Xlint:all</compilerArgument> 
     92          <showDeprecation>true</showDeprecation> 
     93          <showWarnings>true</showWarnings> 
     94        </configuration> 
     95      </plugin> 
     96      <plugin> 
     97        <groupId>org.apache.maven.plugins</groupId> 
     98        <artifactId>maven-jar-plugin</artifactId> 
     99        <configuration> 
     100          <archive> 
     101            <manifest> 
     102              <addClasspath>true</addClasspath> 
     103              <classpathPrefix>lib/</classpathPrefix> 
     104              <mainClass>de.ugoe.cs.quest.ui.Runner</mainClass> 
     105            </manifest> 
     106          </archive> 
     107        </configuration> 
     108      </plugin> 
     109      <plugin> 
     110        <groupId>org.apache.maven.plugins</groupId> 
     111        <artifactId>maven-dependency-plugin</artifactId> 
     112        <version>2.4</version> 
     113        <executions> 
     114          <execution> 
     115            <id>get-ui-core-config</id> 
     116            <phase>process-classes</phase> 
     117            <goals> 
     118              <goal>unpack</goal> 
     119            </goals> 
     120            <configuration> 
     121              <artifactItems> 
     122                <artifactItem> 
     123                  <groupId>de.ugoe.cs.quest</groupId> 
     124                  <artifactId>quest-ui-core</artifactId> 
     125                  <version>0.0.1-SNAPSHOT</version> 
     126                  <classifier>config</classifier> 
     127                  <type>zip</type> 
     128                  <outputDirectory>${project.build.directory}/data</outputDirectory> 
     129                </artifactItem> 
     130              </artifactItems> 
     131            </configuration> 
     132          </execution> 
     133          <execution> 
     134            <id>get-guitar-plugin</id> 
     135            <phase>process-classes</phase> 
     136            <goals> 
     137              <goal>get</goal> 
     138            </goals> 
     139            <configuration> 
     140              <groupId>de.ugoe.cs.quest</groupId> 
     141              <artifactId>quest-plugin-guitar</artifactId> 
     142              <version>0.0.1-SNAPSHOT</version> 
     143              <destination>${project.build.directory}/plugins/quest-plugin-guitar.jar</destination> 
     144            </configuration> 
     145          </execution> 
     146          <execution> 
     147            <id>get-jfc-plugin</id> 
     148            <phase>process-classes</phase> 
     149            <goals> 
     150              <goal>get</goal> 
     151            </goals> 
     152            <configuration> 
     153              <groupId>de.ugoe.cs.quest</groupId> 
     154              <artifactId>quest-plugin-jfc</artifactId> 
     155              <version>0.0.1-SNAPSHOT</version> 
     156              <destination>${project.build.directory}/plugins/quest-plugin-jfc.jar</destination> 
     157            </configuration> 
     158          </execution> 
     159          <execution> 
     160            <id>get-mfc-plugin</id> 
     161            <phase>process-classes</phase> 
     162            <goals> 
     163              <goal>get</goal> 
     164            </goals> 
     165            <configuration> 
     166              <groupId>de.ugoe.cs.quest</groupId> 
     167              <artifactId>quest-plugin-mfc</artifactId> 
     168              <version>0.0.1-SNAPSHOT</version> 
     169              <destination>${project.build.directory}/plugins/quest-plugin-mfc.jar</destination> 
     170            </configuration> 
     171          </execution> 
     172          <execution> 
     173            <id>get-php-plugin</id> 
     174            <phase>process-classes</phase> 
     175            <goals> 
     176              <goal>get</goal> 
     177            </goals> 
     178            <configuration> 
     179              <groupId>de.ugoe.cs.quest</groupId> 
     180              <artifactId>quest-plugin-php</artifactId> 
     181              <version>0.0.1-SNAPSHOT</version> 
     182              <destination>${project.build.directory}/plugins/quest-plugin-php.jar</destination> 
     183            </configuration> 
     184          </execution> 
     185        </executions> 
     186      </plugin> 
     187      <plugin> 
     188        <artifactId>maven-assembly-plugin</artifactId> 
     189        <version>2.2-beta-2</version> 
     190        <configuration> 
     191          <descriptors> 
     192            <descriptor>src/main/assembly/bin.xml</descriptor> 
     193          </descriptors> 
     194        </configuration> 
     195        <executions> 
     196          <execution> 
     197            <id>make-assembly</id> 
     198            <phase>package</phase> 
     199            <goals> 
     200              <goal>single</goal> 
     201            </goals> 
     202          </execution> 
     203        </executions> 
     204      </plugin> 
     205    </plugins> 
     206  </build> 
    53207</project> 
  • trunk/quest-runner/src/main/java/de/ugoe/cs/quest/ui/Runner.java

    r536 r579  
    7171                        int j; 
    7272                } 
     73                 
     74                new java.util.Date().getDate(); 
    7375 
    7476                /* 
  • trunk/quest-ui-core/pom.xml

    r527 r579  
    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-ui-core</artifactId> 
    6         <version>0.0.1-SNAPSHOT</version> 
    7         <name>quest-ui-core</name> 
    8         <scm> 
    9                 <url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-ui-core</url> 
    10         </scm> 
    11         <repositories> 
    12                 <repository> 
    13                         <id>quest-repo</id> 
    14                         <url>https://trex.informatik.uni-goettingen.de/nexus/content/repositories/thirdparty</url> 
    15                 </repository> 
    16         </repositories> 
    17         <dependencies> 
    18                 <dependency> 
    19                         <groupId>de.ugoe.cs</groupId> 
    20                         <artifactId>java-utils</artifactId> 
    21                         <version>0.0.1-SNAPSHOT</version> 
    22                 </dependency> 
    23                 <dependency> 
    24                         <groupId>de.ugoe.cs.quest</groupId> 
    25                         <artifactId>quest-core-events</artifactId> 
    26                         <version>0.0.1-SNAPSHOT</version> 
    27                 </dependency> 
    28                 <dependency> 
    29                         <groupId>de.ugoe.cs.quest</groupId> 
    30                         <artifactId>quest-core-usageprofiles</artifactId> 
    31                         <version>0.0.1-SNAPSHOT</version> 
    32                 </dependency> 
    33                 <dependency> 
    34                         <groupId>de.ugoe.cs.quest</groupId> 
    35                         <artifactId>quest-core-coverage</artifactId> 
    36                         <version>0.0.1-SNAPSHOT</version> 
    37                 </dependency> 
    38                 <dependency> 
    39                         <groupId>de.ugoe.cs.quest</groupId> 
    40                         <artifactId>quest-core-assertions</artifactId> 
    41                         <version>0.0.1-SNAPSHOT</version> 
    42                 </dependency> 
    43                 <dependency> 
    44                         <groupId>de.ugoe.cs.quest</groupId> 
    45                         <artifactId>quest-core-testgeneration</artifactId> 
    46                         <version>0.0.1-SNAPSHOT</version> 
    47                 </dependency> 
    48                 <dependency> 
    49                         <groupId>net.sf.jung</groupId> 
    50                         <artifactId>jung-visualization</artifactId> 
    51                         <version>2.0.1</version> 
    52                 </dependency> 
    53                 <dependency> 
    54                         <groupId>net.sf.jung</groupId> 
    55                         <artifactId>jung-graph-impl</artifactId> 
    56                         <version>2.0.1</version> 
    57                 </dependency> 
    58                 <dependency> 
    59                         <groupId>log4j</groupId> 
    60                         <artifactId>log4j</artifactId> 
    61                         <version>1.2.17</version> 
    62                 </dependency> 
    63                 <dependency> 
    64                         <groupId>commons-codec</groupId> 
    65                         <artifactId>commons-codec</artifactId> 
    66                         <version>1.6</version> 
    67                 </dependency> 
    68                 <dependency> 
    69                         <groupId>jdom</groupId> 
    70                         <artifactId>jdom</artifactId> 
    71                         <version>1.1</version> 
    72                 </dependency> 
    73                 <dependency> 
    74                         <groupId>edu.umd.cs</groupId> 
    75                         <artifactId>guitar-model-core</artifactId> 
    76                         <version>1.0</version> 
    77                 </dependency> 
    78         </dependencies> 
    79         <build> 
    80                 <plugins> 
    81                         <plugin> 
    82                                 <artifactId>maven-compiler-plugin</artifactId> 
    83                                 <version>2.3.2</version> 
    84                                 <configuration> 
    85                                         <source>1.6</source> 
    86                                         <target>1.6</target> 
    87                                 </configuration> 
    88                         </plugin> 
    89                 </plugins> 
    90         </build> 
     1<project 
     2  xmlns="http://maven.apache.org/POM/4.0.0" 
     3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     4  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" 
     5> 
     6  <modelVersion>4.0.0</modelVersion> 
     7  <groupId>de.ugoe.cs.quest</groupId> 
     8  <artifactId>quest-ui-core</artifactId> 
     9  <version>0.0.1-SNAPSHOT</version> 
     10  <name>quest-ui-core</name> 
     11  <scm> 
     12    <url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-ui-core</url> 
     13  </scm> 
     14  <repositories> 
     15    <repository> 
     16      <id>quest-repo</id> 
     17      <url>https://trex.informatik.uni-goettingen.de/nexus/content/repositories/thirdparty</url> 
     18    </repository> 
     19  </repositories> 
     20  <dependencies> 
     21    <dependency> 
     22      <groupId>de.ugoe.cs</groupId> 
     23      <artifactId>java-utils</artifactId> 
     24      <version>0.0.1-SNAPSHOT</version> 
     25    </dependency> 
     26    <dependency> 
     27      <groupId>de.ugoe.cs.quest</groupId> 
     28      <artifactId>quest-core-events</artifactId> 
     29      <version>0.0.1-SNAPSHOT</version> 
     30    </dependency> 
     31    <dependency> 
     32      <groupId>de.ugoe.cs.quest</groupId> 
     33      <artifactId>quest-core-usageprofiles</artifactId> 
     34      <version>0.0.1-SNAPSHOT</version> 
     35    </dependency> 
     36    <dependency> 
     37      <groupId>de.ugoe.cs.quest</groupId> 
     38      <artifactId>quest-core-coverage</artifactId> 
     39      <version>0.0.1-SNAPSHOT</version> 
     40    </dependency> 
     41    <dependency> 
     42      <groupId>de.ugoe.cs.quest</groupId> 
     43      <artifactId>quest-core-assertions</artifactId> 
     44      <version>0.0.1-SNAPSHOT</version> 
     45    </dependency> 
     46    <dependency> 
     47      <groupId>de.ugoe.cs.quest</groupId> 
     48      <artifactId>quest-core-testgeneration</artifactId> 
     49      <version>0.0.1-SNAPSHOT</version> 
     50    </dependency> 
     51    <dependency> 
     52      <groupId>net.sf.jung</groupId> 
     53      <artifactId>jung-visualization</artifactId> 
     54      <version>2.0.1</version> 
     55    </dependency> 
     56    <dependency> 
     57      <groupId>net.sf.jung</groupId> 
     58      <artifactId>jung-graph-impl</artifactId> 
     59      <version>2.0.1</version> 
     60    </dependency> 
     61    <dependency> 
     62      <groupId>log4j</groupId> 
     63      <artifactId>log4j</artifactId> 
     64      <version>1.2.17</version> 
     65    </dependency> 
     66    <dependency> 
     67      <groupId>commons-codec</groupId> 
     68      <artifactId>commons-codec</artifactId> 
     69      <version>1.6</version> 
     70    </dependency> 
     71    <dependency> 
     72      <groupId>jdom</groupId> 
     73      <artifactId>jdom</artifactId> 
     74      <version>1.1</version> 
     75    </dependency> 
     76    <dependency> 
     77      <groupId>edu.umd.cs</groupId> 
     78      <artifactId>guitar-model-core</artifactId> 
     79      <version>1.0</version> 
     80    </dependency> 
     81  </dependencies> 
     82  <build> 
     83    <plugins> 
     84      <plugin> 
     85        <artifactId>maven-compiler-plugin</artifactId> 
     86        <version>2.3.2</version> 
     87        <configuration> 
     88          <source>1.6</source> 
     89          <target>1.6</target> 
     90        </configuration> 
     91      </plugin> 
     92      <plugin> 
     93        <artifactId>maven-assembly-plugin</artifactId> 
     94        <version>2.2-beta-2</version> 
     95        <configuration> 
     96          <descriptors> 
     97            <descriptor>src/main/assembly/config.xml</descriptor> 
     98          </descriptors> 
     99        </configuration> 
     100        <executions> 
     101          <execution> 
     102            <id>make-assembly</id> 
     103            <phase>package</phase> 
     104            <goals> 
     105              <goal>single</goal> 
     106            </goals> 
     107          </execution> 
     108        </executions> 
     109      </plugin> 
     110    </plugins> 
     111  </build> 
    91112</project> 
  • trunk/quest-ui-core/src/main/java/de/ugoe/cs/quest/log4j/Log4JLogger.java

    r432 r579  
    3535         */ 
    3636        public Log4JLogger() { 
    37                 PropertyConfigurator.configure("misc/log4j.properties"); 
     37                PropertyConfigurator.configure("data/log4j.properties"); 
    3838                logger = Logger.getLogger("de.ugoe.cs.quest"); 
    3939                Console.getInstance().registerErrorListener(this); 
Note: See TracChangeset for help on using the changeset viewer.