File dd = new File(basedir, sd.get(file));
try {
Properties env;
if (buildPlatformSpecific) {
env = createBuildPlatformSpecificEnvironment();
new ScriptCreator(env).create();
} else {
env = createEnvironment(cf, dd, WINDOWS);
new ScriptCreator(env).create();
env = createEnvironment(cf, dd, UNIX);
new ScriptCreator(env).create();
}
} catch (Exception e) {
throw new MojoExecutionException(e.getMessage());
}
}