Sample Maven Project for Eclipse SWT based Application
- goto http://download.eclipse.org/eclipse/downloads/
- click build name "4.2.1"
- scroll down to the section, "SWT Binary and Source".
- download the swt binary & source.
(e.g. for Linux 32bit,
swt-4.2.1-gtk-linux-x86.zip
) - unzip the downloaded package, and use
contrib/install-swt.sh
to install SWT in your local maven repository.
$ mvn clean
$ mvn compile
$ mvn package appassembler:assemble
$ sh target/appassembler/bin/swtstart