Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] please test staged tycho 0.21.0

On 28/07/2014 11:07, Sievers, Jan wrote:
>> I don't understand why this is not automatically loaded since
>> the application under test is the Eclipse workbench.  
> 
> Tycho uses the transitive dependencies of the test bundle to populate the list of bundles for the test runtime.
> If you require anything at test runtime not explicitly required by those bundles, you need to give Tycho a hint.
> 
> Typically fragments are not directly required but only end up in the installation included via features being installed, so in this case e.g. adding a dependency on a feature that brings the fragment works around the problem.
> 

OK, probably now things are clearer :)

However, if I don't put org.eclipse.rcp as extra dependency the error I
get is

org.eclipse.core.runtime.CoreException: Plug-in
org.eclipse.equinox.launcher was unable to load class
org.eclipse.tycho.surefire.osgibooter.UITestApplication.

which tells me nothing about a possible solution... I was lucky enough
that I found some hints on the web, mostly this one
https://issues.jboss.org/browse/JBIDE-16161

cheers
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book




Back to the top