JarOutputStream jout = new JarOutputStream(result);
JarEntry metaModel = new JarEntry("factmodel.xml");
jout.putNextEntry(metaModel);
jout.write(toXML(facts));
jout.closeEntry();
String packagePath = packageName.replace('.', '/');
for (int i = 0; i < facts.length; i++) {
ClassBuilder cb = new ClassBuilderFactory().getBeanClassBuilder();