On Sun, Oct 7, 2012 at 2:57 PM, Hiram Chirino <[email protected]> wrote: > Make sure your using a recent build of the xbean 3.11.2-SNAPSHOT plugin. > You might need to build it yourself if the one in the mvn repo is too old. > Then make sure your do a full build of ActiveMQ before you try to > re-generate the xsd. The xbean plugin needs to be able to load the leveldb > module classes from 'activemq-leveldb/target/classes'. >
Thanks for explaining this. I heard that a new xbean 3.12 is under vote. I would assume when its released we can upgrade to this release, instead of using the SNAPSHOT. > On Sun, Oct 7, 2012 at 8:04 AM, Claus Ibsen <[email protected]> wrote: > >> Hi >> >> I tried to update the activemq.xsd files on trunk code. >> But it seems to no longer work. >> >> Apparently the xbean has been moved to a profile, so you can run >> mvn -P xbean-generate clean process-classes >> >> Running that command, updates the xsd in the src/main/resources. >> Its changing the file is more ways that I may want. >> >> 1) >> maxOccurs=1 is being changed to maxOccurs="unbounded" >> >> 2) >> And the levelDB is gone as well. >> >> I wonder if the change of (1) is because of XBean upgrade? >> >> >> On the changeAutoCommitAllowed there is a new option >> changeAutoCommitAllowed which is needed to be included in the XSD for >> our next release. >> >> >> -- >> Claus Ibsen >> ----------------- >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> Email: [email protected] >> Web: http://fusesource.com >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen >> > > > > -- > > ** > > *Hiram Chirino* > > *Engineering | Red Hat, Inc.* > > *[email protected] <[email protected]> | fusesource.com | redhat.com* > > *skype: hiramchirino | twitter: @hiramchirino<http://twitter.com/hiramchirino> > * > > *blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>* -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
