public void validate() throws IOException {
        ApplicationPackageXmlFilesValidator validator =
                ApplicationPackageXmlFilesValidator.create(applicationPkg.getAppDir(), new Version(VespaVersion.major));
        validator.checkApplication();
        validator.checkIncludedDirs(applicationPkg);
    }
For testing purposes only

@author Tony Vaagenes
config-model/src/test/java/com/yahoo/vespa/model/test/utils/VespaModelCreatorWithFilePkg.java