throw new LDPathException(msg, e);
}
try {
InputStream is = getSolrTemplateStream();
ZipArchiveInputStream zis = new ZipArchiveInputStream(is);
ZipArchiveEntry ze = null;
byte[] schemaFile = null;
while ((ze = zis.getNextZipEntry()) != null) {
if (SOLR_TEMPLATE_SCHEMA.equals(ze.getName())) {
schemaFile = createSchemaXML(getLDPathProgram(ldPathProgram), IOUtils.toByteArray(zis));
TarArchiveEntry te = new TarArchiveEntry(coreName + SOLR_SCHEMA);
te.setSize(schemaFile.length);
tarOutputStream.putArchiveEntry(te);