* @param args ignored.
*/
public static void main(final String[] args)
{
ClassicEngineBoot.getInstance().start();
final ReportGenerator gen = ReportGenerator.getInstance();
final URL reportURL = ObjectUtilities.getResourceRelative
(REFERENCE_REPORT, DataSourceReferenceGenerator.class);
if (reportURL == null)
{
System.err.println("The report was not found in the classpath"); //$NON-NLS-1$
System.err.println("File: " + REFERENCE_REPORT); //$NON-NLS-1$
System.exit(1);
return;
}
final MasterReport report;
try
{
report = gen.parseReport(reportURL);
}
catch (Exception e)
{
System.err.println("The report could not be parsed."); //$NON-NLS-1$
System.err.println("File: " + REFERENCE_REPORT); //$NON-NLS-1$