Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT Windows maven test?

If you want to test patches, that contain changes to .c or .h files, you need to build also the native libraries. This is done by ANT scripts, but the most common ANT target can also be called from Maven. Therefore you have to start mvn process-resources -Pbuild-natives

BUT: For a successful local build of the natives you need some preconditions. I sent a mail with a description to the swt-dev list some months ago, but I didn’t manage a local build of the XULRUNNER.

Also this only works for a 64-bit build. For a 32-bit build you need to convert the SWT code from 64-bit to 32-bit. There’s is also an ANT target. If you have questions about the 32-bit build, write me. I recently managed to locally build the SWT 32-bit native libraries.

 

Regards

Conrad

 

Von: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Leo Ufimtsev
Gesendet: Mittwoch, 28. Juni 2017 18:29
An: Eclipse Platform SWT component developers list.
Betreff: [platform-swt-dev] SWT Windows maven test?

 

Hey ya,

I'm working on setting up a Windows VM for testing SWT/gerrit submissions.

So far, I got things to work through the gui, i.e checkout gerrit and run all tests. Now I want to automate this via a command. Maven comes to mind.

 

Does anyone know how to get maven working on Windows and with which command I could trigger an SWT build and test?

Thank you.


--

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