Lydon Ch
Lydon Ch

Reputation: 8815

How to import existing java web projects with ant build.xml

I am trying to import an existing java web projects (built using ant build.xml) into Eclipse, using the Import functionality, but Eclipse does not recognize it as a project.

How can I import the projects into eclipse?

--- Edit --- What I did was to import the project as Java project. Yes there is an option in Eclipse 3.5 to import ant project into eclipse. New Project -> Java Project -> Import Ant project(or something similar).

Upvotes: 2

Views: 11685

Answers (1)

Jessica Chiang
Jessica Chiang

Reputation: 1046

For Juno, do File->New->Other, then select File -> New -> Other, and at the New dialog, select Java Project from Existing Ant Buildfile

Upvotes: 3

Related Questions