[Magic] Transitive Dependencies

Cameron Taggart cameron.taggart at gmail.com
Mon May 2 16:51:07 EDT 2005


Transitive Dependencies seams to be a big topic these days with Java build 
tools. Ivy uses a slightly different approach is to create a dependency xml 
file and publish it in a repository. 

Ivy Overview & Transative dependency description
http://www.jayasoft.fr/org/modules/ivy/overview.php?

Sample XML file for hibernate v2.1.8
http://www.jayasoft.fr/org/ivyrep/hibernate/hibernate/ivy-2.1.8.xml

For Magic, each project that needed ehache and it dependencies, you would 
have to define the dependency tree in an index.xml file or include, correct?

I'm still mainly concerned about interal project dependencies. I believe 
modules where meant to solve this issue, but I haven't been able to get 
module support working yet for my projects. Lets say we have four project: 
Project DAOs, Project Services, Project WebServices, Project StoreFront. 
Services depends on DAOs and WebServices and StoreFront depend on Services. 
Let's say that DAO's wants to upgrade from Hibernate v2.x to Hibernate 3.x. 
Under the current build process, all the projects must update their 
dependencies. 

Any good solution? Does module support fit the bill?

Cameron


More information about the dev-dpml mailing list