public void setUp() { super.setUp(); try { // File rootDir = new // File("./org/eclipse/persistence/testing/sdo/helper/xsdhelper/generate/"); // URL rootURL = rootDir.toURL(); // TODO: do we need to define types before generating classes??? String schemaLocation = FILE_PROTOCOL + USER_DIR + "/org/eclipse/persistence/testing/sdo/helper/xsdhelper/generate/"; xsdHelper.define(new StringReader(xsdString), schemaLocation); } catch (Exception e) { e.printStackTrace(); fail("failed during setup"); } }
public void setUp() { super.setUp(); classGenerator = new SDOClassGenerator(aHelperContext); controlFileNames = new ArrayList<String>(); }