I recently saw a project with quite a few sub-projects, each of them with a build.xml
and an ivy.xml
.
When building these sub-projects apparently all 3rd-party libraries declared as dependencies are copied to a /lib
directory in each of the sub-projects. Coming from Maven this looks really strange.
Is this a limitation of Ant/Ivy not being able to build a classpath from the local ~/.ivy2/cache
?
Or is it a lack of Ant/Ivy knowledge at those who created the respective xml
s?
Or is there a good reason to do this exactly like this with Ant/Ivy?