Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 13655 invoked from network); 19 Sep 2006 13:42:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 13:42:29 -0000 Received: (qmail 46555 invoked by uid 500); 19 Sep 2006 13:42:22 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 46499 invoked by uid 500); 19 Sep 2006 13:42:22 -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 46455 invoked by uid 99); 19 Sep 2006 13:42:22 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 06:42:22 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received: from ([209.237.227.198:47128] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 77/B2-27824-BB3FF054 for ; Tue, 19 Sep 2006 06:42:20 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id AF33D714305; Tue, 19 Sep 2006 13:38:44 +0000 (GMT) From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 40544] New: - An idea for possible grid use with Ant Message-ID: X-Bugzilla-Reason: AssignedTo Date: Tue, 19 Sep 2006 13:38:44 +0000 (GMT) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40544 Summary: An idea for possible grid use with Ant Product: Ant Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: dev@ant.apache.org ReportedBy: davidcorley@gmail.com Hey all, I've been doing a lot of testing with Findbugs recently, and though it's a fantastic tool, it's extremely resource intensive, and can take some time on large codebases. Yesterday I spotted a video on Google video of a presentation given by Steve Loughran and Julio Guijarro about using a grid to test deployment with a tool they're developing within HP called Smartfrog. The thought occurred to me that perhaps it would be possible to implement some kind of a grid framework in Ant. I'll use the PMD (http://pmd.sourceforge.net) static analysis tool as an example. PMD accepts a nested fileset to specify the location of the source to be checked. The fileset is of the typical form. Lets say we then create a new type that is the same in all manners as fileset (same attributes and elements), with the exception of how ant handles it. Now lets say we build a new ant task that contains the attribute "config", the value for which is an xml file. The xml file would contain locations and configuration information for grid element locations�possibly including network location,connection method, location of access/authorisation information for the resource, etc. The element would be implemented in much the same way the task is currently implemented in Ant. So let say we want to Run both PMD and Findbugs on a grid, we might have: The basic idea being that Ant would split the resources being tested between the grid resources, and (assuming PMD is on each grid machine), split the testing burden between the machines. Part of the grid task would be to ensure that the resources specified in the supplied xml are available before testing begins. My initial thought was around the idea of having Ant parse through gridset objects and split them into smaller fileset objects for distribution to grid resources. Of course the above is a grossly over-simplified explanation of the idea. I've at no point mentioned the problems of how ant gets execution access on the remote machines, not to mention the fact that each of the remote machines must have the same setup as the originating machine. There's also (though not in PMD's case) the issue of Findbugs requiring access to all of the classes being tested, (including those on other machines). So why don't I just get coding instead of posting this? Well for one, I'm a newbie to Java, and sometimes my ideas are well ahead of my capabilities. I just though perhaps some of you may have either tried and failed with this before, or better still, think the above could form the base for a workable solution to grid use of Ant. Anyway, any feedback is appreciated. /Dave -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org