[kepler-dev] Duplicated jar contents.

Kevin Ruland kruland at sunflower.com
Tue Dec 13 13:28:09 PST 2005


I started this task again.  I used Dan's new autobat ant task to
generate the classpath to analyze.  This report is only those jars on
the classpath which contain the same classes.  I've attempted to group
them by higher level packages to make it easier to look at.

The plus sign ('+') in front of a particular jar indicates which one is
used to load the classes in question.  So, if the system appears to work
when you use run-dev, then we can probably just drop the extras.

I did not attempt to accomodate the "endorsed jars" thing.  I think we
should create a directory kepler/lib/jars/endorsed/ and put there the
jars which need endorsing.  These can then be used for building and
provide a convient place to point to.

There are two broad categories of conflicts:

1)  XML and related processing.

There are some intracies here.  We need to have consistent versions of
axis, xerces, xalan, and xml-apis.   In addition, 1, 2, or 3 of these
will need to be endorsed.  axis uses saaj.jar, jaxrpc.jar, etc.

I suggest we grab a known versions of axis, xalan, xerces and their
supporting jars and remove all the current jars.  We should in addition
document the versions of each we are using.

2) lib/jars/scia/* and lib/jars/sms/*

There appears to be considerable overlap among the jars in these
directories.  There are two jars which are particularly troubling.

- scia/sf_org.jar appears to be a conglomeration of a number of things
including:  org.xml.sax (which should be in xml-apis.jar, is in rt.jar
and must be endorsed), org.w3c.rdf, and org.brownell.jar.

- sms/rdf-api-2001-01-19.jar has similar problems since it also has
org.xml.sax, and overlaps with sf_edu.jar and sf_org.jar from scia

Kevin


javax.xml.namespace.QName

  lib/jar/jax-qname.jar
  + lib/jar/jaxrpc.jar
  lib/jar/jwsdp/jsr173_api.jar

=================================================

javax.xml.namespaceNamespaceContext
javax.xml.XMLConstants

  lib/jar/namespace.jar
  + lib/jar/jwsdp/jsr173_api.jar

=================================================

javax.xml.transform.*
 
  lib/jar/jaxrpc.jar
  lib/jar/apache/xml-apis.jar

=================================================

javax.xml.soap.*

  lib/jar/saaj.jar
  + lib/jar/jwsdp/saaj-api.jar

=================================================

org.jdom.*

  lib/jar/scia/jdom.jar
  + lib/jar/jdom.jar

=================================================

com.mysql.jdbc.*
org.gjt.mm.mysql.Driver

  lib/jar/scia/mysql-connector-java-3.0.16-ga-bin.jar
  + lib/jar/dbdrivers/mysql-connector-java-3.0.15-ga.bin.jar

=================================================

org.xml.sax.*

  lib/jar/scia/sf_org.jar
  + lib/jar/apache/xml-apis.jar
  lib/jar/sms/rdf-api-2001-01-19.jar

=================================================

javax.xml.parsers.*
javax.xml.transform.*

  lib/jar/scia/xml-apis.jar
  + lib/jar/apache/xml-apis.jar

=================================================

org.apache.commons.logging.*

  lib/jar/sms/commons-logging.jar
  + lib/jar/commons-logging.jar

=================================================

edu.stanford.db.*

  lib/jar/sms/rdf-api-2001-01-19.jar
  + lib/jar/scia/sf_edu.jar

=================================================

org.w3c.rdf.*
org.brownell.xml.*

  lib/jar/sms/rdf-api-2001-01-19.jar
  + lib/jar/scia/sf_org.jar

=================================================

org.apache.html.dom.*
org.apache.wml.dom.*
org.apache.xerces.*
org.w3c.dom.*

  lib/jar/sms/xercesImpl.jar
  + lib/jar/scia/xercesImpl.jar

=================================================

Special category:  jars which have classes also contained
in j2sdk1.4.2_08 rt.jar

  lib/jar/jce-jdk13-117.jar (includes java.security.spec.PSSParameterSpec)
  lib/jar/dbdrivers/oracleJdbc.jar (includes javax.sql.*)
  lib/jar/apache/xml-apis.jar (includes javax.xml.*, org.w3c.dom.*)
  lib/jar/apache/xalan.jar (includes org.apache.xml.*,
org.apache.xalan.*, org.apache.xpath.*)
  lib/jar/jgss.jar (includes org.ietf.jgss.*



More information about the Kepler-dev mailing list