From dev-return-87493-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Tue Jun 25 08:01:29 2013 Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 770EBC765 for ; Tue, 25 Jun 2013 08:01:29 +0000 (UTC) Received: (qmail 23463 invoked by uid 500); 25 Jun 2013 08:01:23 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 23177 invoked by uid 500); 25 Jun 2013 08:01:11 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 4003 invoked by uid 99); 25 Jun 2013 07:41:23 -0000 X-ASF-Spam-Status: No, hits=4.9 required=5.0 tests=HTML_IMAGE_ONLY_20,HTML_MESSAGE,SPF_NEUTRAL,T_REMOTE_IMAGE,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of ana.m.g.estrella@accenture.com) Date: Tue, 25 Jun 2013 00:40:35 -0700 (PDT) From: "Margs E." To: dev@ant.apache.org Message-ID: <1372146035723-5714244.post@n5.nabble.com> Subject: Creating Ant script to check Cyclic Dependency MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_234958_11057250.1372146035811" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_234958_11057250.1372146035811 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. ------=_Part_234958_11057250.1372146035811--