Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] testing compilation of a generated plugin project (with swtbot and tycho)

Just to be clear, Tycho resolves correct&accurate target platform and
constructs corrects&accurate test runtime. The layout the test runtime
constructed by Tycho, although "correct" from Equinox point of view, is
incompatible with PDE and this is why tests are not able to resolve
test workspace target platform.

--
Regards,
Igor

On 12-03-12 5:32 AM, Mickael Istria wrote:
Hi,

I had the same issue with GMF Tooling, it applies to any test or code
that generates bundles inside Eclipse.
The default target platform in Eclipse looks for bundles in plugins/
folder, which is not accurate with Tycho since the bundles are resolved
from Maven repository.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=343152 and
http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00059.html and more
important, the issue in PDE:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=343156
And a workaround here:
http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.gmp/org.eclipse.gmf.tooling/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/AllTests.java?root=Modeling_Project&r1=1.104&r2=1.105

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>


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


Back to the top