wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
internet detective

Joined: May 26, 2003
Posts: 30057

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.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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 ]
Don't get me started about those stupid light bulbs.
subject: migrating my webapp to Eclipse
Similar Threads
Web app deployment error
Eclipse + Maven + Tomcat
Spring tutorial for eclipse?
Not Able to see Tomcat 6 Welcome Page
Configuring multiple instances of tomcat in eclipse using tomcat plugin