ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Margs E." <ana.m.g.estre...@accenture.com>
Subject Creating Ant script to check Cyclic Dependency
Date Tue, 25 Jun 2013 07:40:35 GMT
Hi Everyone, 
I am new to this forum, and in advanced ant development as well.So I'm
pretty I am in dire need of tutotial.First of all, I was asked to creat an
ant script that would need to check all the plug-ins, features and even the
categories to ensure cyclic dependency is being closely monitored.I come up
to an idea to have the  manifest files of the plug-ins be checked, from one
to another and so on. Like, this particular plug-in's manifest hold its
dependent bundle names which the script would check these dependent bundles
each for the name of that particular plug-in:
<
h4>PLUGIN A--> MANIFEST -->Required-bundle A ---> MANIFEST.mf --> 
                                   
         Required-bundle B ---> MANIFEST.mf
                                          
  Required-bundle C---> MANIFEST.mf
and if plug-in A's name is found on any of the manifest checked, this will
post a cyclic dependency failure. if not, this will just successfully
terminate.However there are much complex scenarios of cyclic dependency
like;
--A depends on B, B on C, and C on A or--Dependent of A Dependes on
dependent of B, while B depends on A.
And I am out of idea since we have so many plug-ins to check, and different
feature groupings.I just need some advise. Thanks in advance!




--
View this message in context: http://ant.1045680.n5.nabble.com/Creating-Ant-script-to-check-Cyclic-Dependency-tp5714244.html
Sent from the Ant - Dev mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message