}
// ok, we're ready to generate code. make sure the
// output directories exist.
Output dir = options.output;
Output templateDir = options.templateOutput;
String m = module.name().name;
if (m.length() > 0)
{
dir = dir.newPackage( m );
templateDir = templateDir.newPackage( m );
}
// generate code for each service.
for (Service intf : module)