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

Thanks we are getting closer here, now the error is:

Can't load library: D:\a\eclipse.platform.swt\eclipse.platform.swt\tests\org.eclipse.swt.tests\target\.swt\lib\win32\x86_64\swt-gtk-4952r10.dll Can't load library: D:\a\eclipse.platform.swt\eclipse.platform.swt\tests\org.eclipse.swt.tests\target\.swt\lib\win32\x86_64\swt-gtk.dll Can't load library: D:\a\eclipse.platform.swt\eclipse.platform.swt\tests\org.eclipse.swt.tests\target\.swt\lib\win32\x86_64\swt.dll

So it seems I have to enable maybe some profile or something to get the windows DLLs?

Is this "native" parameter still relevant or should it probably already do the desired things and there is still something missing?

Am 02.05.22 um 09:31 schrieb Aleksandar Kurtakov:
Please rebase on master now . https://github.com/eclipse-platform/eclipse.platform.swt/commit/0051f9bb765888d533b8ec28bb872d841e99e15f <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 <mailto: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>
     > <mailto: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>
     >
    <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>>
     >      > <mailto: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>>
     >      >
>  <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>>
     >     <mailto: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>>
     >      >     <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>
    <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>>
     >     _______________________________________________
     >     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>>
     >
     >
     >
     > --
     > 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


Back to the top