New Project Wizard Tasks Are Funky (w.t.f) [message #1689984] |
Tue, 24 March 2015 16:08  |
Eclipse User |
|
|
|
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 #1690178 is a reply to message #1690084] |
Wed, 25 March 2015 11:08  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.29110 seconds