public void log( int level, String message ) { log( level, message, null ); }
public void write( File target, ClassworldsAppConfiguration config ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Properties props = getDefaultVelocityProperties(); checkLogChute( props ); engine.init( props ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Properties velocityProperties ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { checkLogChute( velocityProperties ); engine.init( velocityProperties ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void write( File target, ClassworldsAppConfiguration config, File velocityProperties ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Velocity.init( velocityProperties.getAbsolutePath() ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
private void checkLogChute( Properties props ) { if ( !VelocityLogChute.hasPlexusLogger() ) { VelocityLogChute.setPlexusLogger( new ConsoleLogger( Logger.LEVEL_INFO, "classworlds-writer-internal" ) ); } if ( !props.containsKey( "runtime.log.logsystem.class" ) ) { props.setProperty( "runtime.log.logsystem.class", VelocityLogChute.class.getName() ); } }
public void write( File target, ClassworldsAppConfiguration config, Map<String, Object> context ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Properties props = getDefaultVelocityProperties(); checkLogChute( props ); engine.init( props ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, context, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Properties velocityProperties ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { checkLogChute( velocityProperties ); engine.init( velocityProperties ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void write( File target, ClassworldsAppConfiguration config, File velocityProperties ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Velocity.init( velocityProperties.getAbsolutePath() ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
private void checkLogChute( Properties props ) { if ( !VelocityLogChute.hasPlexusLogger() ) { VelocityLogChute.setPlexusLogger( new ConsoleLogger( Logger.LEVEL_INFO, "classworlds-writer-internal" ) ); } if ( !props.containsKey( "runtime.log.logsystem.class" ) ) { props.setProperty( "runtime.log.logsystem.class", VelocityLogChute.class.getName() ); } }
public void log( int level, String message ) { log( level, message, null ); }
public void write( File target, ClassworldsAppConfiguration config ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Properties props = getDefaultVelocityProperties(); checkLogChute( props ); engine.init( props ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Properties velocityProperties, Map<String, Object> context ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { checkLogChute( velocityProperties ); engine.init( velocityProperties ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, context, engine ); }
public void write( File target, ClassworldsAppConfiguration config, File velocityProperties ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Velocity.init( velocityProperties.getAbsolutePath() ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void log( int level, String message ) { log( level, message, null ); }
public void write( File target, ClassworldsAppConfiguration config ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Properties props = getDefaultVelocityProperties(); checkLogChute( props ); engine.init( props ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Properties velocityProperties ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { checkLogChute( velocityProperties ); engine.init( velocityProperties ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, null, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Map<String, Object> context ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Properties props = getDefaultVelocityProperties(); checkLogChute( props ); engine.init( props ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, context, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Properties velocityProperties, Map<String, Object> context ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { checkLogChute( velocityProperties ); engine.init( velocityProperties ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, context, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Map<String, Object> context ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { Properties props = getDefaultVelocityProperties(); checkLogChute( props ); engine.init( props ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, context, engine ); }
public void write( File target, ClassworldsAppConfiguration config, Properties velocityProperties, Map<String, Object> context ) throws ClassworldsIOException { VelocityEngine engine = new VelocityEngine(); try { checkLogChute( velocityProperties ); engine.init( velocityProperties ); } catch ( Exception e ) { throw new ClassworldsIOException( "Error initializing Velocity: " + e.getMessage(), e ); } _write( target, config, context, engine ); }