To add custom banner you need to create banner.txt and add it to classpath of your application.
Today was faced with strange bug during upgrade of Gradle template developed by Netflix to support recently released Gradle 2.0. The bug was connected with unable to run FindBugs, by the way this tool also released a support for Java 8 recently.
Fortunately step-by step it was clear that this is not due to Gradle 2.0 or updated FindBugs, it’s a miracle but strange hanging behaviour was related to added JCenter Maven repository before Maven Central repository, when this setting was reversed everything started to work here is a link to commit https://github.com/webdizz/gradle-template/commit/2b93fa80f9b1bac3c27f339d0cf3d33ab8e9873e.
Here are 2 great articles I found out regarding ways to manage process for *nix:
Recent 2 days were just amazing, if you ask me why here is an answer – I was at JEEConf in Kyiv.
It was quite good conference with lot of option to get some fresh ideas in software development with Java. Among speakers from Ukraine there were a lot from other countries like UK, USA, Switzerland, Germany, Egypt, Greece, Sweden, Poland, Netherlands and Russia etc.
I need to mention that organization was well done, there were even lunch for attendees.
As for talks I really liked here they are:
- Don’t tell me how to bring your beer by Yakov Fain
- Java8: Stream Style by Sergey Kuksenko
- Test with Spock and enjoy the life by Evgeny Borisov
- Apache Lucene/Solr Internals by Anatoliy Sokolenko
- OOP paradigms, basics of good design and architecture for Java based systems by Mikalai Alimenkou
- Groovy for Java Developers by Peter Ledbrook
I was among speakers with topic regarding necessity to use metrics in your application and usage of Metrics framework developed by Coda Hale and here is slides to this talk Metrics by coda hale : to know your app’ health
So to recap, thanks to organizers for great conference and ability to take part in it.
Looking forward to be there again next year…
And here is embedded slides:
For those who uses SonarQube to keep an eye on code quality you probably aware there is no abilities to automatically assign issue to it’s author, except commerce plugin for that.
Here is a script with basic usage https://github.com/webdizz/embezzler.
There is quite interesting tool to be used for monitoring of deployed Java application – Metrics.
Metrics provides nice and clean API to produce operation metrics in different aspects like Gauges, Counters, Meters, Histograms, Timers and even Health Checks. As for monitoring and reporting there is a support of JMX and HTTP, also Metrics has integrations with SLF4J, Ganglia and Graphite.
Also there are some additional extension to integrate with such frameworks like:
- Metrics Spring Integration provides full integration with Spring’s IoC and AOP functionality;
- metrics-guice provides integration with Guice;
- metrics-scala provides an API optimized for Scala.
For full list please take a look at this page.
I’ve just finished preparing a demo for my upcoming talk at EPAM SEC 2013 regarding build tool Buildr.
The idea is to demonstrate usage of Buildr for building of some open source projects. I chosen next projects, written in different programming languages, CodeNarc on Groovy, JUnit on Java and spring-scala module on Scala.
It’s ok, I’ve done with switching of build to Buildr, but there is a constraint for talk – I cannot use my laptop to live demo. I was thinking about remote connection, VM preparation, and finally come up with idea to use Travis CI.
After some reading of documentation and playing with Travis CI build configuration I compete my set up, and it just wonderful how it’s easy and pretty straight forward to achieve continuous integration for open source project.
There was one trick though with using of Ruby kind of project to build Java related source code, but it was easily done with help of Bundler to install Buildr and then just execute it’s commands through
bundle exec buildr clean test
Here are my set ups:
Thanks Travis CI for great job.