# Openems no longer builds in Eclipse

**URL:** <https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919>\
**Category:** English Forum\
**Created:** [September 6, 2023, 4:16am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919 "2023-09-06T04:16:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimsterCoder](https://community.openems.io/user_avatar/community.openems.io/jimstercoder/32/790_2.png) [@JimsterCoder](https://community.openems.io/u/JimsterCoder)\
**Post date:** [September 6, 2023, 4:16am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/1 "2023-09-06T04:16:28Z")

</div>

This is an urgent problem was we are/were making progress with openems, only to have this happen.

When I started with openems a few weeks ago it would build but would leave 100+ warnings (despite the Getting Started saying there should be none). I have been running like this for a few weeks.

I just did a pull from github on main and now it does not build. This is very frustrating. It seems many generated files are no longer present.

I am using Ubuntu 22 running in VMware on Mac.

Please let me know what I’m doing wrong. Thanks

![image](https://community.openems.io/uploads/default/original/1X/3ff8b1201ff839c29599587e190199ee90c07484.png)

 ![image](https://community.openems.io/uploads/default/original/1X/4cde3a3f97070d49f40646d30d63f83dcaee65a7.png)

---

<div class="post-metadata">

**Author:** ![JimsterCoder](https://community.openems.io/user_avatar/community.openems.io/jimstercoder/32/790_2.png) [@JimsterCoder](https://community.openems.io/u/JimsterCoder)\
**Post date:** [September 6, 2023, 4:30am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/2 "2023-09-06T04:30:17Z")

</div>

Ok, I’ve discovered the openemsEdge does actually run when started by clicking “Run OSGi”, which I find strange. All ‘Problems’ have disappeared.

I would appreciate an explanation of what has gone on here.

 ![image](https://community.openems.io/uploads/default/original/1X/1c253a9af7375f651eb16e4e4301702717ee070b.png)

---

<div class="post-metadata">

**Author:** ![Sn0w3y](https://community.openems.io/user_avatar/community.openems.io/sn0w3y/32/636_2.png) [@Sn0w3y](https://community.openems.io/u/Sn0w3y)\
**Post date:** [September 6, 2023, 6:22am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/3 "2023-09-06T06:22:00Z")

</div>

It seems you are also using it in a commercial way as you told us “This is an urgent problem was we are/were making progress with openems”

Well, what if you share your progress with us ? 🙂  
Greetings !

---

<div class="post-metadata">

**Author:** ![stefan.feilmeier](https://community.openems.io/user_avatar/community.openems.io/stefan.feilmeier/32/2585_2.png) [@stefan.feilmeier](https://community.openems.io/u/stefan.feilmeier)\
**Post date:** [September 6, 2023, 7:13am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/4 "2023-09-06T07:13:28Z")

</div>

Hi @JimsterCoder,

a broken release can actually never happen, because we implemented automated builds and tests via Github Actions ([Build OpenEMS · Workflow runs · OpenEMS/openems · GitHub](https://github.com/OpenEMS/openems/actions/workflows/build.yml)) - so these kind of errors are usually caused by the developers computer.

While stability of Eclipse IDE with bndtools improved a lot in the past years, and I have not seen these kind of errors a lot anymore, these tips could still be useful:

> [@Build in Eclipse fails with many errors](https://community.openems.io/t/build-in-eclipse-fails-with-many-errors/263/2):
>
> Hi, yes… this can happen from time to time. Most likely Eclipse did not recognize latest file changes. Here are some tips to get rid of build errors in Eclipse: Select all bundles in “Bndtools Explorer” (Ctrl + A) and press F5 to refresh them. This helps, if Eclipse did not recognize no files in existing bundles. Open File → Import in the menu and select Bndtools → Existing Bnd Workspace to reimport all bundles This helps, if there were new bundles added in the meantime. Those are not …

Regards,  
Stefan

---

<div class="post-metadata">

**Author:** ![NiallDarwin](https://community.openems.io/user_avatar/community.openems.io/nialldarwin/32/857_2.png) [@NiallDarwin](https://community.openems.io/u/NiallDarwin)\
**Post date:** [September 6, 2023, 8:04am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/5 "2023-09-06T08:04:14Z")

</div>

Hi Sn0w3y,  
Pleased to meet you. Here’s our introduction: [The Infinite Monkey Labs Project](https://community.openems.io/t/the-infinite-monkey-labs-project/1920)  
Niall

---

<div class="post-metadata">

**Author:** ![Sn0w3y](https://community.openems.io/user_avatar/community.openems.io/sn0w3y/32/636_2.png) [@Sn0w3y](https://community.openems.io/u/Sn0w3y)\
**Post date:** [September 6, 2023, 8:10am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/6 "2023-09-06T08:10:53Z")

</div>

Okay, do you plan to Push the Modules into openEMS aswell?

Greetings !

---

<div class="post-metadata">

**Author:** ![NiallDarwin](https://community.openems.io/user_avatar/community.openems.io/nialldarwin/32/857_2.png) [@NiallDarwin](https://community.openems.io/u/NiallDarwin)\
**Post date:** [September 6, 2023, 8:19am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/7 "2023-09-06T08:19:39Z")

</div>

Which modules and on what time frame?

In the short term our own software is almost entirely in C++ and is in no way suitable for integrating with OEMS. Work we do to customise OEMS we will certainly give back to the community.

Longer term it depends on how our relationship with OEMS develops. At the moment we are at first date and don’t want to consider marriage 😉

---

<div class="post-metadata">

**Author:** ![JimsterCoder](https://community.openems.io/user_avatar/community.openems.io/jimstercoder/32/790_2.png) [@JimsterCoder](https://community.openems.io/u/JimsterCoder)\
**Post date:** [September 6, 2023, 10:22am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/8 "2023-09-06T10:22:37Z")

</div>

Thanks. I think that is kind of what I inadvertently did to get it to work. I am not a fan of Eclipse and would prefer to compile/build from the command line. However, I tried the suggested gradlew command line system on my previous Ubuntu machine (LTS20) and it didn’t work. Do you think it will work on my LTS22 machine?

**I would appreciate to hear from anyone out there using gradlew on Ubuntu 22 who can tell me if it works to build openems and what parts can be built with it. Edge, Backend, UI?**

---

<div class="post-metadata">

**Author:** ![stefan.feilmeier](https://community.openems.io/user_avatar/community.openems.io/stefan.feilmeier/32/2585_2.png) [@stefan.feilmeier](https://community.openems.io/u/stefan.feilmeier)\
**Post date:** [September 6, 2023, 10:41am UTC](https://community.openems.io/t/openems-no-longer-builds-in-eclipse/1919/9 "2023-09-06T10:41:09Z")

</div>

We are building our releases on a `ubuntu-latest` docker container. Maybe that helps. See the commands here:

Edge + Backend: [https://github.com/OpenEMS/openems/blob/develop/.github/workflows/release.yml#L26C24-L38](https://github.com/OpenEMS/openems/blob/develop/.github/workflows/release.yml#L26C24-L38)

UI: [https://github.com/OpenEMS/openems/blob/develop/.github/workflows/release.yml#L59-L65](https://github.com/OpenEMS/openems/blob/develop/.github/workflows/release.yml#L59-L65)
