Sib
Sib

Reputation: 31

No option for importing Java project from existing Ant build file in Eclipse Indigo

I am trying to import a Java project with an Ant build file into Eclipse, but am unable to find the option to do so.

I looked under: File -> New Project -> Java

but the only option there is Java Project

How do I get the functionality for importing from an Ant build file?

I am using Eclipse Indigo on Ubuntu 12.04

Thanks.

Upvotes: 3

Views: 3560

Answers (2)

tenorsax
tenorsax

Reputation: 21233

Make sure to select Project and not Java Project under New menu item, this will pop up New Project wizard dialog with more options. Try:

File->New->Project->Java->Java project from existing Ant Buildfile.

Upvotes: 3

Sujay
Sujay

Reputation: 6783

Make sure you're in the Java perspective. Then click on File >> New >> Project >> Java Project from Existing Ant Buildfile

Upvotes: 1

Related Questions