Custom Eclipse IDE to work with Ext — GWT
Google Web Toolkit (GWT) is a set of AJAX components for user interface development web 2.0 applications. This library we should be familiar with projects like GMail, Google Reader and many others. The distinctive feature of this framework is that programs can be written in Java. Ext-GWT (or GXT) is a GWT extension using popular libraries build the UI of web applications ExtJS.
the Note
For GXT beta 2 requires GWT 1.5 milestone 2, which supports J2SE 6.0. The download link in the "Resources"section
the set the variable GWT_HOME
Is done for each of the developers once:
1. In the Eclipse main menu, find manage Classpath Variables. To do this, go to: Menu — Window — Preferences — Java — Build Path — Classpath Variables.
2. Create a variable GWT_HOME. New button:
* specify a name. Name: GWT_HOME;
* specify your path to the root folder of GWT, for example “D:\Projects\gwt-windows-1.4.62\” as I have.
the create a new project based on GWT
1. Use standard utilities to create a project:
* projectCreator -eclipse NewApplication -out d:\Projects\NewApp
* applicationCreator -eclipse NewApplication -out d:\Projects\NewApp com.brainitup.client.NewApplication
2. Import the generated project in Eclipse. To do this, go to Menu — File — Import — Existing Projects into Workspace. Indicate where the project lies, for example “d:\Projects\NewApp”
3. Customized library gwt-user through GWT_HOME:
* right click on project root — Properties — Java Build Path — Libraries
* delete gwt-user.jar
* Add Variable — GWT_HOME — Extend — gwt_user.jar — Ok
4. Customized library gwt-dev-windows.jar through GWT_HOME:
* Run — Java Application — NewApplication (your name) — Classpath
* gwt-dev-windows.jar — Remove
* Advanced — Add Classpath Variables — GWT_HOME — Extend — gwt-dev-windows.jar — Ok
the Support Cyrillic characters
1. Project Properties -> Resources ->Text File encoding set to UTF-8
2. In the Package Explorer find the file NewApplication->src->com.brainitup->public->NewApp.html and tag write meta tag
/>
the Add Ext — GWT
1. Custom GXT_HOME similarly with variable GWT_HOME
2. Custom gxt library using variable GXT_HOME (similar to described above) and also don't forget to add as a library to run (similar to paragraph 4 of the section “creating a project in GWT”)
3. Add the following line in the xml module project
4. Add the stylesheet to your host page.
the Resources
1. Eclipse SDK
2. Google Web Toolkit
3. the GXT Library
4. Team development on GWT in Eclipse
5. Download the GWT 1.5 milestone 2
Krosspost in my blogi
Article based on information from habrahabr.ru
the Note
For GXT beta 2 requires GWT 1.5 milestone 2, which supports J2SE 6.0. The download link in the "Resources"section
the set the variable GWT_HOME
Is done for each of the developers once:
1. In the Eclipse main menu, find manage Classpath Variables. To do this, go to: Menu — Window — Preferences — Java — Build Path — Classpath Variables.
2. Create a variable GWT_HOME. New button:
* specify a name. Name: GWT_HOME;
* specify your path to the root folder of GWT, for example “D:\Projects\gwt-windows-1.4.62\” as I have.
the create a new project based on GWT
1. Use standard utilities to create a project:
* projectCreator -eclipse NewApplication -out d:\Projects\NewApp
* applicationCreator -eclipse NewApplication -out d:\Projects\NewApp com.brainitup.client.NewApplication
2. Import the generated project in Eclipse. To do this, go to Menu — File — Import — Existing Projects into Workspace. Indicate where the project lies, for example “d:\Projects\NewApp”
3. Customized library gwt-user through GWT_HOME:
* right click on project root — Properties — Java Build Path — Libraries
* delete gwt-user.jar
* Add Variable — GWT_HOME — Extend — gwt_user.jar — Ok
4. Customized library gwt-dev-windows.jar through GWT_HOME:
* Run — Java Application — NewApplication (your name) — Classpath
* gwt-dev-windows.jar — Remove
* Advanced — Add Classpath Variables — GWT_HOME — Extend — gwt-dev-windows.jar — Ok
the Support Cyrillic characters
1. Project Properties -> Resources ->Text File encoding set to UTF-8
2. In the Package Explorer find the file NewApplication->src->com.brainitup->public->NewApp.html and tag write meta tag
/>
the Add Ext — GWT
1. Custom GXT_HOME similarly with variable GWT_HOME
2. Custom gxt library using variable GXT_HOME (similar to described above) and also don't forget to add as a library to run (similar to paragraph 4 of the section “creating a project in GWT”)
3. Add the following line in the xml module project
/>
4. Add the stylesheet to your host page.
/>
the Resources
1. Eclipse SDK
2. Google Web Toolkit
3. the GXT Library
4. Team development on GWT in Eclipse
5. Download the GWT 1.5 milestone 2
Krosspost in my blogi
Комментарии
Отправить комментарий