Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT: Maven on Windows, how to get jUnit tests to work?

Hello folks,

So I got maven to work on Linux/Cocoa(*1) via:
     mvn clean verify -Pbuild-individual-bundles

But on Windows, SWT compiles, but jUnit tests fail with:
- NoClassDefFound
- NullPointer

Does anyone know how to fix?

Inline image 1

Note:
- Win10
- Tests work via GUI -> AllTests.java -> run jUnits
- Windows power shell
- Maven 3.5.0, installed manually. M2_HOME, MAVEN_HOME, JAVA_HOME are set properly.
- JDK 1.8

Thank you

[1] Cocoa works after patch merge:
Bug 519237 – [Cocoa] mvn -Pbuild-individual-bundles fails on OSX due to missing -XstartOnFirstThread vm arg
https://bugs.eclipse.org/bugs/show_bug.cgi?id=519237

--

Leo Ufimtsev

Software Engineer

Red Hat


90 Eglinton Ave E #502,

Toronto, ON M4P 2Y3

Leonidas@xxxxxxxxxx  

CHAT:

  - IRC: http://webchat.freenode.net/?channels=#swt

  - MatterMost: https://mattermost.eclipse.org/eclipse/channels/platform-swt


Back to the top