Changeset 981
- Timestamp:
- 11/12/12 15:16:00 (12 years ago)
- Location:
- trunk/autoquest-runner
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-runner/bin/run.sh
r579 r981 1 1 #!/bin/sh 2 2 3 HOME_DIR=`dirname $0` 3 HOME_DIR=`dirname $0`/.. 4 4 5 5 # Given the "java" executable as an argument, find JAVA_HOME … … 98 98 cd ${HOME_DIR} 99 99 100 JAR_FILE=`find . -type f -name ' quest-runner-*.jar'`100 JAR_FILE=`find . -type f -name 'autoquest-runner-*.jar'` 101 101 102 102 if [ ! -f "$JAR_FILE" ] ; then -
trunk/autoquest-runner/pom.xml
r956 r981 1 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"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 5 > 6 <parent> 7 <groupId>de.ugoe.cs.autoquest</groupId> 8 <artifactId>autoquest</artifactId> 9 <version>0.0.1-SNAPSHOT</version> 10 </parent> 11 <modelVersion>4.0.0</modelVersion> 12 <artifactId>autoquest-runner</artifactId> 13 <name>autoquest-runner</name> 14 <licenses> 15 <license> 16 <name>The Apache Software License, Version 2.0</name> 17 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 18 </license> 19 </licenses> 20 <scm> 21 <url>${autoquest-scm-trunk-dir}/autoquest-runner</url> 22 </scm> 23 <dependencies> 24 <dependency> 25 <groupId>de.ugoe.cs</groupId> 26 <artifactId>java-utils</artifactId> 27 <version>0.0.1-SNAPSHOT</version> 28 </dependency> 29 <dependency> 30 <groupId>de.ugoe.cs.autoquest</groupId> 31 <artifactId>autoquest-plugin-core</artifactId> 32 <version>${project.parent.version}</version> 33 </dependency> 34 <dependency> 35 <groupId>de.ugoe.cs.autoquest</groupId> 36 <artifactId>autoquest-ui-core</artifactId> 37 <version>${project.parent.version}</version> 38 </dependency> 39 <dependency> 40 <groupId>de.ugoe.cs.autoquest</groupId> 41 <artifactId>autoquest-ui-swt</artifactId> 42 <version>${project.parent.version}</version> 43 </dependency> 44 <dependency> 45 <groupId>net.sf.jopt-simple</groupId> 46 <artifactId>jopt-simple</artifactId> 47 <version>4.3</version> 48 </dependency> 49 <dependency> 50 <groupId>de.ugoe.cs.autoquest</groupId> 51 <artifactId>autoquest-plugin-guitar</artifactId> 52 <version>${project.parent.version}</version> 53 </dependency> 54 <dependency> 55 <groupId>de.ugoe.cs.autoquest</groupId> 56 <artifactId>autoquest-plugin-jfc</artifactId> 57 <version>${project.parent.version}</version> 58 </dependency> 59 <dependency> 60 <groupId>de.ugoe.cs.autoquest</groupId> 61 <artifactId>autoquest-plugin-mfc</artifactId> 62 <version>${project.parent.version}</version> 63 </dependency> 64 <dependency> 65 <groupId>de.ugoe.cs.autoquest</groupId> 66 <artifactId>autoquest-plugin-php</artifactId> 67 <version>${project.parent.version}</version> 68 </dependency> 69 <dependency> 70 <groupId>de.ugoe.cs.autoquest</groupId> 71 <artifactId>autoquest-plugin-html</artifactId> 72 <version>${project.parent.version}</version> 73 </dependency> 74 <dependency> 75 <groupId>log4j</groupId> 76 <artifactId>log4j</artifactId> 77 <version>1.2.17</version> 78 </dependency> 79 </dependencies> 80 <build> 81 <pluginManagement> 82 <plugins> 83 <plugin> 84 <groupId>org.eclipse.m2e</groupId> 85 <artifactId>lifecycle-mapping</artifactId> 86 <version>1.0.0</version> 87 <configuration> 88 <lifecycleMappingMetadata> 89 <pluginExecutions> 90 <pluginExecution> 91 <pluginExecutionFilter> 92 <groupId>org.apache.maven.plugins</groupId> 93 <artifactId>maven-dependency-plugin</artifactId> 94 <versionRange>[1.0.0,)</versionRange> 95 <goals> 96 <goal>get</goal> 97 </goals> 98 </pluginExecutionFilter> 99 <action> 100 <ignore /> 101 </action> 102 </pluginExecution> 103 <pluginExecution> 104 <pluginExecutionFilter> 105 <groupId>org.apache.maven.plugins</groupId> 106 <artifactId>maven-dependency-plugin</artifactId> 107 <versionRange>[1.0.0,)</versionRange> 108 <goals> 109 <goal>unpack</goal> 110 </goals> 111 </pluginExecutionFilter> 112 <action> 113 <ignore /> 114 </action> 115 </pluginExecution> 116 </pluginExecutions> 117 </lifecycleMappingMetadata> 118 </configuration> 119 </plugin> 120 </plugins> 121 </pluginManagement> 122 <plugins> 123 <plugin> 124 <groupId>org.apache.maven.plugins</groupId> 125 <artifactId>maven-jar-plugin</artifactId> 126 <configuration> 127 <archive> 128 <manifest> 129 <addClasspath>true</addClasspath> 130 <classpathPrefix>lib/</classpathPrefix> 131 <mainClass>de.ugoe.cs.autoquest.ui.Runner</mainClass> 132 </manifest> 133 </archive> 134 </configuration> 135 </plugin> 136 <plugin> 137 <groupId>org.apache.maven.plugins</groupId> 138 <artifactId>maven-dependency-plugin</artifactId> 139 <version>2.4</version> 140 <executions> 141 <execution> 142 <id>get-jfc-plugin-config</id> 143 <phase>process-classes</phase> 144 <goals> 145 <goal>unpack</goal> 146 </goals> 147 <configuration> 148 <artifactItems> 149 <artifactItem> 150 <groupId>de.ugoe.cs.autoquest</groupId> 151 <artifactId>autoquest-plugin-jfc</artifactId> 152 <version>${project.parent.version}</version> 153 <classifier>config</classifier> 154 <type>zip</type> 155 <outputDirectory>${project.build.directory}/data</outputDirectory> 156 </artifactItem> 157 </artifactItems> 158 </configuration> 159 </execution> 160 <execution> 161 <id>get-mfc-plugin-config</id> 162 <phase>process-classes</phase> 163 <goals> 164 <goal>unpack</goal> 165 </goals> 166 <configuration> 167 <artifactItems> 168 <artifactItem> 169 <groupId>de.ugoe.cs.autoquest</groupId> 170 <artifactId>autoquest-plugin-mfc</artifactId> 171 <version>${project.parent.version}</version> 172 <classifier>config</classifier> 173 <type>zip</type> 174 <outputDirectory>${project.build.directory}/data</outputDirectory> 175 </artifactItem> 176 </artifactItems> 177 </configuration> 178 </execution> 179 <execution> 180 <id>get-php-plugin-config</id> 181 <phase>process-classes</phase> 182 <goals> 183 <goal>unpack</goal> 184 </goals> 185 <configuration> 186 <artifactItems> 187 <artifactItem> 188 <groupId>de.ugoe.cs.autoquest</groupId> 189 <artifactId>autoquest-plugin-php</artifactId> 190 <version>${project.parent.version}</version> 191 <classifier>config</classifier> 192 <type>zip</type> 193 <outputDirectory>${project.build.directory}/data</outputDirectory> 194 </artifactItem> 195 </artifactItems> 196 </configuration> 197 </execution> 198 <execution> 199 <id>get-html-plugin-config</id> 200 <phase>process-classes</phase> 201 <goals> 202 <goal>unpack</goal> 203 </goals> 204 <configuration> 205 <artifactItems> 206 <artifactItem> 207 <groupId>de.ugoe.cs.autoquest</groupId> 208 <artifactId>autoquest-plugin-html</artifactId> 209 <version>${project.parent.version}</version> 210 <classifier>config</classifier> 211 <type>zip</type> 212 <outputDirectory>${project.build.directory}/data</outputDirectory> 213 </artifactItem> 214 </artifactItems> 215 </configuration> 216 </execution> 217 </executions> 218 </plugin> 219 <plugin> 220 <artifactId>maven-assembly-plugin</artifactId> 221 <version>2.2-beta-2</version> 222 <configuration> 223 <descriptors> 224 <descriptor>src/main/assembly/bin.xml</descriptor> 225 </descriptors> 226 </configuration> 227 <executions> 228 <execution> 229 <id>make-assembly</id> 230 <phase>package</phase> 231 <goals> 232 <goal>single</goal> 233 </goals> 234 </execution> 235 </executions> 236 </plugin> 237 </plugins> 238 </build> 6 <parent> 7 <groupId>de.ugoe.cs.autoquest</groupId> 8 <artifactId>autoquest</artifactId> 9 <version>0.0.1-SNAPSHOT</version> 10 </parent> 11 <modelVersion>4.0.0</modelVersion> 12 <artifactId>autoquest-runner</artifactId> 13 <name>autoquest-runner</name> 14 <licenses> 15 <license> 16 <name>The Apache Software License, Version 2.0</name> 17 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 18 </license> 19 </licenses> 20 <scm> 21 <url>${autoquest-scm-trunk-dir}/autoquest-runner</url> 22 </scm> 23 <dependencies> 24 <dependency> 25 <groupId>de.ugoe.cs</groupId> 26 <artifactId>java-utils</artifactId> 27 <version>0.0.1-SNAPSHOT</version> 28 </dependency> 29 <dependency> 30 <groupId>de.ugoe.cs.autoquest</groupId> 31 <artifactId>autoquest-plugin-core</artifactId> 32 <version>${project.parent.version}</version> 33 </dependency> 34 <dependency> 35 <groupId>de.ugoe.cs.autoquest</groupId> 36 <artifactId>autoquest-ui-core</artifactId> 37 <version>${project.parent.version}</version> 38 </dependency> 39 <dependency> 40 <groupId>de.ugoe.cs.autoquest</groupId> 41 <artifactId>autoquest-ui-swt</artifactId> 42 <version>${project.parent.version}</version> 43 </dependency> 44 <dependency> 45 <groupId>net.sf.jopt-simple</groupId> 46 <artifactId>jopt-simple</artifactId> 47 <version>4.3</version> 48 </dependency> 49 <dependency> 50 <groupId>log4j</groupId> 51 <artifactId>log4j</artifactId> 52 <version>1.2.17</version> 53 </dependency> 54 </dependencies> 55 <build> 56 <plugins> 57 <plugin> 58 <groupId>org.apache.maven.plugins</groupId> 59 <artifactId>maven-jar-plugin</artifactId> 60 <configuration> 61 <archive> 62 <manifest> 63 <addClasspath>true</addClasspath> 64 <classpathPrefix>lib/</classpathPrefix> 65 <mainClass>de.ugoe.cs.autoquest.ui.Runner</mainClass> 66 </manifest> 67 </archive> 68 </configuration> 69 </plugin> 70 <plugin> 71 <artifactId>maven-assembly-plugin</artifactId> 72 <version>2.2-beta-2</version> 73 <configuration> 74 <descriptors> 75 <descriptor>src/main/assembly/bin.xml</descriptor> 76 </descriptors> 77 </configuration> 78 <executions> 79 <execution> 80 <id>make-assembly</id> 81 <phase>package</phase> 82 <goals> 83 <goal>single</goal> 84 </goals> 85 </execution> 86 </executions> 87 </plugin> 88 </plugins> 89 </build> 239 90 </project> -
trunk/autoquest-runner/src/main/assembly/bin.xml
r925 r981 5 5 <id>bin</id> 6 6 <formats> 7 <format>tar.gz</format> 8 <format>dir</format> 9 <!-- format>tar.bz2</format> 10 <format>zip</format--> 7 <format>zip</format> 11 8 </formats> 12 <dependencySets> 13 <dependencySet> 14 <includes></includes> 15 <excludes> 16 <exclude>de.ugoe.cs.autoquest:autoquest-runner</exclude> 17 </excludes> 18 <outputDirectory>lib</outputDirectory> 19 </dependencySet> 20 <dependencySet> 21 <includes> 22 <include>de.ugoe.cs.autoquest:autoquest-runner</include> 23 </includes> 24 <outputDirectory></outputDirectory> 25 </dependencySet> 26 </dependencySets> 9 <includeBaseDirectory>false</includeBaseDirectory> 27 10 <fileSets> 28 11 <fileSet> … … 34 17 </includes> 35 18 </fileSet> 36 <!-- <fileSet>37 <directory>target/plugins</directory>38 <outputDirectory>plugins</outputDirectory>39 <includes>40 <include>*.jar</include>41 </includes>42 </fileSet>-->43 <fileSet>44 <directory>target/data</directory>45 <outputDirectory>data</outputDirectory>46 <excludes>47 <exclude>META-INF/**</exclude>48 </excludes>49 </fileSet>50 19 </fileSets> 51 20 </assembly>
Note: See TracChangeset
for help on using the changeset viewer.