Skip to content

Commit 0cbab6c

Browse files
qtranlaeubi
authored andcommitted
Added test product with -configuration program args
1 parent 648f5dd commit 0cbab6c

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>tycho-its-project.product.programArgs</groupId>
7+
<artifactId>ppa.product</artifactId>
8+
<version>1.0.0-SNAPSHOT</version>
9+
<packaging>eclipse-repository</packaging>
10+
11+
<properties>
12+
<target-platform>http://download.eclipse.org/releases/latest</target-platform>
13+
</properties>
14+
15+
<repositories>
16+
<repository>
17+
<id>e342</id>
18+
<layout>p2</layout>
19+
<url>${target-platform}</url>
20+
</repository>
21+
</repositories>
22+
23+
<build>
24+
<plugins>
25+
<plugin>
26+
<groupId>org.eclipse.tycho</groupId>
27+
<artifactId>tycho-maven-plugin</artifactId>
28+
<version>${tycho-version}</version>
29+
<extensions>true</extensions>
30+
</plugin>
31+
32+
<plugin>
33+
<groupId>org.eclipse.tycho</groupId>
34+
<artifactId>target-platform-configuration</artifactId>
35+
<version>${tycho-version}</version>
36+
<configuration>
37+
<environments>
38+
<environment>
39+
<os>win32</os>
40+
<ws>win32</ws>
41+
<arch>x86</arch>
42+
</environment>
43+
</environments>
44+
</configuration>
45+
</plugin>
46+
47+
<plugin>
48+
<groupId>org.eclipse.tycho</groupId>
49+
<artifactId>tycho-p2-director-plugin</artifactId>
50+
<version>${tycho-version}</version>
51+
<executions>
52+
<execution>
53+
<id>materialize-products</id>
54+
<goals>
55+
<goal>materialize-products</goal>
56+
</goals>
57+
</execution>
58+
<execution>
59+
<id>archive-products</id>
60+
<goals>
61+
<goal>archive-products</goal>
62+
</goals>
63+
</execution>
64+
</executions>
65+
</plugin>
66+
</plugins>
67+
</build>
68+
69+
</project>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?pde version="3.5"?>
3+
4+
<product uid="ppa.product" id="product" application="application" version="1.0.0.qualifier" useFeatures="false" includeLaunchers="false">
5+
6+
<launcherArgs>
7+
<programArgs>-blah1 -blah2 -configuration @user.dir/configuration
8+
</programArgs>
9+
</launcherArgs>
10+
11+
<plugins>
12+
<plugin id="org.eclipse.osgi"/>
13+
</plugins>
14+
15+
</product>

0 commit comments

Comments
 (0)