Neon and 2.4.0 site target linux 64 bit problem [message #1737118] |
Tue, 05 July 2016 20:52 |
John Bodkin Messages: 39 Registered: November 2011 |
Member |
|
|
I was working with e(fx)clipse 2.3.0 and Mars 4.5.2 with no issues. I moved to 2.4.0 and 4.6.0 today. I mirrored the targets. The runnable target works fine but when I run the Maven-Tycho build (which depends on the p2 site target) it states:
Missing requirement: toolingorg.eclipse.equinox.launcher.gtk.linux.x86_64 1.1.400.v20160518-1444 requires 'bundle org.eclipse.equinox.launcher.gtk.linux.x86_64 1.1.400.v20160518-1444' but it could not be found
Notice the blank space between x86_64 and 1.1.400. The jar for this platform executable is present except it has an underscore where the blank space currently is. I tried renaming the bundle so it has the space but the same error message is produced. I renamed it again to its original name.
I took linux gtk x86_64 out of the build and left the linux gtk x86 and the win32 win32 x86_64 environments in the build. The build completes successfully and the zip files have executables that launch.
I also tried this using the remote site (instead of a local mirror) but I get :
Missing requirement: toolingwin32.win32.x86_64org.eclipse.core.runtime 1.0.0 requires 'bundle org.eclipse.core.runtime 3.12.0.v20160606-1342' but it could not be found
Here is my config pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>my.group.id</groupId>
<artifactId>my.group.id.artifact.id</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho.version>0.25.0</tycho.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- <efxclipse.target>file:/${git.repo}/TEX/build-site-target/efxclipse-2.4.0/</efxclipse.target> -->
<!-- <eclipse.target>file:/${git.repo}/TEX/build-site-target/eclipse-4.6.0/</eclipse.target> -->
<efxclipse.target>http://download.eclipse.org/efxclipse/runtime-released/2.4.0/site/</efxclipse.target>
<eclipse.target>http://download.eclipse.org/releases/neon</eclipse.target>
</properties>
<repositories>
<repository>
<id>eclipse 4.6.0</id>
<url>${eclipse.target}</url>
<layout>p2</layout>
</repository>
<repository>
<id>e(fx)clipse 2.4.0</id>
<url>${efxclipse.target}</url>
<layout>p2</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<!-- <environment> -->
<!-- <os>linux</os> -->
<!-- <ws>gtk</ws> -->
<!-- <arch>x86</arch> -->
<!-- </environment> -->
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<!-- <environment> -->
<!-- <os>win32</os> -->
<!-- <ws>win32</ws> -->
<!-- <arch>x86_64</arch> -->
<!-- </environment> -->
</environments>
</configuration>
</plugin>
</plugins>
</build>
</project>
This is my script to mirror the repo. This worked just fine for the 4.5.2 and 2.3.0 targets:
<project name="Mirror" default="mirrorRepos">
<!-- The P2 repository location to mirror -->
<property name="efxclipseRepository" value="http://download.eclipse.org/efxclipse/runtime-released/2.4.0/site" />
<property name="eclipseRepository" value="http://download.eclipse.org/releases/neon" />
<!-- The location to place the mirrored repository (root location) -->
<property name="baseP2RepoHome" value="C:/TEMP/target" />
<property name="baseEclipseP2RepoHome" value="${baseP2RepoHome}" />
<!-- Defines each p2 destination with a version identifier. -->
<property name="eclipseReleaseNameVer" value="eclipse-4.6.0" />
<property name="efxclipseReleaseNameVer" value="efxclipse-2.4.0" />
<target name="mirrorRepos" description="Builds the entire p2 mirror set.">
<antcall target="createMirror" />
</target>
<target name="createMirror" description="Mirrors the Eclipse 4.6.0 launcher feature and efxclispe 2.4.0 repository items. Turns them into runnables">
<p2.mirror source="${eclipseRepository}" verbose="true" log="C:/TEMP/p2NeonMirror.log" validate="true" destination="file://${baseEclipseP2RepoHome}/site/${eclipseReleaseNameVer}" >
<iu id="org.eclipse.equinox.executable.feature.group" />
</p2.mirror>
<p2.mirror source="${efxclipseRepository}" verbose="true" log="C:/TEMP/p2FXMirror.log" validate="true" destination="file://${baseEclipseP2RepoHome}/site/${efxclipseReleaseNameVer}" >
<iu id="org.eclipse.fx.target.feature.feature.group" />
</p2.mirror>
<p2.repo2runnable>
<repository location="file://${baseEclipseP2RepoHome}/runnable/${eclipseReleaseNameVer}" />
<source>
<repository location="file://${baseEclipseP2RepoHome}/site/${eclipseReleaseNameVer}" />
</source>
</p2.repo2runnable>
<p2.repo2runnable>
<repository location="file://${baseEclipseP2RepoHome}/runnable/${efxclipseReleaseNameVer}" />
<source>
<repository location="file://${baseEclipseP2RepoHome}/site/${efxclipseReleaseNameVer}" />
</source>
</p2.repo2runnable>
</target>
</project>
Thanks for any help you can provide.
[Updated on: Wed, 06 July 2016 17:32] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02187 seconds