public void test() { EmployeeProject project = new EmployeeProject(); ((DatasourceLogin) project.getDatasourceLogin()) .usePlatform(OracleDBPlatformHelper.getInstance().getOracle9Platform()); XMLProjectWriter.write("employee_project.xml", project); XMLProjectReader.read("employee_project.xml", getClass().getClassLoader()); }
public void test() { XMLProjectWriter.write(FILENAME, project); project = XMLProjectReader.read(FILENAME, getClass().getClassLoader()); }
/** For the given project, generate the project xml and read it back in. */ public static Project buildProjectXML(Project project, String filename, ClassLoader loader) { XMLProjectWriter.write(filename + ".xml", project); return XMLProjectReader.read(filename + ".xml", loader); }