g.setResourceTargetDirectory(new File("build/tests/binding/src"));
g.addBindings(new InputSource(new File("src/test/jaxb/bindings/bindings.jxb").toURI().toURL().toExternalForm()));
SchemaReader sr = new JAXBSchemaReader();
sr.setGenerator(g);
g.setSchemaReader(sr);
g.generate(new File("src/test/jaxb/bindings/bindings.xsd"));
}
/**
* Tests, whether the binding has moved the schema to the proper
* package and whether the string constants have been created.