Thanks very much! Indeed, I was on maven 3.6.1 - reverting to 3.6.0 helped me move forward a lot! In general, where would a potential contributor find out about issues like "doesn't work with maven 3.6.1 or 3.6.2"? Normally when I try to contribute a new project, it's common that I'll bump into a build error on my first build. The first thing I do is put the error into the github search, and almost always an issue comes up which tells me the magic trick, and then I can be productive again.
For SWT, which searchbox should I type into to find out something like this? The email list works great ;-) but I feel bad that I'm dinging so many people for such basic questions.
But since I've almost got a working build, I'll keep going!
mvn -Pbuild-individual-bundles -DforceContextQualifier=zzz -Dnative=gtk.linux.x86_64 -Dcompare-version-with-baselines.skip=true -Dmaven.compiler.failOnWarning=true install
When I run this command on a linux box, I get a successful build. Huzzah, thanks!!
When I run it on a mac
(changing -Dnative to cocoa.macosx.x86_64)
, it really struggles with "tycho-snapshots". It downloads a few, then eventually gets [2]. It seems to download them over and over, failing in a different spot each time. By attempting ~20 times (not exaggerating!!!) it eventually ran mostly (but not completely) successfully.
When I run it on a windows box (changing -Dnative to win32.win32.x86_64), it still tries to use gtk, and thus fails. [1]
Any guesses why windows is using gtk / ways to fix? Any hints for making the mac build more reliable?
Thanks very much! I'm collating all this info to put into the README
[1]
[ERROR] test_syncExecLjava_lang_Runnable_dispose(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Display) Time elapsed: 0.353 s <<< ERROR!
java.lang.UnsatisfiedLinkError:
Could not load SWT library. Reasons:
no swt-gtk-4930r3 in java.library.path
no swt-gtk in java.library.path
Can't load library: C:\Users\ntwigg\Documents\dev\eclipse.platform.swt\tests\org.eclipse.swt.tests\target\.swt\lib\win32\x86_64\swt-gtk-4930r3.dll
Can't load library: C:\Users\ntwigg\Documents\dev\eclipse.platform.swt\tests\org.eclipse.swt.tests\target\.swt\lib\win32\x86_64\swt-gtk.dll
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Display.test_syncExecLjava_lang_Runnable_dispose(Test_org_eclipse_swt_widgets_Display.java:1
[2]
Caused by: java.net.UnknownHostException:
repo.eclipse.org at java.net.InetAddress.getAllByName0 (InetAddress.java:1281)
at java.net.InetAddress.getAllByName (InetAddress.java:1193)
at java.net.InetAddress.getAllByName (InetAddress.java:1127)
at org.apache.maven.wagon.providers.http.httpclient.impl.conn.SystemDefaultDnsResolver.resolve (SystemDefaultDnsResolver.java:45)
Any tips for
1) How
Ned Twigg
Lead Software Architect, DiffPlug LLC
540-336-8043 (cell)
888-513-6870 (fax)
340 S Lemon Ave #3433, Walnut, CA 91789