Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Error with swt when building a plugin since Eclipse 2018-12

Hi,

Yes, this helps me.

I removed 32 bits environments and the build goes to the end whitout any error.

Thanks,

Dominique


Le 06/04/2019 à 05:27, Marc-Andre Laperle a écrit :

It’s probably because 32-bit targets were removed [1]. Try removing those from your target environment. For example:
...
<plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>${tycho-version}</version>
        <configuration>
                <resolver>p2</resolver>
                <pomDependencies>consider</pomDependencies>
                <environments>
                        <environment>
                                <os>linux</os>
                                <ws>gtk</ws>
                                <arch>x86</arch>
                        </environment>
                        <environment>
                                <os>linux</os>
                                <ws>gtk</ws>
                                <arch>x86_64</arch>
                        </environment>

You need to remove the first environment (x86), etc. You might need to adjust other things in your build if you had fragments with 32-bit platform filters, products including 32-bit fragments, or features including those fragments.

I recently did similar changes to what I am explaining above in CDT to update from Eclipse 4.8 to 4.11. So you can look at the commit if you need clues on what to look for: https://git.eclipse.org/r/#/c/138416/

Hope this helps,
Marc-André



On Apr 3, 2019, at 9:41 AM, Dominique Marcadet <Dominique.Marcadet@xxxxxxxxxx> wrote:

Hi,

I use Maven/Tycho to build Eclipse plugins.

My pom.xml file points to an Eclipse release repository (with a p2 layout property).

I have a problem with a specific plugin which is based on the EMF generated editor. If pom.xml points to the Oxygen, Photon or 2018-09 release repository, all is fine. But with 2018-12 or 2019-03, I have compilation errors. All these errors are about missing types that are defined by org.eclipse.swt (Composite, Shell...).

I understand that this may not be a tycho problem, but there are no compilation error within Eclipse, so I decided to try this tycho-user list.

Thanks in advance for any help,

-- 
Cordialement,
Dominique Marcadet



_______________________________________________
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


_______________________________________________
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