• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to import sample GWT code into eclipse project

 
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic