Hi,

The problem you describe seems to be a perfect fit for Apache Ivy (
http://ant.apache.org/ivy/).
Since you are in an OSGi context (as far as I understand), you might be
particularly interested in checking this part of the documentation :
http://ant.apache.org/ivy/history/latest-milestone/osgi.html. But, be aware
that this support is still experimental and I don't know how it handles
cyclic dependencies.

Hope that helps,
Mathieu


2013/6/25 Margs E. <ana.m.g.estre...@accenture.com>

> 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.

Reply via email to