On 2011-12-01 11:05, Gour wrote:
On Tue, 29 Nov 2011 22:03:27 +0100
Jacob Carlborg<d...@me.com>  wrote:

"rake base swt snippets"

If I recall correctly. You can run "rake -T" to see what build
targets are available. To build DWT you need these system libraries:

No experience at all with Java/SWT...downloaded hg repo and tried:

[gour@atmarama dwt2-c43718956f21] rake swt
/home/gour/tmp/dwt/dwt2-c43718956f21/rakefile:19: Use RbConfig instead of 
obsolete and deprecated Config.
Building org.eclipse.swt.gtk.linux.x86
workdir=>/home/gour/tmp/dwt/dwt2-c43718956f21/org.eclipse.swt.gtk.linux.x86/src
org/eclipse/swt/internal/Compatibility.d(15): Error: module all is in file 
'java/lang/all.d' which cannot be read
import path[0] = 
/home/gour/tmp/dwt/dwt2-c43718956f21/org.eclipse.swt.gtk.linux.x86/src
import path[1] = /home/gour/tmp/dwt/dwt2-c43718956f21/imp
import path[2] = /usr/include/d
import path[3] = /usr/include/d/druntime/import
rake aborted!
compile error

Tasks: TOP =>  swt
(See full trace by running task with --trace)


Any idea?

You need to build the "base" library as well, run "rake base swt". The "base" library contains a port of a small part of the Java core API's, this makes it easier to port SWT.

You can build the and try snippets as well.

--
/Jacob Carlborg

Reply via email to