| Classpath Dependency Validator for user libraries [message #1122415] |
Tue, 01 October 2013 10:48 |
Miguel Angel Garcia Grande Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Hi all!
I'm using two user libraries in one of my projects:
* One for Hibernate framework (including dependencies).
* One for JasperReports libraries and dependencies.
Both include "commons-collection" as a dependency (in fact, both reference the very same JAR file) and both libraries are marked to be deployed in the "deployment assembly" section, resulting in Eclipse's Classpath Dependency Validator giving the following error:
"The project contains another dependency with the same archive name"
I don't understand why this is considered an error or how to solve it a way other than disabling the "Classpath Dependency Validator" itself.
If I create a project using one (but only one) of those libraries, everything works fine. The error (obviously) only occurs when using BOTH libraries under the same project.
My point is, I don't think I shouldn't care whether I use both libraries or not. Yes, both use the same JAR file... I don't think it's a big deal actually... is it? I mean, both libraries are deployed and one file will get overwritten by itself...
Is there a reason for this to be considered an error?
Is there any workaround other than disabling the validator (or just ignoring the error)?
Thanks so much in advance. Kind regards,
Miguel Angel
|
|
|
Powered by
FUDForum. Page generated in 0.01382 seconds