This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes migrating my webapp to Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "migrating my webapp to Eclipse" Watch "migrating my webapp to Eclipse" New topic

migrating my webapp to Eclipse

Tontang Bei
Ranch Hand

Joined: Oct 21, 2006
Posts: 130
I have a webapp that I run on Tomcat that I made with a simple editor. I now want to open this and work on this project inside eclipse. How can I do it?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32481

You can import the .war file into Eclipse. If you don't have a war file, just zip up the tomcat directory for the app and name it app.war.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Tontang Bei
Ranch Hand

Joined: Oct 21, 2006
Posts: 130
Hi Jeanne,
Thanks for your reply. I warred up the app as your suggested. But Im still not sure how to get this thing up and running in eclipse. I first created a web project in eclipse, and then wen to file->import->archive file. But now I have a whole bunch of errors, and the directory structure to the left looks all screwed up. The errors are mainly due to none of packages being found. Also because I had to create a project first, the unwarred project has become a subproject or something it seems
[ May 27, 2007: Message edited by: Tontang Bei ]
Have you checked out Aspose?
subject: migrating my webapp to Eclipse
It's not a secret anymore!