aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How to import a project by build.xml in Eclipse 3.5.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to import a project by build.xml in Eclipse 3.5.2" Watch "How to import a project by build.xml in Eclipse 3.5.2" New topic
Author

How to import a project by build.xml in Eclipse 3.5.2

Rico ZHANG
Greenhorn

Joined: Apr 28, 2008
Posts: 10
Hi Guys,


I haven't worked on Java stuff for a while, and recently I need to work on a project with Eclipse. I got a problem when I tried to import a project with a ant build.xml file, I cannot found how to do that any more.

I remember it should show up in the list when I select import a project.now it is not there any more.

Could anyone help me out with that?


Cheers
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19762
    
  20

Moving to our IDEs forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Use eclipse function*import project* . you can copy the project into eclipse workspace by Ant but Still you need to entry the project in .metadata of workspace
Rico ZHANG
Greenhorn

Joined: Apr 28, 2008
Posts: 10
The thing is I cannot find where to import the project by ant. I remember in old version of Eclipse, there was a option called "Import existing project by ant " or something when I tried to import a project. I cannot find it now.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Rico ZHANG wrote: I remember in old version of Eclipse, there was a option called "Import existing project by ant " or something when I tried to import a project. I cannot find it now.


you can find *Ant build file* in export , not in import.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

It has been moved to File | New | Project | Java Project From Existing Ant Build File


JBoss In Action
Rico ZHANG
Greenhorn

Joined: Apr 28, 2008
Posts: 10
Thanks Peter, this is exactly what I was after.
 
 
subject: How to import a project by build.xml in Eclipse 3.5.2