noushadali / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
0 stars 0 forks source link

cn not run code generation in eclipse #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 
I was following IDE setup steps as explained on wiki.
Till step 7 everything went well.
But then I tried to run launch files I got following error:
"Launch configuration 1 Generate Items Model references non-existing project 
org.openhab.model.codegen."
and nothing was configured.
I also tried to switch to Java perspective as it was explained in the comments, 
but still same issue.
By the way yoxos installed the eclipse 4.2.1 (which is milestone version I 
suppose). Is it version which is expected?

Could you tell want is wrong ?

Original issue reported on code.google.com by ramazany...@gmail.com on 8 Dec 2012 at 12:56

GoogleCodeExporter commented 9 years ago
Thanks for noticing. This seems to be due to a recent update of 
MercurialEclipse - it now creates a single project ("openhab") in the workspace 
instead of importing all contained projects.
As I couldn't find a way to make it work as it used to, I have now changed the 
IDESetup wiki page to ask you to do a repository checkout from the command line 
and then import the projects as "existing projects" into Eclipse, which I 
usually do anyway. This should hopefully work for you as well.

Btw, Eclipse 4.2.1 is the most recent official release, so not a milestone.

Original comment by kai.openhab on 8 Dec 2012 at 5:44

GoogleCodeExporter commented 9 years ago
thanks, after you fix I was able to setup eclipse environment 

Original comment by ramazany...@gmail.com on 8 Dec 2012 at 11:14