Hi,

I'm trying to figure out how the jar - xalan.jar - is being found while
building the project. The more I'm looking in the build files, the less I
understand :-(

Here is what put my attention on the issue. I did a fresh cvs checkout and
'openejb build' afterwards. The 'env' target printed out the project's jars
and...take a look at the last line - it's an empty reference, i.e. the
xalan.jar is not defined.

env:
     [echo] version                = 0.8.1
     [echo] DSTAMP                 = 20020803
     [echo] TSTAMP                 = 2321
     [echo] java.home              = C:\_JACEK\APPS\JDK1.3\jre
     [echo] user.home              = C:\Documents and Settings\jl540585
     [echo] jrefactory.jar         = ./lib/jrefactory.jar
     [echo] castor.jar             = ./lib/castor-0.9.3.9.jar
     [echo] castor.xml.jar         = ./lib/castor-0.9.3.9-xml.jar
     [echo] ejb11.jar              = ./lib/ejb-1.0.jar
     [echo] ejb20.jar              = ./lib/ejb-2.0.jar
     [echo] jaas.jar               = ./lib/jaas_1.0.jar
     [echo] jca.jar                = ./lib/jca_1.0.jar
     [echo] jdbcext.jar            = ./lib/jdbc2_0-stdext.jar
     [echo] jdk12proxy.jar         = ./lib/jdk12-proxies.jar
     [echo] jedi.jar               = ./lib/jedi-1_0.jar
     [echo] jediplugin.jar         = ./lib/jedi-plugin-j2ee12.jar
     [echo] jms.jar                = ./lib/jms_1.0.2a.jar
     [echo] jndi.jar               = ./lib/jndi_1.2.1.jar
     [echo] jta.jar                = ./lib/jta_1.0.1.jar
     [echo] log4j.jar              = ./lib/log4j-1.2.1.jar
     [echo] minerva.jar            = ./lib/minerva.jar
     [echo] openorb.jar            = ./lib/openorb-1.2.1.jar
     [echo] openorb.rmi.jar        = ./lib/openorb_rmi-1.2.1.jar
     [echo] openorb.tools.jar      = ./lib/openorb_tools-1.2.1.jar
     [echo] jts.jar                = ./lib/ots-jts_1.0.jar
     [echo] tyrex.jar              = ./lib/tyrex-0.9.8.jar
     [echo] tyrex.iiop.jar         = ./lib/tyrex-0.9.8-iiop.jar
     [echo] jaxp.jar               = ./lib/jaxp.jar
     [echo] jaxp.parser.jar        = ./lib/xerces-J_1.4.0.jar
     [echo] jaxp.xsltprocessor.jar = ./lib/xalan.jar
     [echo] jaxp.xalan1compat.jar  = ./lib/xalanj1compat.jar
     [echo] junit.jar              = ./lib/junit_3.5.jar
     [echo] jakarta.regexp.jar     = ./lib/jakarta-regexp-1.1.jar
     [echo] xalan.jar              = ${xalan.jar}

Having seen it, I started to dig into the files. build.properties is the
file, which defines the variables, and there's no xalan.jar. Moreover,
there're references to jars not included into the project's lib directory
(!). The variables are from jaxp.* family. These variables point to missing
jars - current jars pertaining to a XML parser and transformer are 

        - xalan-2.4.D1.jar
        - xercesImpl-2.0.2.jar
        - xml-apis-2.4.D1.jar
        - xmlParserAPIs-2.0.2.jar

Since they're not included in 'project.classpath' I'm wondering how the
project compiles ?! It does, which implies they're not necessary, aren't
they ?

Ant 1.4.1 comes with crimson.jar in its lib directory so does the build
process need the XML-related jars as they included by default ? Since they
point to not-existing jars, perhaps we'd better off getting rid of them
entirely ? Where is xalan.jar being used during the build process ? If it's
not let's remove it.

That's why I'm asking are the xml files (in OpenEJB's lib directory) really
necessary during the build process ? If not, build.xml and build.properties
need to be tweak a bit.

The description might have been fuzzy, but I wrote it just 'cause before I
make any changes, I'd like to find out whether or not somebody is working on
improving it already.

-Jacek


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to