Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Running the SWT maven build under windows

Please rebase on master now . https://github.com/eclipse-platform/eclipse.platform.swt/commit/0051f9bb765888d533b8ec28bb872d841e99e15f should have improved the situation.

On Mon, May 2, 2022 at 10:07 AM Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:
That would be great, because that is currently holding me back to
provide a matrix verification action for Github that tests on
linux/win/mac ...

As we occasionally have some problems on win or mac I think that would
be useful to have at least some basic testing/compilation for this
platforms.

Am 02.05.22 um 08:57 schrieb Aleksandar Kurtakov:
>
>
> On Mon, May 2, 2022 at 9:27 AM Christoph Läubrich <laeubi@xxxxxxxxxxxxxx
> <mailto:laeubi@xxxxxxxxxxxxxx>> wrote:
>
>     I'm using the follwoing build command from the jenkins ci verification
>     action:
>
>     mvn --batch-mode -Pbuild-individual-bundles -DforceContextQualifier=zzz
>     -Dnative=${{ matrix.config.native }} -DskipJni -DskipRust
>     -Dcompare-version-with-baselines.skip=true
>     -Dmaven.compiler.failOnWarning=true install
>
>     the problem is the ${{ matrix.config.native }}, I use:
>
>     -> gtk.linux.x86_64 for linux
>     -> win32.win32.x86_64 for windows
>     -> cocoa.macosx.x86_64 for mac
>
>     Linux build works, but win+mac aborts with the mentioned error.
>
>     So I assume I either guessed the 'native' wrong or need to pass
>     additional parameters for windows/mac?
>
>
> Ah, I misunderstood the question at first. So this is simplification of
> the build process which I haven't completed fully (as Jenkins didn't
> complain about it)
> https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/189807
> <https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/189807> .
> I'll finish it right now.
>
>
>
>     Am 02.05.22 um 08:07 schrieb Aleksandar Kurtakov:
>      >
>      >
>      > On Sun, May 1, 2022 at 8:00 AM Christoph Läubrich
>     <laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>
>      > <mailto:laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>>> wrote:
>      >
>      >     I try to run the SWT build under windows but always get:
>      >
>      >     Error: Cannot resolve project dependencies:
>      >     Error: You requested to install 'org.eclipse.equinox.p2.iu;
>      >     org.eclipse.swt.tests.fragments.feature.feature.group 0.0.0'
>     but it
>      >     could not be found
>      >
>      >     so it seems I need to pass something special to the build
>     command...
>      >
>      >
>      >     I have described this in more details here:
>      >
>     https://github.com/eclipse-platform/eclipse.platform.swt/issues/68
>     <https://github.com/eclipse-platform/eclipse.platform.swt/issues/68>
>      >   
>       <https://github.com/eclipse-platform/eclipse.platform.swt/issues/68 <https://github.com/eclipse-platform/eclipse.platform.swt/issues/68>>
>      >     _______________________________________________
>      >     platform-dev mailing list
>      > platform-dev@xxxxxxxxxxx <mailto:platform-dev@xxxxxxxxxxx>
>     <mailto:platform-dev@xxxxxxxxxxx <mailto:platform-dev@xxxxxxxxxxx>>
>      >     To unsubscribe from this list, visit
>      > https://www.eclipse.org/mailman/listinfo/platform-dev
>     <https://www.eclipse.org/mailman/listinfo/platform-dev>
>      >     <https://www.eclipse.org/mailman/listinfo/platform-dev
>     <https://www.eclipse.org/mailman/listinfo/platform-dev>>
>      >
>      >
>      > You have to always pass -Pbuild-individual-bundles when building
>     swt out
>      > of the aggregator build.
>      > --
>      > Aleksandar Kurtakov
>      > Red Hat Eclipse Team
>      >
>      > _______________________________________________
>      > platform-dev mailing list
>      > platform-dev@xxxxxxxxxxx <mailto:platform-dev@xxxxxxxxxxx>
>      > To unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/platform-dev
>     <https://www.eclipse.org/mailman/listinfo/platform-dev>
>     _______________________________________________
>     platform-dev mailing list
>     platform-dev@xxxxxxxxxxx <mailto:platform-dev@xxxxxxxxxxx>
>     To unsubscribe from this list, visit
>     https://www.eclipse.org/mailman/listinfo/platform-dev
>     <https://www.eclipse.org/mailman/listinfo/platform-dev>
>
>
>
> --
> Aleksandar Kurtakov
> Red Hat Eclipse Team
>
> _______________________________________________
> platform-dev mailing list
> platform-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


--
Aleksandar Kurtakov
Red Hat Eclipse Team

Back to the top