Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 81407 invoked from network); 25 Apr 2006 15:33:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2006 15:33:48 -0000 Received: (qmail 44811 invoked by uid 500); 25 Apr 2006 15:33:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44669 invoked by uid 500); 25 Apr 2006 15:33:25 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 44610 invoked by uid 99); 25 Apr 2006 15:33:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 08:33:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.127.200.81] (HELO sccrmhc11.comcast.net) (204.127.200.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 08:33:21 -0700 Received: from wcx1000 (c-71-198-217-54.hsd1.ca.comcast.net[71.198.217.54]) by comcast.net (sccrmhc11) with SMTP id <2006042515325801100r9b9le>; Tue, 25 Apr 2006 15:32:59 +0000 From: "bill/wilandra" To: "'Ant Users List'" , "'Ron Jeffries'" Subject: RE: Exception in Style Date: Tue, 25 Apr 2006 08:30:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <698027935.20060425082106@acm.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcZoYsxIUaGFTwscSVqgUKkFqr1LMwAGiVPg X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20060425153324.72C9E10FB00A@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ron, Have you looked at the Forrest project to see how they use ant. http://forrest.apache.org/ They generate a web site from XML input files and use ant to control the process. I have not drilled down into their use of ant but it may give you some ideas. Bill -----Original Message----- From: Ron Jeffries [mailto:ronjeffries@acm.org] Sent: Tuesday, April 25, 2006 5:21 AM To: Ant Users List Subject: Re: Exception in Style On Tuesday, April 25, 2006, at 8:00:53 AM, Steve Loughran wrote: >> That would be handy ... in fact it would be handy if Ant just let me >> assert the end state and did the job. ;-> > I dont disagree, since that is effectively what the latest generation > of configuration management tools do. The hard part is determining > which actions to take to get a machine into the state you want from > its current state, which rapidly approaches ai-hard problems for high > level descriptions, but is more tractable for low level descriptors. > The other problem is that developers and sysadmins often operate in a > procedural mode. I suppose it does get hard. I would be thinking of a sort of XSL style of declaration, except that one bit asserts the end state and the other asserts transformations that accomplish certain subgoals. I can see it'd still get hard in the theoretical sense. On the other hand, it might not be hard in the practical sense, and setting up a script manually is bloody hard (in the technical sense) too. ;-> >>> If you check out Ant from SVN, there is an antunit antlib that >>> provides a set of assertions for testing things. I'll cover it the >>> forthcoming 2nd edition of Java Development with Ant, albeit in the >>> context of testing tasks you write yourself. >> >> I'll watch for the assertions to become part of the release, and for >> the book. As I'm just using Ant for this one task in my life, >> creating my web site, I may choose not to go down the SVN path. > ahh, go on, use a or two just to check state :) Life's so short. Maybe if the weather's too wet for top down driving ... Ron Jeffries www.XProgramming.com It is better to attempt something great and fail that attempt, than to attempt to do nothing and succeed. --Cookie, Garden Court Chinese Restaurant, Hamburg, MI --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org