Problem with Xalan-2.7.1 and ivyroundup

2011-01-06 Thread a...@mechnicality.com

Hi

I don't know if this a bug in ivyde, a bug in ivyroundup or a problem with my dependency management 
(I suspect the latter)


I've got a dependency on xalan-j which I'm getting from ivyroundup.

However, the xalan-j entry in my cache has the xml-apis-2.7.1 jar in it

Somewhere else in my project there's a xml-apis-2.9.1 dependency.

I'm using a configuration called 'web' to retrieve the jars required to be in the web app into the 
war/WEB-INF/lib folder


I'm doing this with the retrieve tab in IvyDE

However, although the dependency report says that xml-apis-2.7.1 is evicted, its still turning up in 
the lib folder, together with the 2.9.1 version. Generally speaking its a very bad idea to have to 
versions of the same jar in the lib folder!


Here's the line in the ivy.xml file which pulls in the xalan-j - I've set transitive="false" but 
thats having no effect - mainly because I think that the xml-api jar is not actually a dependency of 
xalan but rather part of the module.


Can anyone suggest how to fix this (short of just deleting the offending jar 
each time.)



Also, looking at 
http://ivyroundup.googlecode.com/svn/trunk/repo/modules/org.apache.xml/xalan-j/2.7.1/ivy.xml why are 
the xml-api jars showing up at all? the conf 'interp' should only pull in xalan?



Thanks

Alan



Re: Problem with Xalan-2.7.1 and ivyroundup

2011-01-07 Thread a...@mechnicality.com
Yes, silly me, I should have seen that. However, doesn't that mean that xml-apis-2.7.1 will always 
be pulled in?


Thanks

Alan


On 1/6/2011 9:53 AM, Archie Cobbs wrote:
On Thu, Jan 6, 2011 at 11:33 AM, a...@mechnicality.com <mailto:a...@mechnicality.com> 
mailto:a...@mechnicality.com>> wrote:


Also, looking at

http://ivyroundup.googlecode.com/svn/trunk/repo/modules/org.apache.xml/xalan-j/2.7.1/ivy.xml
why are the xml-api jars showing up at all? the conf 'interp' should only 
pull in xalan?


Not sure about your other questions, but this is happening because the config 'interp' extends the 
config 'xml-apis'...


-Archie

--
Archie L. Cobbs




--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.com