<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
With Tycho 0.19.0, we could fix the long-standing issue JBIDE-13869.
This will allow you to run your test with Maven against an RCP
application which is available in your filesystem.<br>
You can do it by simply running for example:<br>
$ cd tests/my.test.bundle<br>
$ mvn clean verify -Dtest.profileName=epp.package.jee
-Dtest.installPath=/home/me/eclipse-4.4.M2<br>
If test.installPath is not set, you get the default surefire
behaviour which is to generate a simple minimal installation to run
the tests in target/work.<br>
More info about the profileName can be found in
<a class="moz-txt-link-freetext" href="http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application">http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application</a>
. This works on any RCP application that relies on p2 (in case you
want to test JBoss Tools inside Websphere Studio ;).<br>
<br>
We've configured it so that by default, it is JBDS-friendly and set
the jbds profileName. So to test on JBDS, you can simply use:<br>
$ mvn clean verify
-Dtest.installPath=/home/me/jbdevstudio-8.0.0.Alpha1-SNAPSHOT/studio<br>
<br>
Except a few exception, other surefire parameters, such as the very
cool debugPort parameter, can be used together with this mechanism.<br>
<br>
Enjoy!<br>
<div class="moz-signature">-- <br>
Mickael Istria<br>
Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
by Red Hat</a><br>
<a href="http://mickaelistria.wordpress.com">My blog</a> - <a
href="http://twitter.com/mickaelistria">My Tweets</a></div>
</body>
</html>