Search in sources :

Example 1 with CompileOnDemandImpl

use of org.webpieces.compiler.impl.CompileOnDemandImpl in project webpieces by deanhiller.

the class AbstractCompileTest method setUp.

@Before
public void setUp() {
    LOG.info("storing bytecode cache in=" + byteCodeCacheDir.getAbsolutePath());
    LOG.info("running tests from user.dir=" + FileFactory.getBaseWorkingDir());
    // clear out the bytecode cache (maybe not every time?)
    clearByteCodeCache(byteCodeCacheDir);
    CompileConfig config = createCompileConfig();
    compiler = new CompileOnDemandImpl(config, getPackageFilter());
}
Also used : CompileOnDemandImpl(org.webpieces.compiler.impl.CompileOnDemandImpl) CompileConfig(org.webpieces.compiler.api.CompileConfig) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 CompileConfig (org.webpieces.compiler.api.CompileConfig)1 CompileOnDemandImpl (org.webpieces.compiler.impl.CompileOnDemandImpl)1