Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 30864 invoked from network); 14 Apr 2011 08:26:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2011 08:26:28 -0000 Received: (qmail 58684 invoked by uid 500); 14 Apr 2011 08:26:27 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 58625 invoked by uid 500); 14 Apr 2011 08:26:26 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 58618 invoked by uid 99); 14 Apr 2011 08:26:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 08:26:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hanhongfang@gmail.com designates 209.85.160.54 as permitted sender) Received: from [209.85.160.54] (HELO mail-pw0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 08:26:18 +0000 Received: by pwj8 with SMTP id 8so674051pwj.13 for ; Thu, 14 Apr 2011 01:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=qtn9Zs775D4dfcU0GIUKxouLNIgumnTUnf6N0ST7lqM=; b=FZHLiHAbbNCkxzVf4qCkX4DSTzPLixshvjM5lqInjddpGr59BfkfA4j7rbrgta/9/D Mci/6LRq3QWVBKdXW7ua10q8x6/QtyKPssbE4rk96d40RPQ1GQKmsbuTjftMGSAn2hfw 8jCtm6oCCBBM8XoA+bkGPmEz/gKD0CsZkIMXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DqimAvaGtMfp9L+TwzCpURmhwiIL/JVzRE/in3XYf8vwd4Td0OZ995Pruutw/0KyY8 Iyrr6BYYRkpK9xoMXSIO/dHqUqNAw7RcjN4KlIfSiKz7Ht8e3IZUm570GXNO0DQkjSrp 29sldT0IOmcGZScCfQ7t+rWLXhOpS9cC9KEWA= MIME-Version: 1.0 Received: by 10.68.48.168 with SMTP id m8mr318035pbn.113.1302769556693; Thu, 14 Apr 2011 01:25:56 -0700 (PDT) Received: by 10.68.62.39 with HTTP; Thu, 14 Apr 2011 01:25:56 -0700 (PDT) Date: Thu, 14 Apr 2011 16:25:56 +0800 Message-ID: Subject: openejb-jar-2.2.xsd out-of-date? From: han hongfang To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=bcaec5314731a6a1ac04a0dcacf1 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5314731a6a1ac04a0dcacf1 Content-Type: text/plain; charset=ISO-8859-1 Hi devs, I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd. And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file? [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest --- [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref' [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:ref-name' [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:pattern' [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc' [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:name' [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:css' [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:css-link' [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:ejb-link' [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'app:security' [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'persistence' [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref' [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref' [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd [ERROR] [INFO] failure in the XJC task. Use the Ant -verbose switch for more details [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.359s [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011 [INFO] Final Memory: 3M/15M [INFO] ------------------------------------------------------------------------ -- Best regards, Han Hong Fang (Janet) hanhongfang AT apache.org --bcaec5314731a6a1ac04a0dcacf1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi devs,

I got following errors when I tried to generate the jaxbmod= el class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking enti= ty-manager-factory-ref for instance, it can not be found in geronimo-naming= -1.2.xsd.

And xmlns:app=3D"http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2,=A0 should it be updated to geronimo-applic= ation-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under <= a href=3D"http://geronimo.apache.org/xml/ns/j2ee/">http://geronimo.apache.o= rg/xml/ns/j2ee/, where can I get this file?

[INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
[= INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd= and others
[ERROR] [ERROR] undefined element declaration 'naming:en= tity-manager-factory-ref'
[ERROR]=A0=A0 line 127 of file:/D:/test/xjctest/src/main/resources/openejb-= jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration &#= 39;naming:ref-name'
[ERROR]=A0=A0 line 146 of file:/D:/test/xjctest/= src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:patte= rn'
[ERROR]=A0=A0 line 147 of file:/D:/test/xjctest/src/main/resourc= es/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element dec= laration 'naming:ns-corbaloc'
[ERROR]=A0=A0 line 148 of file:/D:/test/xjctest/src/main/resources/openejb-= jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration &#= 39;naming:name'
[ERROR]=A0=A0 line 149 of file:/D:/test/xjctest/src/= main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:css&#= 39;
[ERROR]=A0=A0 line 150 of file:/D:/test/xjctest/src/main/resources/o= penejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declara= tion 'naming:css-link'
[ERROR]=A0=A0 line 151 of file:/D:/test/xjctest/src/main/resources/openejb-= jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration &#= 39;naming:ejb-link'
[ERROR]=A0=A0 line 152 of file:/D:/test/xjctest/= src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'app:security= '
[ERROR]=A0=A0 line 222 of file:/D:/test/xjctest/src/main/resources= /openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element decla= ration 'persistence'
[ERROR]=A0=A0 line 228 of file:/D:/test/xjctest/src/main/resources/openejb-= jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration &#= 39;naming:entity-manager-factory-ref'
[ERROR]=A0=A0 line 239 of file= :/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:entit= y-manager-factory-ref'
[ERROR]=A0=A0 line 297 of file:/D:/test/xjcte= st/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[INFO] failure in = the XJC task. Use the Ant -verbose switch for more details
[INFO] --------------------------------------------------------------------= ----
[INFO] BUILD FAILURE
[INFO] ------------------------------------= ------------------------------------
[INFO] Total time: 22.359s
[INFO= ] Finished at: Thu Apr 14 16:12:21 CST 2011
[INFO] Final Memory: 3M/15M
[INFO] -------------------------------------= -----------------------------------


--
Best regards,
Han Hong Fang (Janet)
hanhongfang=A0AT apach= e.org
=A0

--bcaec5314731a6a1ac04a0dcacf1--