Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Plug-in test runs fine inside eclipse IDE but fails in maven build

>>>>> "Dietrich, Christian" <christian.dietrich@xxxxxxxxx>:

> Eclipse no longer supports 32 bit so you should use 64 bit only in your
> target platform configuration

Thanks!  

Where do I specify to use 64 but only in the target platform?
 https://github.com/steinarb/scratch/blob/modeler/move-to-new-tycho-structure-and-new-eclipse/releng/modeler.target/modeler.target.target#L1

As far as I can tell, leaving the architecture setting of the target
platform unspecified, will make eclipse pick up the settings from the
OS, and the log file states:
 BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
see:
 https://gist.github.com/steinarb/f65a3b1c1428bc84c17388fa33f3090a#file-1566500716360-log-L5

I tried specifying architecture:
diff --git a/releng/modeler.target/modeler.target.target b/releng/modeler.target/modeler.target.target
index 049b60788..c6cdae54d 100644
--- a/releng/modeler.target/modeler.target.target
+++ b/releng/modeler.target/modeler.target.target
@@ -92,4 +92,7 @@
 		<feature id="org.eclipse.emf.ecore"/>
 		<feature id="org.eclipse.fx.runtime.min.feature"/>
 	</includeBundles>
+	<environment>
+		<arch>x86_64</arch>
+	</environment>
 </target>

But it didn't make any difference: modeler.test failed in the same way,
with a similar log file.

Perhaps it is the P2 repository that has to be 64 bit specific?
Ie. https://download.eclipse.org/releases/2019-06 points to the 32 bit
version?

Thanks again!



Back to the top