Code reuse in build file by creating a general ant task to create jars.