“Invalid project description”, importing from GIT repo problem

前端 未结 13 2239
清酒与你
清酒与你 2020-12-15 17:49

After copying my GIT repo from a PC computer onto my MAC, i can\'t seem to import it to an eclipse. Import happens via eGit plugin directly from existing local

13条回答
  •  忘掉有多难
    2020-12-15 18:32

    Ok, i'll try to sum it up, after I faced similiary problems and wasted some time:

    Eclipse Juno /4.2 SR1 (however I think it is a general misunderstanding of how ecplise imports projects)

    1. If you want your new project "connected" to git/mercurial, you'll have to clone and import via "Import/Git/Import from Git"
    2. The import will fail if your "workspace dir" equals the "local destination dir". A git clone via egit MUST NOT be placed! in the "eclipse workspace dir"!

    The project import will fail because the projectname in the cloned ".project file" allready exists in the eclipse workspace dir when the import occurs.

    Hope this saves some time.

提交回复
热议问题