use of com.jopdesign.wcet.report.Report in project jop by jop-devel.
the class WCETTool method onSetupConfig.
@Override
public void onSetupConfig(AppSetup setup) throws BadConfigurationException {
appInfo = setup.getAppInfo();
Config config = setup.getConfig();
projectConfig = new ProjectConfig(config);
projectConfig.initConfig(setup.getMainMethodID());
this.projectName = projectConfig.getProjectName();
if (projectConfig.doGenerateReport()) {
this.results = new Report(this, setup.getLoggerConfig());
try {
this.results.initVelocity();
} catch (Exception e) {
throw new BadConfigurationException("Error initializing Velocity: " + e, e);
}
this.genWCETReport = true;
} else {
this.genWCETReport = false;
}
}
Aggregations