final String projectPath = projectFile.getPath();
final VoltCompiler compiler1 = new VoltCompiler();
final VoltCompiler compiler2 = new VoltCompiler();
final Catalog catalog = compileCatalogFromProject(compiler1, projectPath);
final String cat1 = catalog.serialize();
final boolean success = compiler2.compileWithProjectXML(projectPath, testout_jar);
final String cat2 = VoltCompilerUtils.readFileFromJarfile(testout_jar, "catalog.txt");
assertTrue(success);
assertTrue(cat1.compareTo(cat2) == 0);