Next step, it ishould be a full round search-and-replace work, I just tried the j2ee plugin, most codes could compile after a simple replace. However, there are some codes need to update, such as schema conversion, etc. Anyone has a better idea to do it ?
2010/1/31 Ivan <[email protected]> > Thanks, Donald. The way to use XSD files in geronimo-schema-javaee_6-trunk > is a bit different, the packaged jar file does not include the xsd files, > the scheam files are just used to generate the java source codes. > I create an initial description below and add the file to svn first, wish > Kevan or anyone else could help to add more words > > --> > ====================================== > LICENSES FOR INCLUDED DEPENDENCIES > ====================================== > > All the source code for the Geronimo project is released under the > license above. Additionally, the Geronimo binary distribution > > includes a number of third-party files that are required in > order to the software to function. Unless noted below, these jars > and resource files are also released under the ASF license above. > > The exceptions are as follows: > > =========================== > application_6.xsd > application-client_6.xsd > > connector_1_6.xsd > ejb-jar_3_1.xsd > javaee_6.xsd > javaee_web_services_1_3.xsd > javaee_web_services_client_1_3.xsd > jsp_2_2.xsd > persistence_2_0.xsd > web-app_3_0.xsd > web-common_3_0.xsd > web-fragment_3_0.xsd > =========================== > > 2010/1/29 Donald Woods <[email protected]> > > Here is what we have in the OpenJPA Notice files for jars that include >> XSDs from Sun (including aggregate jars and distribution zips) - >> >> . . . >> OpenJPA includes the persistence and orm schemas from the JPA >> specifications. >> Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved. >> OpenJPA elects to include this software in this distribution under the >> CDDL license. You can obtain a copy of the License at: >> https://glassfish.dev.java.net/public/CDDL+GPL.html >> The source code is available at: >> https://glassfish.dev.java.net/source/browse/glassfish/ >> . . . >> >> >> Here is what we have in the License files - >> >> <ASL 2.0 text> >> >> ====================================== >> LICENSES FOR INCLUDED DEPENDENCIES >> ====================================== >> >> All the source code for the OpenJPA project is released under the >> license above. Additionally, the OpenJPA binary distribution >> includes a number of third-party files that are required in >> order to the software to function. Unless noted below, these jars >> and resource files are also released under the ASF license above. >> >> The exceptions are as follows: >> >> =========================== >> orm-xsd.rsrc - included in the openjpa jar, taken from: >> http://java.sun.com/xml/ns/persistence/orm_1_0.xsd) >> orm_2_0-xsd.rsrc - included in the openjpa jar, taken from: >> http://java.sun.com/xml/ns/persistence/orm_2_0.xsd) >> persistence-xsd.rsrc - included in the openjpa jar, taken from: >> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd) >> persistence_2_0-xsd.rsrc - included in the openjpa jar, taken from: >> http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd) >> =========================== >> >> <CDDL 1.0 license text> >> >> >> >> -Donald >> >> >> On 1/29/10 4:22 AM, Ivan wrote: >> > The shipped xsd file in javaee6 are below : >> > >> > application-client_6.xsd >> > application_6.xsd >> > connector_1_6.xsd >> > ejb-jar_3_1.xsd >> > javaee_6.xsd >> > javaee_web_services_1_3.xsd >> > javaee_web_services_client_1_3.xsd >> > jsp_2_2.xsd >> > persistence_2_0.xsd >> > web-app_3_0.xsd >> > web-common_3_0.xsd >> > web-fragment_3_0.xsd >> > >> > Also, in the xmlconfig.xml, use the package name below : >> > >> > <xb:namespace uri="http://java.sun.com/xml/ns/javaee"> >> > <xb:package>org.apache.geronimo.xbeans.javaee6</xb:package> >> > </xb:namespace> >> > >> > <xb:namespace uri="http://java.sun.com/xml/ns/persistence"> >> > >> <xb:package>org.apache.geronimo.xbeans.persistence20</xb:package> >> > </xb:namespace> >> > >> > Another thing I found is that we might need to update >> > web-facesconfig_1_2.xsd in java ee 5 to web-facesconfig_2_0.xsd ? >> > >> > >> > 2010/1/29 Ivan <[email protected] <mailto:[email protected]>> >> > >> > So is there a sample about the correct LICENSE and NOTICE file ? >> > >> > 2010/1/29 David Jencks <[email protected] >> > <mailto:[email protected]>> >> > >> > IIUC this has actually been resolved on the legal-discuss list. >> > As long as we get the LICENSE and NOTICE files correct in svn >> > and the various jars, we can check small numbers of cddl source >> > files in that aren't likely to be modified by users. So we can >> > create these projects in the main geronimo tree or in >> > geronimo/components. >> > >> > thanks >> > david jencks >> > >> > >> > On Jan 28, 2010, at 10:49 PM, Ivan wrote: >> > >> > Hi, >> > Before the CDDL license issue is clarified >> > (GERONIMO-4938), shall we create geronimo-schema-javaee6 in >> > TCK svn first ? >> > If no objection, I would go on to create it. >> > -- >> > Ivan >> > >> > >> > >> > >> > >> > -- >> > Ivan >> > >> > >> > >> > >> > -- >> > Ivan >> > > > > -- > Ivan > -- Ivan
