Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-eclipserun v0.20.0 versus v0.18.1

Yup, the mixed tycho versions setup was the cause. Thanks for the heads up Jan!

 

Thanks,

Johnny

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: May-09-14 3:18 AM
To: Tycho user list
Subject: Re: [tycho-user] tycho-eclipserun v0.20.0 versus v0.18.1

 

might be a mixed tycho version setup.

we validate this before the build starts for the known tycho plugins but we may have missed one of those in the validation.

 

make sure all tycho plugins configured in the reactor use the same tycho version (use m2e "effective pom" tab or mvn help:effective-pom )

 

Regards

Jan

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Johnny Mongiat
Sent: Donnerstag, 8. Mai 2014 18:25
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] tycho-eclipserun v0.20.0 versus v0.18.1

 

Hello,

 

I’m trying to make use of the tycho-eclipserun plugin (v0.20.0); however, whenever I execute my build I get the following error:

 

[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.20.0:eclipse-run (unpatch-upgrade-repository) on project mf-workbench-client-upgrade-repository: Execution unpatch-upgrade-repository of goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.20.0:eclipse-run failed: A required class was missing while executing org.eclipse.tycho.extras:tycho-eclipserun-plugin:0.20.0:eclipse-run: org/eclipse/tycho/p2/target/facade/TargetPlatformConfigurationStub

 

Now if execute the same build, but this time downgrade to v0.18.1 of the tycho-eclipserun plugin, then the build completes successfully. Am I missing something in my configuration?

 

My configuration is as follows:

 

<plugin>

        <groupId>org.eclipse.tycho.extras</groupId>

        <artifactId>tycho-eclipserun-plugin</artifactId>

        <version>0.20.0</version>

        <executions>

                <execution>

                        <id>unpatch-upgrade-repository</id>

                        <phase>package</phase>

                        <goals>

                                <goal>eclipse-run</goal>

                        </goals>

                        <configuration>

                                <repositories>

                                        <repository>

                                                <id>juno</id>

                                                <layout>p2</layout>

                                                <url>http://download.eclipse.org/releases/juno</url>

                                        </repository>

                                </repositories>

                                <appArgLine>-consoleLog -application org.eclipse.ant.core.antRunner -nosplash -buildfile unpatchUpgradeRepo.xml</appArgLine>

                                <dependencies>

                                        <dependency>

                                                <artifactId>org.apache.ant</artifactId>

                                                <type>eclipse-plugin</type>

                                        </dependency>

                                        <dependency>

                                                <artifactId>org.eclipse.ant.core</artifactId>

                                                <type>eclipse-plugin</type>

                                        </dependency>

                                        <dependency>

                                                <artifactId>org.eclipse.equinox.p2.core.feature</artifactId>

                                                <type>eclipse-feature</type>

                                        </dependency>

                                        <dependency>

                                                <artifactId>org.eclipse.equinox.p2.extras.feature</artifactId>

                                                <type>eclipse-feature</type>

                                        </dependency>

                                        <dependency>

                                                <artifactId>org.eclipse.equinox.ds</artifactId>

                                                <type>eclipse-plugin</type>

                                        </dependency>

                                </dependencies>

                        </configuration>

                </execution>

        </executions>

</plugin>

 

Thanks,

Johnny

 

 

 


Back to the top