Hi Keith, BindGen is not structured to support modular bindings, so I think you'd have to generate from the entire set of classes at once. You should be able to get a modular structure for the schemas by using different namespaces for the different modules (assuming they're using unique packages), but as far as I know you'd need to separate out the schemas by modules on your own.
Hope that helps. I don't know much about the maven side of things, so I'm only going by how BindGen works. - Dennis Dennis M. Sosnoski XML and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Barlow, Keith wrote: > > Hiyas, > > > > I have a standard maven project that has multiple modules. I want to > use BindGen to build the schema for the project based on java classes > that have already been developed. Is there a way to set it to > generate schemas only for classes in that module or do I have to do a > full generation and then edit it to reference the schema from other > modules? Is that even possible since the schemas will not be declared > in the binding.xml file? (the maven-jibx-plugin seems to support a > multi-module mode which will look for binding.xml declarations in > other modules but how should the xsd that needs to reference those > other types be set if there is no namespace import declaration?) > > > > Thanks. > > > > Keith > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users