Project
Developer
WikiGWT comes with an eclipse project creator tool. The project will have the name Sudoku and will be created in the $HOME/workspace directory.
$ cd gwt-linux-1.3.1/ $ ./projectCreator -eclipse Sudoku -out $HOME/workspace/sudoku Created directory $HOME/workspace/sudoku/src Created file $HOME/workspace/sudoku/.project Created file $HOME/workspace/sudoku/.classpath
A GWT application must be added to the eclipse project. The application creator tool is given the name of the class to generate.
The following files will be generated:
-
The
Sudoku.gwt.xmlfile, which describes the module with entry point. Additionally, this file will be used to add the mapping for the remote service using EasyBeans. -
The
Sudoku.htmlfile, which is a skeleton page that calls the widget's examples. -
The
Sudoku.javafile, which is the class responsible to load widgets (which implements theEntryPointinterface). -
Additionally, there are three scripts that allow files to be launched or compiled. Note that the compile script will be replaced by an ant task in this HowTo.
$ ./applicationCreator -out $HOME/workspace/sudoku -eclipse -out org.objectweb.easybeans.demo.sudoku.web.client.Sudoku Created directory $HOME/workspace/sudoku/src/org/objectweb/easybeans/demo/sudoku/web Created directory $HOME/workspace/sudoku/src/org/objectweb/easybeans/demo/sudoku/web/client Created directory $HOME/workspace/sudoku/src/org/objectweb/easybeans/demo/sudoku/web/public Created file $HOME/workspace/sudoku/src/org/objectweb/easybeans/demo/sudoku/web/Sudoku.gwt.xml Created file $HOME//workspace/sudoku/src/org/objectweb/easybeans/demo/sudoku/web/public/Sudoku.html Created file $HOME//workspace/sudoku/src/org/objectweb/easybeans/demo/sudoku/web/client/Sudoku.java Created file $HOME/workspace/sudoku/Sudoku.launch Created file $HOME/workspace/sudoku/Sudoku-shell Created file $HOME/workspace/sudoku/Sudoku-compile