build - Building along with Project Dependencies in Ant -


i have java project dependent on other java projects siblings , there chain of dependencies. each individual project has build script written in ant. clarity find below sample of same.

  1. earproject depends on webproject , ejbproject: war file generated webproject build , jar file generated ejbproject needed build earproject.

  2. webproject depends on componentoneproject: jar file generated componentoneproject build needed build webproject.

  3. ejbproject depends on componenttwoproject: jar file generated componenttwoproject build needed build ejbproject.

so, when build earproject build, if dependent war , jar have not been built yet, should kick-off webproject build , ejbproject build , if componentoneproject yet built, build of componentoneproject needs kicked-off , on.

can suggest clean method can accomplish this?

facing same problem @ our company wrote custom groovy script explores full dependency tree ant generates ant build scripts based on .project, .classpath, .settings/* files. wasn't difficult might seem first. way can build our products without (my)eclipse on clean cvs+jdk+groovy virtual machine. hope helps..


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -