Build openhab in eclipse takes long time

I set up the IDE for developing in OpenHAB.
Problem is, that always when i want to start eclipse. The build process takes 10 - 15 Minutes.
When I installed eclipse, I selected all github repos from openHAB ( inclusive OpenHAB 1 addons , …)
Somebody has an idea to speed up the process?
Which repos are necessary to get OpenHAB run?
I want to work on the RestAPI in eclipse/smarthome.

Kick out Tycho :wink:
But seriously, pimp your PC and inet connection or live with it.
(@kai will love me for that comment, here’s the story).

1 Like

As written in step 4 in the docs, all you need is “openHAB Development”.
This will set up the IDE with an almost empty workspace (i.e. there is NOTHING to compile or build) and you can run the launch config to start up the whole openHAB instance.
So if you are working e.g. on a binding development, you can then simply import your own binding project and you are ready to go - your project will nicely compile and you can debug it from within the IDE.

(@mstormi Sorry, but this neat stuff is only possible with Tycho and kicking it out would tremendously complicate the development for people, so that’s no good advice at all. :stuck_out_tongue: )

2 Likes

I forgot to put the proper smiley, sorry for that, I thought the wording was sufficient to make that obvious.

1 Like

No worries, I also just now added mine above :innocent:.

1 Like