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

Thanks for the clarification Jan,

using integration-test phase works, but there's one thing which is not
clear: still referring to
I had added the dependencies part because
org.eclipse.osgi.compatibility.state was not found when I switched to
Luna; I thought that in 0.21 that bundle was included in tycho so there
would be no need to that dependency part anymore... however, if I remove

	<!-- These are required for Luna
		see -->

the UI tests do not work, with this exception

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

Did I miss something?

thanks in advance

On 22/07/2014 13:42, Sievers, Jan wrote:
>> am I doing anything wrong?
> I can reproduce the problem. It seems it's caused by changing the phase of tycho-surefire-plugin from "integration-test" (the default) to the (earlier) phase "test".
> If you change the phase back consistently to "integration-test", it works for me.
> Note that you will probably also need to change your surefire dependencies configuration as per [1].
> I can't tell right now whether this worked by chance before and was never officially supported - Tobias may be able to comment when he is back as I suppose this has to do with commit [2]. I opened [3] now. I don't consider this a stopper for 0.21.0.
> Anyway at least we need to clarify this in the docs, see bug [4].
> Regards,
> Jan
> [1] 
> [2] 
> [3] 
> [4] 
> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Lorenzo Bettini
> Sent: Freitag, 18. Juli 2014 19:47
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] please test staged tycho 0.21.0
> On 15/07/2014 09:27, Sievers, Jan wrote:
>> Tycho milestone release 0.21.0 has been staged. For details of new features and bugfixes, see release notes [1]. 
>> Please help by testing the staged milestone build. To use it, change your tycho version to 0.21.0 and add snippet [2] to your pom. 
>> We plan to promote this release in one week unless major regressions are found.
>> Regards,
>> Tycho team
>> [1]
>> [2]
>> <pluginRepositories>
>>  <pluginRepository>
>>   <id>tycho-staged</id>
>>   <url></url>
>>  </pluginRepository>
>> </pluginRepositories>
> In our project, tests are not working after switching to 0.21.0 when we
> have several executions, e.g.,
> This was working with 0.20.0 but with this staged version I get
> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-surefire-plugin:0.21.0:test (default-test) on
> project org.eclipse.emf.parsley.dsl.tests: Execution default-test of
> goal org.eclipse.tycho:tycho-surefire-plugin:0.21.0:test failed: Tycho
> build extension not configured for MavenProject:
> org.eclipse.emf.parsley:org.eclipse.emf.parsley.dsl.tests:0.1.1-SNAPSHOT
> @
> /home/bettini/work/emf/emf-parsley-tycho/dsl/org.eclipse.emf.parsley.dsl.tests/pom.xml
> am I doing anything wrong?

Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
Xtext Book:

Back to the top