geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From han hongfang <hanhongf...@gmail.com>
Subject openejb-jar-2.2.xsd out-of-date?
Date Thu, 14 Apr 2011 08:25:56 GMT
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

Mime
View raw message