Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAD05D3A0 for ; Mon, 8 Oct 2012 08:50:14 +0000 (UTC) Received: (qmail 83173 invoked by uid 500); 8 Oct 2012 08:50:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 83106 invoked by uid 500); 8 Oct 2012 08:50:14 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 83071 invoked by uid 99); 8 Oct 2012 08:50:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 08:50:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 08:50:07 +0000 Received: by mail-wg0-f45.google.com with SMTP id dq12so3042719wgb.14 for ; Mon, 08 Oct 2012 01:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=qK88os8s5H0+tWLeh/iCI6z7fnqVOwVII08h/wEU5B8=; b=dbYRIoqWYWXjRxvbPaLecbM41RPUMtyNm4fctf8CP3/cRvED+WAdUWeS4EDg8VklrK YiFyRonYx6kWj5koq+4i5K+kR+0Z5E6YfqPL8iEEWEGI1mlJ9AnOEvPz9kw5Sh9kYy7u Yra7eCdCsz4bv7vv/EKuo81a3J0U0Ts7eND9Z150/c1UN5kiDYMMS9aBjeiWImiPeVvw 5a2jvglhODoKtsp0IRCvb1f6IfamS0daFBD+Wyaqoc7TEG/qxiCvnPZb8ZYfzeNc1ftu eoWhjUpjU2t++eTSDNFLoVIJ1eOCtU/MV9wqo+Dy4MxougKhGYO2/3+4VVdmICpb7a3j vyig== Received: by 10.216.136.31 with SMTP id v31mr10131670wei.104.1349686186795; Mon, 08 Oct 2012 01:49:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.18.210 with HTTP; Mon, 8 Oct 2012 01:49:26 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Mon, 8 Oct 2012 10:49:26 +0200 Message-ID: Subject: Re: Updating XSD seems not working anymore To: dev@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Sun, Oct 7, 2012 at 2:57 PM, Hiram Chirino 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 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: cibsen@redhat.com >> 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.* > > *hchirino@redhat.com | fusesource.com | redhat.com* > > *skype: hiramchirino | twitter: @hiramchirino > * > > *blog: Hiram Chirino's Bit Mojo * -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen