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.
 
 
 
 
Comments:

Why bother?

Posted by Shoghi Effendi on April 05, 2007 at 06:19 AM PDT #

Host mode use SWT. SWT work on Solaris, maybe it's possible to have Hostmode running on Solaris.

Posted by Moritan on April 10, 2007 at 02:38 AM PDT #

well.. it sounds like Sun was right sticking to Swing. Does anyone know why SWT was used in GWT ?

Posted by Nigel on May 01, 2007 at 02:41 PM PDT #

OK. But is it possible to run a server in web mode?
I want to access my application from other hosts using my PC firefox with http://myHost:8888/mymodule/mymodule.html
I want to access my remote services. Is it possible?
thanks.

Posted by dao on July 12, 2007 at 07:31 AM PDT #

Prem,

Any news on the support for hosted mode on Solaris?

Frank

Posted by Frank Kieviet on January 04, 2008 at 02:13 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
 

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

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