4refr0nt / ESPlorer

Integrated Development Environment (IDE) for ESP8266 developers
http://esp8266.ru/esplorer/
GNU General Public License v2.0
1.23k stars 325 forks source link

Cleanup project and automate build with Maven and GitHub Actions #86

Closed olebed closed 4 years ago

olebed commented 4 years ago

Hi! 113 files changed - sound a bit scary but it is not. Most files simply moved around - that is why the number is that big.

The goals of the PR are the following:

The project structure in the PR follows Maven conventions. Building the project as easy as running mvn.cmd clean package. The build produces all-in-one executable ESPlorer.jar, run it via java -jar target/ESPlorer.jar.

Even though there is no Netbeans files in the project it should be easily recognizable by Netbeans - worked for me, I checked. The only thing which worries me a bit - opening ESPlorer.form ("Design mode in Netbeans") produces a set of warnings/errors. It seems like the original version does the same so I assume I did not brake this part.

The libraries were upgraded to the latest ones, no need to keep jars next to the source code - Maven will download them.

I added a build in GitHub actions which generates distributable ESPlorer.zip. Go to Actions tab -> Click on the latest commit. There should be a "ESPlorer" package available for download. The package is built every time after the repo is updated.

Testing I have tested the app only in Linux / Java 14. The app starts and able to communicate with ESP8266 - I did not test anything else.

Could you please check the following:

If the checks above pass then it should be safe to merge the PR. Hope you like the change :wink:

olebed commented 4 years ago

The latest package could be downloaded here: https://github.com/olebed/ESPlorer/actions/runs/338494913