Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » importing project from git
importing project from git [message #1092600] Thu, 22 August 2013 21:47 Go to next message
thorsten meier is currently offline thorsten meier
Messages: 7
Registered: April 2012
Junior Member
hi,

importing this:
git://gitorious.org/acal/acal.git

(i know that android related questions dont belong here)

with "import existing project" gives me packages like:

src.com.morphoss.acal.contacts


since this http://www.morphoss.com/products/android/aCal is the homepage i believe eclipse does import the code incorrectly. does this mean that this code cant be imported as "existing project" and i have togo all the "new android project" steps?


greetings
Re: importing project from git [message #1092659 is a reply to message #1092600] Fri, 23 August 2013 00:04 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2237
Registered: July 2009
Senior Member
It looks more like the .classpath file wasn't committed into the Git repository. Editing the project's Java Build Path (open the project's Properties Dialog) and changing "src" to be a Source Folder rather than the project folder itself will probably correct it.

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: importing project from git [message #1093729 is a reply to message #1092659] Sat, 24 August 2013 11:07 Go to previous message
thorsten meier is currently offline thorsten meier
Messages: 7
Registered: April 2012
Junior Member
ok, i clicked on "add folder" marked src and clicked ok. eclipse did ask me something like if i dont want to include src as source folder which i DENIED and now its working.

weird, but the eclipse view now shows that src is a folder and contains the packages com.xyz.xyz
----
but now i have this:
http://s10.postimg.org/v29qdb8g9/acal_package_or_not.jpg

as you can see at the top config is recognized as a package, but if you look inside the file: Constants.java it says:
package com.morphoss.acal;


what did happen there?
Previous Topic:More Text Folding
Next Topic:Help with .substring()
Goto Forum:
  


Current Time: Wed Jul 30 15:32:53 EDT 2014

Powered by FUDForum. Page generated in 0.02293 seconds