Community
Participate
Working Groups
During development, building a *swt*.jar file (containing fresh SWT*.java sources and .so's) that can be used with an eclipse in it's eclipse/plugin/ is not straight forward. (As me, Roland and Eric have found out). Example use case is testing/developing swt behavior as a OSGI bundle. The general technique is: cd ~/git/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64 mvn clean verify -Pbuild-individual-bundles But the hurdle here is that if the *swt.binaries/bundles/binaries-parent/pom.xml:forceContextQualifier is as new as the one upstream, then changes to swt sources are not packaged into the resulting ./target/*swt*.jar file. To get around that, I can either checkout an older swt.binaries that has an older forceContextQualifier or change the forceContextQualifier manually to something like year 2000. Rather than documentation that is hard to find/read, I wrote a script that automatically sets a lower forceContextQualifier and builds the *swt*.jar files.
New Gerrit change created: https://git.eclipse.org/r/113014
Gerrit change https://git.eclipse.org/r/113014 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.binaries.git/commit/?id=94e23a6aef578e973db2357bdd374e73df1618a4
No functional changes, nothing to verify.