swisstech.net

tech and photography

A comprehensive guide on how to generate Java sources from a WSDL file using WSDLToJava within a Gradle build, including a workaround for handling erroneous exit codes from the tool.

An explanation of the difference between configuration time and execution time in Gradle tasks, and how to use doLast or << to ensure code is executed at the correct time.

A simple shell function to automatically switch between different Maven settings.xml files based on the current network environment, useful for when you’’re moving between work and home.

A quick guide for experienced Linux users on how to set up a local Postfix server to act as a relay to Amazon Simple Email Service (SES).