Recent Changes - Search:

edit SideBar

EclipseTychoAndNeon

Notes about upgrading the Triquetrum code from Mars to Neon.

Resources

As of 8/26/16, the issue is that branch cxbrooks/bg/66/Multiplatform2 builds ok within Eclipse Neon, but fails under mvn verify with:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-com\
pile) on project org.eclipse.triquetrum.common: Compilation failure: Compilation failure:
[ERROR] /Users/cxh/git/triquetrum/org.eclipse.triquetrum.common/src/main/java/org/eclipse/triquetr\
um/TriqException.java:[13]
[ERROR] import ptolemy.data.Token;
[ERROR] ^^^^^^^^^^^^
[ERROR] The import ptolemy.data cannot be resolved

etc.

To replicate:

git clone https://github.com/eclipse/triquetrum
cd triquetrum
git checkout cxbrooks/bg/66/Multiplatform2
mvn compile

Could not read 1 project

If you get:

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project triquetrum:org.eclipse.triquetrum.build:0.1.0-SNAPSHOT (/home/cxh/src/triquetrum/pom.xml) has 28 errors
[ERROR]     Child module /home/cxh/src/triquetrum/org.eclipse.triquetrum.common/pom.xml of /home/cxh/src/triquetrum/pom.xml does not exist

Then run mvn --version

mvn 3.3.9 worked, mvn 3.2.5 did not.

Could not find artifact triquetrum:org.eclipse.triquetrum.dependencies:jar:0.0.1-SNAPSHOT

mvn compile failed with:

[ERROR] Failed to execute goal on project org.eclipse.triquetrum.common: Could not resolve depende\
ncies for project triquetrum:org.eclipse.triquetrum.common:eclipse-plugin:1.0.0-SNAPSHOT: Could no\
t find artifact triquetrum:org.eclipse.triquetrum.dependencies:jar:0.0.1-SNAPSHOT -> [Help 1]

Editing triquetrum/pom.xml and removing this line:

<module>org.eclipse.triquetrum.dependencies</module>

fixed the above problem.

Analysis

The problem here is likely that the repo at http://users/telnet.be/triquetrum-ptolemy-p2 is not be accessed.

We used to access the dependencies from org.eclipse.triquetrum.dependencies/deps/ptII/

Edit - History - Print - Recent Changes - Search
Page last modified on August 27, 2016, at 05:31 am