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>
</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