Manage duplicate jar files using ant and ivy.
- by lawardy
HI,
I am using ant build script to build my java app and utilizing Ivy to manage its dependency.
As my application is dependent/subset of other application(Main App), when running it, I set the classpath to point to lib jars of the Main App.
As I tried to build the kit using ant and ivy, it includes/retrieve all the jars that is required as specified in ivy.xml
The problem is, some of the jar files are duplicated with with jars file in the main app folders.
Is there a way to set the classpath in build.xml to ignore retrieving jar files that already exist in the main app's lib folder.
Thanks