wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Importing an Existing Web Application in MyEclipse 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 "Importing an Existing Web Application in MyEclipse" Watch "Importing an Existing Web Application in MyEclipse" New topic
Author

Importing an Existing Web Application in MyEclipse

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,
For some reasons we need to shift from JDeveloper to MyEclipse.

We are having a Web Application structure .

Please tell me how can i import an Existing Web Application into MyEclipse .

Please tell me , Thanks in advance .


Save India From Corruption - Anna Hazare.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

Do you have an Ant build.xml file? If so, in the New Project dialog select the "Java Project from Existing Ant Buildfile" option.

To manually load an existing project, this is what I do:
1) Create a new project, using the appropriate project kind (perhaps a Dynamic Web Project in your case)
2) Using OS tools (cp, Explorer, a file manager, etc.), copy the existing files into the new project's directory. You can do this a a single copy which retains your original directory structure, or you can be more selective and copy directories of files to new locations. For example, I often rearrange the directory structures of old projects to more closely align with the basic Maven directory structure.
3) Back in Eclipse, select the project and hit F5 - that will refresh the project and the files now show up.
4) Do any necessary cleanup such as identifying the Java source directories.


JBoss In Action
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you very much .

We don't use Ant or Maven here .

I did not understand the second Point what you specified .

Can you point out any link which describes this .

Thanks in advance .
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

A link that describes copying files?
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

David Newton wrote:A link that describes copying files?


:(

I mean any Eclipse Tutorial which describes how to import a Web Application .
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The steps given above are a good place to start.
 
wood burning stoves
 
subject: Importing an Existing Web Application in MyEclipse
 
Similar Threads
How to configure mapviewer.ear file in MyEclipse
How to find out Memory Leakage of a Web Based Application in MyEclipse
Need exact IDE to developing a web application using JAVA
Can anybody tell me how to work with ANT in myeclipse?
Struts-Spring-Hibernate combination.