My favourite IDE is even better than before. The new release (version 15) is available from 2nd of November 2015.
Dropwizard is hot and ready to serve resources so it’s time to create the first HTTP API endpoint and make our app useful. In this post I will prepare endpoint which return random clean code rule.
Continue reading “API endpoint in one minute with Dropwizard”
In the previous Gradle series post we built Wrapper to execute Gradle tasks without installed version on your machine. It’s time to write some code and make our project useful. In this post Gradle will help us to start a web server.
To make it happened we need:
When the new OS version is ready to install a lot of developers are asking a question: Is everything will work after upgrade right after the release date? But not OS X users.
Unfortunately after upgrade to El Capitan 10.11 (from Yosemite) my command line git stopped work. I got such message:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ! Git appears to be installed incorrectly ! Ensure that `git --version` outputs the version correctly.
Continue reading “How to fix git after upgrade to El Capitan?”
After the holiday break thanks to the WebOn company I had an opportunity to attend in JavaZone 2015 conference in centre of Oslo.
I will not write about details of the conference. All the information you can check on their cool website. I will focus on my personal impression after the conference.
Next to the coding stuff I would like to share at least part of my way of working, source of the motivation and positive approach to do things with pleasure.
Quote from the title perfectly describes the first state that I strongly negate: routine
The first rule of using deprecated classes is to do not use deprecated classes. If you have to use such class then double check how to avoid such situation and find newer implementation of deprecated class (most of the time the new alternative solution is provided). But if you really forced to use deprecated class (e.g. 3rd-party library) then during class compilation (compileJava and compileTestJava Gradle tasks) you will get below warning:
Note: <path_to_your_class_where_deprecated_class_is_used>.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
I will show you few solutions how to disable this warning.
Continue reading “Use @Deprecated Java class without compilation warning”
As you probably saw in my code examples I like RPG games (some others also) so I can’t miss out Dungeons & Dragons promotion on GOG.
Weekend promo offers excellent choice of the titles: