Package com.vladium.util

Examples of com.vladium.util.XProperties


    processor.setInstrOutDir(outputlocation.toOSString());
    processor.setMetaOutFile(metadatafile.toOSString());
    processor.setMetaOutMerge(Boolean.TRUE);
    processor.setOutMode(inplace ? OutMode.OUT_MODE_OVERWRITE
        : OutMode.OUT_MODE_COPY);
    Properties props = new XProperties();
    props.put(AppLoggers.PROPERTY_VERBOSITY_LEVEL,
        DebugOptions.EMMAVERBOSITYLEVEL);
    processor.setPropertyOverrides(props);
    processor.run();
    monitor.done();
    PERFORMANCE.stopTimer("instrumenting " + location); //$NON-NLS-1$
View Full Code Here


    processor.setInstrOutDir(outputlocation.toOSString());
    processor.setMetaOutFile(metadatafile.toOSString());
    processor.setMetaOutMerge(Boolean.TRUE);
    processor.setOutMode(inplace ? OutMode.OUT_MODE_OVERWRITE
        : OutMode.OUT_MODE_COPY);
    Properties props = new XProperties();
    props.put(AppLoggers.PROPERTY_VERBOSITY_LEVEL,
        DebugOptions.EMMAVERBOSITYLEVEL);
    processor.setPropertyOverrides(props);
    processor.run();
    monitor.done();
    PERFORMANCE.stopTimer("instrumenting " + location); //$NON-NLS-1$
View Full Code Here

        File dataDirectory = request.getDataDirectory();
        File reportDirectory = request.getReportDestinationDir();

        File coverageFile = new File( dataDirectory, "coverage.ec" );

        XProperties properties = new XProperties();
        properties.setProperty( "report.html.out.file", PathUtil.path( new File( reportDirectory, "index.html" ) ) );
        properties.setProperty( "report.xml.out.file", PathUtil.path( new File( reportDirectory, "coverage.xml" ) ) );
        properties.setProperty( "report.txt.out.file", PathUtil.path( new File( reportDirectory, "coverage.txt" ) ) );
        properties.setProperty( "report.sort", "+name,+block,+method,+class" );
        properties.setProperty( "report.out.encoding", "UTF-8" );
        properties.setProperty( "report.xml.out.encoding", "UTF-8" );
        properties.setProperty( "report.html.out.encoding", "UTF-8" );

        ReportProcessor reporter = ReportProcessor.create();
        reporter.setAppName( IAppConstants.APP_NAME );
        reporter.setDataPath( PathUtil.paths( coverageFile ) );
        reporter.setSourcePath( PathUtil.paths( request.getSourcePaths() ) );
View Full Code Here

TOP

Related Classes of com.vladium.util.XProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.