erlide_eclipse icon indicating copy to clipboard operation
erlide_eclipse copied to clipboard

How to import an erlang project, from cloned GIT repository via EGit?

Open drapostolos opened this issue 12 years ago • 5 comments

I have cloned a git repo, using egit in eclipse. the repo is visible in the "Git Reopsitory Exploring perspective" image

  • I right click on my repo -> Import Projects...
  • "Use New Project wizard" -> Finish
  • Choose erlang project -> next image

Enter project name -> Next image

Now when I click "Discover Paths..." i get the below error message. What could be the problem? What am I doing wrong?

image

If I skip the "discover Paths..." step then it works ok and my project is created, but then I need to manually add all my src and include folders (it's a very large project) which is a pain. Perhaps also add a "Discover Paths..." option from this view as well? image

drapostolos avatar Nov 22 '13 14:11 drapostolos

Hi, the "discover paths" functionality works if the source code is already checked out, I suspect that when using the wizard from the git repository view not everything is known to eclipse yet.

Soon, I will commit changes that will allow to discover paths from the project properties dialog and even better, enable to detect configuration from rebar.conf or Emakefile (if present).

vladdu avatar Nov 22 '13 15:11 vladdu

Looking forward to the new changes :)

/Alex

drapostolos avatar Nov 25 '13 08:11 drapostolos

By the way, would be nice to have an "Import Erlang projects..." or "Import Rebar projects..." options in the GIT Repository Exploring (when right clicking on a repo), similar to how it is done for Maven projects.

image

drapostolos avatar Nov 25 '13 12:11 drapostolos

Good idea!

On Mon, Nov 25, 2013 at 1:52 PM, Alexander Poulikakos < [email protected]> wrote:

By the way, would be nice to have an "Import Erlang projects..." or "Import Rebar projects..." options in the GIT Repository Exploring (when right clicking on a repo), similar to how it is done for Maven projects.

[image: image]https://f.cloud.github.com/assets/2085564/1613038/2970f3ee-55d0-11e3-8e37-b2c9841c4df1.png

— Reply to this email directly or view it on GitHubhttps://github.com/erlide/erlide/issues/132#issuecomment-29199047 .

vladdu avatar Nov 25 '13 12:11 vladdu

Last idea is tracked in https://www.assembla.com/spaces/erlide/tickets/1301

vladdu avatar Dec 02 '13 13:12 vladdu