public static void performPentahoReportingBoot( LogChannelInterface log, Class<?> referenceClass ) { // Boot the Pentaho reporting engine! // if ( ClassicEngineBoot.getInstance().isBootDone() == false ) { ObjectUtilities.setClassLoader( referenceClass.getClassLoader() ); ObjectUtilities.setClassLoaderSource( ObjectUtilities.CLASS_CONTEXT ); LibLoaderBoot.getInstance().start(); LibFontBoot.getInstance().start(); ClassicEngineBoot.getInstance().start(); Exception exception = ClassicEngineBoot.getInstance().getBootFailureReason(); if ( exception != null ) { log.logError( "Error booting the Pentaho reporting engine", exception ); } } }
ClassicEngineBoot.getInstance().start();
public static void main( String[] args ) throws IOException { ClassicEngineBoot.getInstance().start(); ExpressionQueryTool eqt = new ExpressionQueryTool(); eqt.processDirectory( null ); for ( int i = 0; i < eqt.expressions.size(); i++ ) { System.out.println( eqt.expressions.get( i ) ); } } }
public static void main( final String[] args ) { ClassicEngineBoot.getInstance().start(); final ExpressionMetaData[] datas = ExpressionRegistry.getInstance().getAllExpressionMetaDatas(); Arrays.sort( datas, GroupedMetaDataComparator.ENGLISH ); for ( int i = 0; i < datas.length; i++ ) { final ExpressionMetaData data = datas[i]; if ( data instanceof AbstractMetaData == false ) { continue; } printMetaBundle( data ); } }
@BeforeClass public static void initEngine() throws Exception { ClassicEngineBoot.getInstance().start(); }
@Before public void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); }
@BeforeClass public static void init() { ClassicEngineBoot.getInstance().start(); }
@Before public void setUp() { ClassicEngineBoot.getInstance().start(); }
@BeforeClass public static void init() { ClassicEngineBoot.getInstance().start(); }
@Before public void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); }
@BeforeClass public static void init() { ClassicEngineBoot.getInstance().start(); }
public static void main( String[] args ) { ClassicEngineBoot.getInstance().start(); LocalFontRegistry registry = new LocalFontRegistry(); registry.initialize(); } }
@Before public void setUp() throws Exception { Locale.setDefault( Locale.US ); TimeZone.setDefault( TimeZone.getTimeZone( "UTC" ) ); // enforce binary compatibility for the xml-files so that comparing them can be faster. ClassicEngineBoot.getInstance().start(); if ( NamingManager.hasInitialContextFactoryBuilder() == false ) { NamingManager.setInitialContextFactoryBuilder( new DebugJndiContextFactoryBuilder() ); } localFontRegistry = new LocalFontRegistry(); localFontRegistry.initialize(); }
public void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); if ( NamingManager.hasInitialContextFactoryBuilder() == false ) { NamingManager.setInitialContextFactoryBuilder( new DebugJndiContextFactoryBuilder() ); } }
protected void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); outputProcessorMetaData = new DebugOutputProcessorMetaData(); pageGrid = new DefaultPageGrid( new SimplePageDefinition( new PageFormat() ) ); }
protected void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); outputProcessorMetaData = new DebugOutputProcessorMetaData(); pageGrid = new DefaultPageGrid( new SimplePageDefinition( new PageFormat() ) ); }
protected void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); outputProcessorMetaData = new DebugOutputProcessorMetaData(); pageGrid = new DefaultPageGrid( new SimplePageDefinition( new PageFormat() ) ); }
@Before public void init() throws InstantiationException { ClassicEngineBoot.getInstance().start(); editor = new ElementTypePropertyEditor(); metaData = ElementTypeRegistry.getInstance().getElementType("vertical-line"); final ElementMetaData[] datas = ElementTypeRegistry.getInstance().getAllElementTypes(); correctTypes = new String[datas.length]; for ( int i = 0; i < datas.length; i++ ) { correctTypes[i] = datas[i].getName(); } }
protected void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); outputProcessorMetaData = new DebugOutputProcessorMetaData(); pageGrid = new DefaultPageGrid( new SimplePageDefinition( new PageFormat() ) ); }
protected void setUp() throws Exception { ClassicEngineBoot.getInstance().start(); tester = new PageBreakPositionList(); tester.addMajorBreak( 0, 0 ); tester.addMinorBreak( 5000 ); tester.addMajorBreak( 10000, 0 ); tester.addMinorBreak( 15000 ); tester.addMajorBreak( 20000, 0 ); tester.addMinorBreak( 25000 ); tester.addMajorBreak( 30000, 0 ); }