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

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?


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>> 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>
    _______________________________________________
    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>


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
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


Back to the top