public ApplicationBuilder documentType(String name, String searchDefinition) throws IOException {
        Path path = nestedResource(ApplicationPackage.SCHEMAS_DIR, name, ApplicationPackage.SD_NAME_SUFFIX);
        createFile(path, searchDefinition);
        return this;
    }
Builds an application package on disk and returns a path to the result.

@author Tony Vaagenes
application/src/main/java/com/yahoo/application/ApplicationBuilder.java