String base = "resources/tools/xsd-java-checker";
File file2 = new File(genPath + "/org/jboss/ws/types/" + fname);
File file1 = new File(base + "/wscompile/references/" + fname);
JBossSourceComparator sc = new JBossSourceComparator(file1, file2);
assertTrue("Source Files Match::ElemAttribRef.java::", sc.validate());
sc.validateImports();
//Compare the generated Java type against the one generated by wscompile
fname = "Address.java";
base = "resources/tools/xsd-java-checker";
file2 = new File( genPath + "/org/jboss/ws/types/" + fname);