# install smart gwt wget http://smartgwt.googlecode.com/files/smartgwt-2.4.zip -P /tmp sudo unzip /tmp/smartgwt-2.4.zip -d /usr/share/ sudo ln -sf /usr/share/smartgwt-2.4/ /usr/share/smartgwt sudo ln -sf /usr/share/smartgwt/smartgwt.jar /usr/share/java/ sudo ln -sf /usr/share/smartgwt/smartgwt-skins.jar /usr/share/java/ # restart tomcat server sudo /etc/init.d/tomcat6 restart # create default GWT Project File > New > Web Application Project Project name: Smart Package: smart [ Finish ] # add smartGWT Smart > smart > <PROJECT_NAME>.gwt.xml add to module section
copy "js" dir from gwt-ext archive int project web folder Main.gwt.xml add <inherits name="com.gwtext.GwtExt"/> welcomeGWT.html add <link rel="stylesheet" type="text/css" href="js/ext/resources/css/ext-all.css" /> <link id="theme" rel="stylesheet" type="text/css" href="js/ext/resources/css/xtheme-silverCherry.css"/> <script type="text/javascript" src="js/ext/adapter/yui/yui-utilities.js"></script> <script type="text/javascript" src="js/ext/adapter/yui/ext-yui-adapter.js"></script> <script type="text/javascript" src="js/ext/ext-al
#!/bin/bash #URL=http://google-web-toolkit.googlecode.com/files/gwt-linux-1.7.1.tar.bz2 URL=http://google-web-toolkit.googlecode.com/files/gwt-2.0.0.zip # download wget ${URL} -P /tmp # install unzip /tmp/gwt-*.zip -d /tmp rm /tmp/gwt-*.zip sudo mv /tmp/gwt-* /usr/share # GWT Designer apt-get install xulrunner-1.9.2 http://dl.google.com/eclipse/inst/d2gwt/beta/3.7 # Links http://code.google.com/p/google-web-toolkit/
# HowTo 1. install Netbeans: http://www.panticz.de/install_netbeans 1.1 install http://www.panticz.de/install-GWT4NB 2. install GWT: http://www.panticz.de/install_gwt 3. install MySQL driver: http://www.panticz.de/install_mysql_driver 4.
# INFO url : jdbc:mysql://localhost:3306/Bible user: gwt-examples pass: password # create database and user mysql -u root -p create database Bible; CREATE USER 'gwt-examples' IDENTIFIED BY 'password'; grant all on Bible.* to 'gwt-examples'@'%' identified by "password"; #grant all on Bible.* to 'gwt-examples'@'192.168.1.10' identified by "password"; #grant all on Bible.* to 'gwt-examples'@'localhost' identified by "password"; commit; quit; # get gwt examples cd ${HOME} svn checkout http://gwt-examples.googlecode.com/svn/trunk/ gwt-examples # fill database wget http://ken
# install gwt plugin in netbeans NETBEANS > Tools > Plugins > Available plugins > GWT4NB > Install # test, create new projects export GWT_HOME=/opt/gwt-linux cd $GWT_HOME ./applicationCreator -out $HOME/GWT-Sample org.kamal.hello.client.HelloWorld /opt/gwt-linux/applicationCreator -eclipse MyProject com.mycompany.client.MyApplication # rpc service demo public void onModuleLoad() { RootPanel.get().add(new DBQueryUsageExample()); } # LINKS http://www.netbeans.org/kb/60/web/quickstart-webapps-gwt.html http://www.gwt-ext.com/demo/ - GWT-Ext Showcase http://gwt.google.com/sam