Category Archives: Projects

Soil moisture to graph

I did some extensions to my Ardulink MQTT project. My plan was to have a graph of the values of the two analog sensors connected to the Arduino. So this is what I did in general: Deploy the Ardulink sketch … Continue reading

Posted in Android, Hardware, Java, Projects | Tagged , , | Leave a comment

Of tomatos, arduino, mqtt and USB

What have all the things in common? Nothing but the involvement in my current project.  🙂 The trigger was that I wanted to have an automated watering system for my plants. Yes, there are existing projects like garduino or gardenbot. … Continue reading

Posted in Hardware, Projects | Tagged | 1 Comment

Building a github project using maven and deploying to bintray

I did not find a way to deploy artefacts using maven directly to bintray like I did for deploying to oss-sonatype.   So I used the default parent-pom and called mvn release:prepare followed by mvn release:perform -Darguments=”-DaltDeploymentRepository=tmp::default::file:///tmp/repo” and uploaded the … Continue reading

Posted in Java, Projects, Tips | 1 Comment

Java command line argument processing — alternative

3 years ago I did post how to parse command line parameters using args4j. Since I opened two issues on problems without reactions for several days I am considering to give a try to JCommander.

Posted in Java, Projects | Leave a comment

Writing integration tests for sending emails

I searched several times for SMTP servers that can be started during my integration/component tests for asserting that my email components are ok. All of them were hard to include or dod not support the full range of features (e.g. … Continue reading

Posted in Java, Projects, Tips | Leave a comment

Store your project’s binaries

https://bintray.com/ Bintray is a social service for developers to publish, download, store, promote, and share open source software packages. With Bintray’s full self-service platform developers have full control over their published software and how it is distributed to the world.

Posted in Projects | Leave a comment

Why you should NOT use log.isDebugEnabled()

Several people are telling you that you should wrap all logging statements by a isXXXEnabled method call (where XXX is the logging level) to prevent unecessary object creations. I do not recomment this! -It’s not part of your business logic … Continue reading

Posted in Java, Projects, Tips | 2 Comments