user1036204
user1036204

Reputation: 175

Importing web project to Eclipse IDE

i have a web project, how can i open this in Eclipse. I just have src folder and WebContent folder. Shall i need to create a web project and then add these two folders or copy them to existing project? Thanks in advance.

Upvotes: 1

Views: 4105

Answers (3)

Secko
Secko

Reputation: 7716

Simply open your project folder as new project in the Eclipse IDE.

File > New > New Project > Create Project at existing location (from existing source) > (select your project folder)

Upvotes: 0

Igor
Igor

Reputation: 91

Create a new project, navigate to the project directory and replace files with the code. Don't forget to press F5 to refresh eclipse after it.

Upvotes: 1

Robert
Robert

Reputation: 3074

If they are part of another project then I would import them otherwise I would just create a new project for them. Either way you'll need to create the project and import the folders into it.

Upvotes: 0

Related Questions