Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Best practice for a mixed environment

Does the problem still exist in Tycho 0.14? I believe this should be
fixed as a result of [1]

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=366318

--
Regards,
Igor

On 12-01-20 5:24 AM, Yves Langisch wrote:
Hi,

I'm having difficulties to make my headless tycho-surefire tests run on
our linux-based Jenkins server:

!SUBENTRY 1 org.eclipse.osgi 2 0 2012-01-20 10:55:51.955
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_64_3.7.1.v3738a [32] was
not resolved.
!SUBENTRY 2 org.eclipse.swt.win32.win32.x86_64 2 0 2012-01-20 10:55:51.955
!MESSAGE Platform filter did not match: (& (osgi.ws=win32)
(osgi.os=win32) (osgi.arch=x86_64))

The linux specific launcher bundles seem to be missing. But for our
customers the RCP client only needs to run on Windows boxes. That's why
my target platform configuration looks as follows:

<plugin>
<groupId>${tycho-groupId}</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
<target>
<artifact>
<groupId>ch.dummy</groupId>
<artifactId>my-client-targetplatform</artifactId>
<version>${project.version}</version>
<classifier>my-client</classifier>
</artifact>
</target>
</configuration>
</plugin>

What's the best way to make the surefire tests run on both platforms? Do
I need a second target platform or is it enough to add an new
environment entry for linux? The final product should only contain the
Windows stuff.

Thanks
Yves
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top