-
Wed 8:30 - 10:30 Congress Hall
Keynote Magnus Frodigh -
Wed 11:00 - 11:15 E3
Generative Secure Design, Defined
This short tutorial will show you how to use Gradle together with Eclipse and JUnit. Gradle is a build-automation tool that is aimed at making it easy to share build environments between developers.
We will assume that you have already installed Eclipse. Do not install the Gradle Eclipse plugin, as you will not need it (but you might want to check it out later).
- Start by following the installation tutorial of Gradle, which lists a number of options for different platforms. If you are unsure which one to choose, you should probably go for the Install Manually option.
- After having installed Gradle, follow the tutorial on creating a minimal java application. The resulting application also contains a minimal JUnit 4 test suite, for which you will be able to get an html test report. When sharing a project, you may check in all the files except the
Here is a guide on how to get running a minimal project using emqttc.
- Install rebar3 (https://www.rebar3.org). You may look for it in your distribution or just install it from the website.
- Create a project. We will create a library project, which is good for experimenting. Later, when you want to build an actual application, you should create an app project or a release project.
$ rebar3 new lib emqtcc_minimal_project
This will create a directory emqtcc_minimal_project
in your CWD with project structure in it.