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

Thanks, https://www.vogella.com/tutorials/EclipseTycho/article.html#create-pom-for-the-build-configuration has been corrected.

Steinar Bang <sb@xxxxxx> schrieb am Fr., 23. Aug. 2019, 17:53:
>>>>> Emmanuel Chebbi <emmanuel.chebbi@xxxxxxxxxx>:

> Hi,

Hi Emmanuel,

> I believe that Christian is referring to the scratch/releng/modeler.configuration/pom.xml file.

> When you specified your target platform you indeed asked to use a 32 bit environment when building on Linux:

> <environments>
>     <environment>
>         <os>win32</os>
>         <ws>win32</ws>
>         <arch>x86_64</arch>
>     </environment>
>     <environment>
>         <os>linux</os>
>         <ws>gtk</ws>
>         <arch>x86</arch>
>     </environment>
>  </environments>

Thanks!  This illustrates the dangers of copying a complicated setup.  :-)
I was trying to reorganize a project I hadn't touched since 2015 (and
tyco 0.20.0) into a modern structure, using
 https://www.vogella.com/tutorials/EclipseTycho/article.html

Hmno... the above article actually has x86_64 for linux:
 https://www.vogella.com/tutorials/EclipseTycho/article.html#create-pom-for-the-build-configuration

I guess this was a left-over from 2015...?

Ayway after doing this change, the project builds fine with maven on my
linux box as well:

modified   releng/modeler.configuration/pom.xml
@@ -72,7 +72,7 @@
                         <environment>
                             <os>linux</os>
                             <ws>gtk</ws>
-                            <arch>x86</arch>
+                            <arch>x86_64</arch>
                         </environment>
                     </environments>
                 </configuration>


> By the way, the project builds as expected on my Windows machine.

It did build on my windows laptop as well, but that laptop was running
Oracle 1.8, and I suspected openjdk-11 was the culprit, which turned out
to be wrong, since the arch for windows already was x86_64

Thanks again!

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-user

Back to the top