Every now and then we have to establish a new development environment on our machine. Installing lots of tools can get really cumbersome as we are obliged to remember what we need and in what order the installations should be run. In this post I will show you an example bash script that I use for installing a base set of tools. The script can be easily customized and you can fork it on GitHub and adjust to your needs. I strongly recommend using this in your company to make sure that every programmer will be able to install all tools required to work on a given project in a matter of minutes.
When updating to Java 11 from an older version of the language, make sure that your development environment is up to date. Otherwise you will receive the “Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project: Fatal error compiling: invalid target release: 11” error while building a project with Maven. Follow the checklist in this post to adjust the required settings for building a Spring Boot application.
If you use git to secure the outcome of your work frequently, the code responsible for one functionality may be scattered across many commits within a feature branch. You can still commit a unit of work as a whole even if you pushed it to the origin in several stages.
There are many responsive and elegant themes available for free that you can use for polishing the presentation layer of your project. But almost always there is a need to add some adjustments to them and in this post you can see how custom styles can be included while the assets are being built with gulp.
To make sure you will never lose your code, store your project on an online repository hosting service. No matter if you already have some work in progress on your local machine, or you are starting the project from scratch – backup your code online as soon as possible.