Search in sources :

Example 1 with ArchetypeUtils

use of io.fabric8.tooling.archetype.ArchetypeUtils in project fabric8 by jboss-fuse.

the class ArchetypeBuilderTest method init.

@Before
public void init() throws IOException {
    if (basedir == null) {
        basedir = ".";
    }
    catalogFile = new File(basedir, "target/test-archetypes/archetype-catalog.xml").getCanonicalFile();
    builder = new ArchetypeBuilder(catalogFile);
    builder.setIndentSize(4);
    archetypeUtils = new ArchetypeUtils();
}
Also used : File(java.io.File) ArchetypeUtils(io.fabric8.tooling.archetype.ArchetypeUtils) Before(org.junit.Before)

Aggregations

ArchetypeUtils (io.fabric8.tooling.archetype.ArchetypeUtils)1 File (java.io.File)1 Before (org.junit.Before)1