jerico (JIRA)
2009-01-06 21:11:19 UTC
Replacing proprietary DTD/XSD with OSI-compliant versions
---------------------------------------------------------
Key: XDT-1700
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1700
Project: XDoclet
Issue Type: Improvement
Components: Core, EJB Module, JDO Module, JSF Module, Web Module
Affects Versions: 1.2.3
Reporter: jerico
Assignee: xdoclet-devel (Use for new issues)
Priority: Minor
The licensing of the original j2ee dtd/xsd is proprietary. For a similar analysis compare http://issues.apache.org/jira/browse/GERONIMO-2307
I am currently packaging xdoclet for Debian/Ubuntu. We cannot distribute proprietary sources in main/universe. Therefore we plan to replace proprietary DTD/XSD with free versions (where available).
Here's the relevant part of a script that we use to replace proprietary files. We couldn't yet test compatibility of all DTD/XSD so use it with care.
# Set base directory
DIR=...
# We'll include versions released under DSFG licenses
pushd $DIR/modules/ejb/src/xdoclet/modules/ejb/dd/resources
rm ejb11-jar.dtd ejb20-jar.dtd ejb-jar_2_1.xsd j2ee_1_4.xsd j2ee_web_services_client_1_1.xsd
# GPL
wget -O ejb11-jar.dtd http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
wget -O ejb20-jar.dtd http://java.sun.com/dtd/ejb-jar_2_0.dtd
wget http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_web_services_client_1_1.xsd
popd
pushd $DIR/modules/jdo/src/xdoclet/modules/jdo/resources
rm jdo_2_0.dtd
# Apache license
wget http://java.sun.com/dtd/jdo_2_0.dtd
popd
pushd $DIR/modules/web/src/xdoclet/modules/web/resources
rm web-app_2_4.xsd web-jar-23.dtd jsp_2_0.xsd j2ee_web_services_client_1_1.xsd j2ee_1_4.xsd web-jsptaglibrary_1_1.dtd
# GPL
wget http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
wget -O web-jar-23.dtd http://java.sun.com/dtd/web-app_2_3.dtd
wget http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_web_services_client_1_1.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
wget http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
popd
pushd $DIR/modules/jsf/src/xdoclet/modules/jsf/resources
rm web-facesconfig_1_0.dtd
# GPL
wget http://java.sun.com/dtd/web-facesconfig_1_0.dtd
popd
pushd $DIR/core/test/dtds
rm ejb11-jar.dtd ejb20-jar.dtd
# GPL
wget -O ejb11-jar.dtd http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
wget -O ejb20-jar.dtd http://java.sun.com/dtd/ejb-jar_2_0.dtd
---------------------------------------------------------
Key: XDT-1700
URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1700
Project: XDoclet
Issue Type: Improvement
Components: Core, EJB Module, JDO Module, JSF Module, Web Module
Affects Versions: 1.2.3
Reporter: jerico
Assignee: xdoclet-devel (Use for new issues)
Priority: Minor
The licensing of the original j2ee dtd/xsd is proprietary. For a similar analysis compare http://issues.apache.org/jira/browse/GERONIMO-2307
I am currently packaging xdoclet for Debian/Ubuntu. We cannot distribute proprietary sources in main/universe. Therefore we plan to replace proprietary DTD/XSD with free versions (where available).
Here's the relevant part of a script that we use to replace proprietary files. We couldn't yet test compatibility of all DTD/XSD so use it with care.
# Set base directory
DIR=...
# We'll include versions released under DSFG licenses
pushd $DIR/modules/ejb/src/xdoclet/modules/ejb/dd/resources
rm ejb11-jar.dtd ejb20-jar.dtd ejb-jar_2_1.xsd j2ee_1_4.xsd j2ee_web_services_client_1_1.xsd
# GPL
wget -O ejb11-jar.dtd http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
wget -O ejb20-jar.dtd http://java.sun.com/dtd/ejb-jar_2_0.dtd
wget http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_web_services_client_1_1.xsd
popd
pushd $DIR/modules/jdo/src/xdoclet/modules/jdo/resources
rm jdo_2_0.dtd
# Apache license
wget http://java.sun.com/dtd/jdo_2_0.dtd
popd
pushd $DIR/modules/web/src/xdoclet/modules/web/resources
rm web-app_2_4.xsd web-jar-23.dtd jsp_2_0.xsd j2ee_web_services_client_1_1.xsd j2ee_1_4.xsd web-jsptaglibrary_1_1.dtd
# GPL
wget http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
wget -O web-jar-23.dtd http://java.sun.com/dtd/web-app_2_3.dtd
wget http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_web_services_client_1_1.xsd
wget http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
wget http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
popd
pushd $DIR/modules/jsf/src/xdoclet/modules/jsf/resources
rm web-facesconfig_1_0.dtd
# GPL
wget http://java.sun.com/dtd/web-facesconfig_1_0.dtd
popd
pushd $DIR/core/test/dtds
rm ejb11-jar.dtd ejb20-jar.dtd
# GPL
wget -O ejb11-jar.dtd http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
wget -O ejb20-jar.dtd http://java.sun.com/dtd/ejb-jar_2_0.dtd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira