# IDE setup

**URL:** <https://community.openhab.org/t/ide-setup/89527>\
**Category:** IDE & Build\
**Created:** [January 4, 2020, 3:56pm UTC](https://community.openhab.org/t/ide-setup/89527 "2020-01-04T15:56:12Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus7017](https://community.openhab.org/user_avatar/community.openhab.org/markus7017/32/39859_2.png) [@markus7017](https://community.openhab.org/u/markus7017)\
**Post date:** [January 4, 2020, 3:56pm UTC](https://community.openhab.org/t/ide-setup/89527/1 "2020-01-04T15:56:12Z")

</div>

I tried to setup a fresh 2.5.x install based on the lastest repo. I selected OH Dev and Addons in the istaller, the setup tasks are performed without errors, but the result shows no OH Addons projects.

 ![Screen Shot 2020-01-04 at 10.46.17](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/8/f/8f86c5668091686b1d92e8a2b18f9cbcbfd4815f.png)

 ![Screen Shot 2020-01-04 at 10.47.21](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/e/7/e74344e5d1f52f114d358149a5a093750d5cf2d1.png)

 ![Screen Shot 2020-01-04 at 10.48.53](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/5/7/579cc1c233bd0be06c8f018a0d48b2814e29463a.png)

 ![Screen Shot 2020-01-04 at 10.52.18](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/f/bf3a38b1e3c35f71140c0ee34cfdf0c81a5cc363.png)

even after switching to branch 2.5.x the addon tree was not initialized

 ![Screen Shot 2020-01-04 at 10.52.18](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/f/bf3a38b1e3c35f71140c0ee34cfdf0c81a5cc363.png)

Is there anything changed in the setup process? Any action required in addition?

I tried this on. 2 machines with same result.

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [January 4, 2020, 4:59pm UTC](https://community.openhab.org/t/ide-setup/89527/2 "2020-01-04T16:59:04Z")

</div>

> [@markus7017](#):
>
> I tried to setup a fresh 2.5.x install based on the lastest repo

I just did a fresh install from the Stable repo a few minutes ago. if are using a snapshot then open a GitHub issue.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/e/9/e9a5bd65ba0f667645e35c5c2a3341cb18100aaa.png)

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [January 4, 2020, 5:29pm UTC](https://community.openhab.org/t/ide-setup/89527/3 "2020-01-04T17:29:29Z")

</div>

@Bruce_Osborne , Markus is talking about the IDE setup, not openHAB setup.

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [January 4, 2020, 5:32pm UTC](https://community.openhab.org/t/ide-setup/89527/4 "2020-01-04T17:32:29Z")

</div>

OK. I misunderstood since it is in the Announcements area

---

<div class="post-metadata">

**Author:** ![markus7017](https://community.openhab.org/user_avatar/community.openhab.org/markus7017/32/39859_2.png) [@markus7017](https://community.openhab.org/u/markus7017)\
**Post date:** [January 4, 2020, 8:12pm UTC](https://community.openhab.org/t/ide-setup/89527/5 "2020-01-04T20:12:09Z")

</div>

> [@Bruce\_Osborne](#):
>
> OK. I misunderstood since it is in the Announcements area

Correct, topic is " [Development of openHAB 3.0.0 and 2.5.x](https://community.openhab.org/t/development-of-openhab-3-0-0-and-2-5-x/89376)" + we need to move the PR to the 2.5.x branch, which seems to be broken, so I can’t start on that.

Did someone did an IDE setup during the last days?

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [January 4, 2020, 8:49pm UTC](https://community.openhab.org/t/ide-setup/89527/6 "2020-01-04T20:49:43Z")

</div>

> [@markus7017](#):
>
> Did someone did an IDE setup during the last days?

I think this is one of the threads I saw.

> [@How to create a binding for 2.5.x](https://community.openhab.org/t/how-to-create-a-binding-for-2-5-x/88887):
>
> Hi, I have a quick question. I want to Experiment with a new binding in my local environment (2.5.x). I don’t want to contribute something right now, I just need to build the binding based on 2.5.x. I followed the developer guide which is very helpful. The only problem I am facing is that the build environment is based on master. I didn’t find anything in the guide about how to switch between branches. Does anyone have some guidance how to do this? I tried to change the version in the pom.xml…

---

<div class="post-metadata">

**Author:** ![D-H-P](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@D-H-P](https://community.openhab.org/u/D-H-P)\
**Post date:** [January 6, 2020, 6:42pm UTC](https://community.openhab.org/t/ide-setup/89527/7 "2020-01-06T18:42:52Z")

</div>

> [@markus7017](#):
>
> Did someone did an IDE setup during the last days?

I also did a fresh install with the same problem today. The following steps solved that problem on my machine:

1. Checkout openhab-addons branch “2.5.x”
2. mvn clean install
3. Perform setup Tasks again in Eclipse

---

<div class="post-metadata">

**Author:** ![markus7017](https://community.openhab.org/user_avatar/community.openhab.org/markus7017/32/39859_2.png) [@markus7017](https://community.openhab.org/u/markus7017)\
**Post date:** [January 7, 2020, 2:23am UTC](https://community.openhab.org/t/ide-setup/89527/8 "2020-01-07T02:23:17Z")

</div>

Yes, I could confirm. If you manually checkout the addons you are able to run the build.

---

<div class="post-metadata">

**Author:** ![darkspirit510](https://community.openhab.org/user_avatar/community.openhab.org/darkspirit510/32/114365_2.png) [@darkspirit510](https://community.openhab.org/u/darkspirit510)\
**Post date:** [January 11, 2020, 11:35am UTC](https://community.openhab.org/t/ide-setup/89527/9 "2020-01-11T11:35:19Z")

</div>

> [@D-H-P](#):
>
> Perform setup Tasks again in Eclipse

How did you do this?

---

<div class="post-metadata">

**Author:** ![hilbrand](https://community.openhab.org/user_avatar/community.openhab.org/hilbrand/32/72354_2.png) [@hilbrand](https://community.openhab.org/u/hilbrand)\
**Post date:** [January 11, 2020, 1:18pm UTC](https://community.openhab.org/t/ide-setup/89527/10 "2020-01-11T13:18:20Z")

</div>

In general I would say it’s not the most optimal solution to select openhab-addons during eclipse installation. Just clone your fork of the openhab-addons repository in the git directory created by the Eclipse installation. Then checkout the `2.5.x` branch and import _only_ the bindings you actual want to develop on. You can simply import a single binding in Eclipse as a maven project. If you only want to test a binding you don’t need to import it, but you can simply add the binding as described in the openHAB documentation page on Eclipse. It’s also not needed to build the whole openHAB-addons repo with maven. You can simply build only the project you are working on to get the binding jar. This is also described in the openHAB documentation.

---

<div class="post-metadata">

**Author:** ![markus7017](https://community.openhab.org/user_avatar/community.openhab.org/markus7017/32/39859_2.png) [@markus7017](https://community.openhab.org/u/markus7017)\
**Post date:** [January 11, 2020, 4:35pm UTC](https://community.openhab.org/t/ide-setup/89527/11 "2020-01-11T16:35:51Z")

</div>

> [@hilbrand](#):
>
> In general I would say it’s not the most optimal solution to select openhab-addons during eclipse installation

That’s correct. Nevertheless the installation routine should support this as it was with previous IDE setups. Otherwise that installation option doesn’t make sure. I’m pretty sure that is a roadblock new developers will hit and drives them nuts.

---

<div class="post-metadata">

**Author:** ![D-H-P](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@D-H-P](https://community.openhab.org/u/D-H-P)\
**Post date:** [January 11, 2020, 8:04pm UTC](https://community.openhab.org/t/ide-setup/89527/12 "2020-01-11T20:04:59Z")

</div>

Help \> Perform Setup Tasks…
