• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

How to import sample GWT code into eclipse project

 
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I download the sample code from
Using Servlet Sessions in GWT – Tutorial

but there is no .project file, I want to know how to import this source folder into eclipse and run it?
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, there is no direct way of importing it. Have you got the GWT+Eclipse plugin installed? If yes, then you will have to copy paste the downloaded code and refactor it a bit.

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,
Why don't you just create your own .project file? Copy an existing one and substitute out your project-specific properties in notepad.

Good Luck!
Philip
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Philip Thamaravelil wrote:Peter,
Why don't you just create your own .project file?


This might not work. The project structure of this download is different than the project structure of the latest GWT project
 
Philip Thamaravelil
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:

Philip Thamaravelil wrote:Peter,
Why don't you just create your own .project file?


This might not work. The project structure of this download is different than the project structure of the latest GWT project




Maneesh,
Thanks for your comment. This doesn't matter. Once the .project file is created and the project is imported into your eclipse workspace, you can update your resource paths accordingly.
I have personally done this with a GWT project in servlets and also with Liferay Portal portlets. The basic project file essentially contains a project name, and a few build parameters.

Cheers,
Philip
 
I don't always make ads but when I do they're tiny
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!