There are packaging issues with the following three jar files in the 
castor 1.3.3 GA version from the link 
http://dist.codehaus.org/castor/1.3.3/castor-1.3.3.zip..

castor-1.3.3-core.jar
castor-1.3.3-xml.jar
castor-1.3.3.jar

Those three files cannot be placed in the CLASSPATH at the same time 
because they are sealed packages as showing in the manifest files and they 
also contain duplicate compiled classes.  Some classes in the package 
org.castor.mapping are duplicated in both  castor-1.3.3-xml.jar and castor
-1.3.3.jar.  The packaging issue will case java security sealing 
violation.

The castor-1.3.3-core.jar, and castor-1.3.3-xml.jar cannot be used without 
the castor-1.3.3.jar.  The reason is that the castor-1.3.3-xml.jar misses 
some compiled classes which are available in castor-1.3.3.jar, such as 
AbstractMappingLoaderFactory.class, JDOMappingLoaderFactory.class, 
XMLMappingLoaderFactory.class in the org.castor.mapping package.

User may have to re-assembly those the jar files such as replacing 
everything in the package org.castor.mapping in the castor-1.3.3-xml.jar 
with the package org.castor.mapping in the castor-1.3.3.jar.

I believe this needs to be repackaging and released to users.

Regards,
 




 
Jeff Li , Software Architect
DataStage Connectivity and XML
Information Management

Phone: (561) 862-3614
E-mail: l...@us.ibm.com 



 

<<image/gif>>

Reply via email to