I work with Rational Application Developer 7.x which is based on eclipse.
There is a possibility to build a "runnable jar file", meaning that all 
classpath dependencies are merged into one stand alone jar file. 

This is nice, because you have to deliver only one jar file and you need not 
to worry about classpath issues. 

During the build of the "monster" jar file, the build process reports name 
clashes. 

Thats it. 

 

 

Andrea Aime writes: 

> Christian Müller ha scritto:
>> Looking at the zip files for 2.6.0-M2 and 2.6.0-M3 I discovered 2 
>> versions of the commons-io jar file:
>> commons-io-1.4.jar
>> commons-io-1.2.jar 
>> 
>> A lot of classes are duplicated in the classpath, eg. 
>> org/apache/commons/io/FileCleaner.class.
>> I think this is a source of problems.
>> Doing further investigations I found name clashes in xml jars: 
>> 
>> javax/xml/XMLConstants.class is in
>> xml-apis-1.3.04.jar
>> xml-apis-xerces-2.7.1.jar 
>> 
>> org/w3c/dom/xpath/XPathResult.class is in
>> xalan-2.6.0.jar
>> xml-apis-1.3.04.jar
>> xml-apis-xerces-2.7.1.jar
>> Looks a little bit like a minefield, shoud I open a JIRA
> 
> Btw, how did you get these informations? 
> 
> Cheers
> Andrea 
> 
> -- 
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to