Gwt> import sample project

Only after 2 hours I try to make it work and look for answers on the Internet.

How in the world do you import an example gwt application into your eclipse and run it?

By the way, I can not find "projectCreator.cmd" anywhere in my files, where it supposedly should be assumming, did I use the eclipse plugin updater for d / l gwt 1.7.1?

+4
source share
4 answers

Well, this is what I ended up doing, although it is ugly and probably not the way it should have been:

I create a new application called "bla" or another then directly in the project> import ...> general \ file system ... (as in the import files in the projects)

then I selected the top folder of one of the sample applications, for example..gwt..samples / Mail

select all folders and files. the selected option "override without warning \ query" de-selected option "copy the entire folder structure"

what about it. I went to build.XML to rename the project name to "bla" and then clicked it as a web application.

good luck.

+1
source

For GWT 2.4: In each root of the project you will find README.txt . If you follow his instructions (including creating an Eclipse project configuration through Ant), you can easily import the project. To start, I also had to configure the GWT project settings (project context menu โ†’ Google โ†’ WebToolkit Settings).

0
source

First create an Eclipse project for your source, if you havenโ€™t already done so, by choosing File> New> Java Project. Then select Create Project from Existing Source and customize your project. At this point, your source will be uploaded to Eclipse, but the project build path may not be configured correctly and you may see build errors.

Alternatively , if your source application tree already contains a .project file, either because you previously worked on it in Eclipse, or because it was generated by a tool, such as GWT webAppCreator, you can import by choosing File> Import > General and Select Existing Projects in the Workspace

To enable the Google Web Toolkit, right-click it and select Google> Web Toolkit Settings. Check the "Use Google Web Toolkit" box and click "OK" to apply the changes.

Enabling the application for your project is similar: right-click your project and select Google> Application Settings. Check the "Use Google App Engine" box and click "OK."

Source : https://developers.google.com/eclipse/docs/existingprojects

0
source

What I did to run it:

My workspace is located at: / Users / ievgennaloiko / Documents / helpdesk / I downloaded the gwt to Downloads folder. Pulled it out. Moved from terminal to samples and starts

 ant eclipse.generate 

for each sample project that I need to import into Eclipse. Even you can run this command for the entire sample project.

Next, I copied the samples folder to / Users / ievgennaloiko / Documents / helpdesk Eclipse started. Import files โ†’ Existing proj in ws โ†’ / Users / ievgennaloiko / Documents / helpdesk / samples / DynaTable

Copy project to ws - Unverified.

Then I had to go to the properties of the Google-WebToolkit-> Use Web Toolkit project.

Here are the arguments I'm working with, check for consistency:

 -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -port auto - codeServerPort 9997 -war /Users/ievgennaloiko/Documents/helpdesk/samples/DynaTable/war com.google.gwt.sample.dynatable.DynaTable 
0
source

All Articles