Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » New Project Wizard Tasks Are Funky (w.t.f)
New Project Wizard Tasks Are Funky (w.t.f) [message #1689984] Tue, 24 March 2015 20:08 Go to next message
Ian Coleman is currently offline Ian ColemanFriend
Messages: 2
Registered: March 2015
Junior Member
Hi Eclipse pros,

I have a project in git. It is built with an Ant file. I've taken about ten runs at getting Eclipse to make a project out of it, with little luck. In fact, it seems like if I run through the git clone, project setup three times, taking the same steps, I get three outcomes. I realize I'm probably at fault.

The project is in git, it has an ant build.xml file, and it's a (non-standard) JSF based application. So essentially a Java EE webapp.

Anyway, I'm able to get Eclipse to checkout the git project, and things seem to work fairly well until I get to "Select a wizard to use for importing projects". Initially I tried to choose Java -> Java Project from Existing Ant Buildfile. I added a project name and chose the build.xml file and hit OK.

This resulted in a Package Explorer with a a src/ directory, a "Referenced Libraries" entry, and build.xml in the root of the Project Explorer. When I look at it in the filesystem explorer, in the workspace, it's completely empty except for .classpath, .project, and build.xml.

(There is also an option to check "Link to the buildfile in the file system." I have no idea what that means, and the context help gives no clue either).

But wait, there's another directory that my project was actually checked out to in the workspace.

It appears to be building automatically, but not actually building any artifacts. If I right-click on the project name, and Properties, there's no Ant builder, only a Java Builder that can't be configured.

Is there some other Wizard that Eclipse provides that's a bit more...um...wizardly?

Thanks!

--Ian



Re: New Project Wizard Tasks Are Funky (w.t.f) [message #1690084 is a reply to message #1689984] Wed, 25 March 2015 07:59 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4003
Registered: July 2009
Senior Member

Was there not a .project file, and other project metadata, committed to the repository?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: New Project Wizard Tasks Are Funky (w.t.f) [message #1690178 is a reply to message #1690084] Wed, 25 March 2015 15:08 Go to previous message
Ian Coleman is currently offline Ian ColemanFriend
Messages: 2
Registered: March 2015
Junior Member
Hi Nitin,

Quote:
Was there not a .project file, and other project metadata, committed to the repository?


No, this is a non-eclipse JBoss/JSF application that's built by executing the ant target. (i.e. `ant clean dist`). I'm trying to import it into my Eclipse workspace.
Previous Topic:Add an Eclipse 4.4 perspective into an existing Eclipse 3 RCP application
Next Topic:New Mac Eclipse user
Goto Forum:
  


Current Time: Sat Mar 06 23:31:31 GMT 2021

Powered by FUDForum. Page generated in 0.03510 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top