Prem's den

     
 

Google Web Toolkit (GWT) on Solaris


The Google Web Toolkit looks cool, but at the moment, Solaris users might think they are locked out: on the download page, you can choose Windows or Linux. And if you download either one, you might be discouraged to find shared libraries in the form of .dll or .so files. The Linux version does work on Solaris, but you won’t be able to run it in hosted mode since that mode depends on SWT (that’s what those shared libraries are there for, apparently). Hosted mode gives you more debugging power, so you are giving that up on Solaris. To use web mode, run the autogenerated MyApplication-compile script to compile it all to JavaScript, then open MyApplication.html in a browser. Here are the steps to unpack it and create your first app. It should be enough to get you started:

$ tar xfz gwt-linux-1.0.20.tar.gz
$ cd gwt-linux-1.0.20/
$./applicationCreator com.mycompany.client.MyApplication
Created directory /Users/bjepson/src/gwt-linux-1.0.20/src
[etc., etc.]
$./MyApplication-compile
Output will be written into ./www/com.mycompany.MyApplication
Copying all files found on public path
Compilation succeeded
$ cd www/com.mycompany.MyApplication/

Open MyApplication.html in your web browser. Thats it !
Stay tuned for updates. You should be able to run GWT on hosted mode as well on solaris, in a short while.
 
 
 
 
 

« April 2007
SunMonTueWedThuFriSat
1
2
3
4
6
7
8
9
10
11
12
13
14
15
16
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

[This is a Roller site]
Theme by Rowell Sotto.
 
© premkumarl