String schemaFile = getResourceFile("tools/xsd/anontypes/" + filename).getAbsolutePath();
String genPath = "tools/xsd-java-checker/jbossws/anontypes/";
this.mkdirs(genPath);
File dir = createResourceFile(genPath);
xsdJava.setTypeMapping(new LiteralTypeMapping());
xsdJava.generateJavaSource(schemaFile, dir, packagename, true);
//Compare the generated Java type against the one generated by wscompile
String fname = "Items.java";
File file2 = createResourceFile(genPath + "/org/jboss/ws/types/" + fname);