try {
if (obDir == null || obDir.equals(""))
obDir = getProject().getBaseDir().toString();
if (propertiesFile == null || propertiesFile.equals(""))
propertiesFile = obDir + "/config/Openbravo.properties";
final ApplyModule am = new ApplyModule(new CPStandAlone(propertiesFile), obDir);
am.execute();
} catch (final Exception e) {
throw new BuildException(e);
}
}