Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 54339 invoked from network); 6 May 2005 15:44:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 May 2005 15:44:40 -0000 Received: (qmail 38510 invoked by uid 500); 6 May 2005 15:35:56 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 38448 invoked by uid 500); 6 May 2005 15:35:54 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 38429 invoked by uid 99); 6 May 2005 15:35:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.mdli.com (HELO mail.mdli.com) (208.200.221.8) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 08:35:54 -0700 Received: from exch-sl02.mdli.com (exch-sl02.mdli.com [145.36.243.10]) by mail.mdli.com (Postfix) with ESMTP id A7FF3B5E12 for ; Fri, 6 May 2005 08:32:39 -0700 (PDT) Received: from [145.36.245.225] (145.36.245.225 [145.36.245.225]) by exch-sl02.mdli.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id KL0CNH81; Fri, 6 May 2005 08:32:39 -0700 Message-ID: <427B8E12.6070202@mdl.com> Date: Fri, 06 May 2005 08:32:34 -0700 X-Sybari-Trust: aca18105 ac0c66c6 4485d0c2 0000013d From: "Alexey N. Solofnenko" User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050505) MIME-Version: 1.0 To: Ant Developers List Subject: Re: RFC: metadata (annotations) in ANT References: <427AB9C1.2070200@mdl.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Please see my answers inline. Stefan Bodewig wrote: >On Thu, 05 May 2005, Alexey N. Solofnenko >wrote: > > > >>So instead of adding N+1 attribute, it is possible to use metadata >>facility similar to ones in Java or C# - generic annotations for >>targets (and tasks). >> >> > >One alternative would be to use namespace aware attributes, making Ant >ignore attributes in namespaces it didn't understand but still store >them (in an identity map for example). > >I must confess that I don't follow your usecases, though. So far I >don't even understand your approach to parallel execution based on >such metadata, your example might be too terse or I should go to >bugzilla or the mailing list archives to get the context. Dunno. > > > >> Annotations are defined using XML processing instructions in >> format >> >> > >Ouch. > >Any way that worked without PIs would be better IMHO. > > > PIs are good that the do not change original XML, so they can be invisible to programs that do not understand them. >>IdentityHashMap was introduced in Java 1.4. This would be a good >>reason to drop 1.3 support in ANT (discussed separately), >> >> > >We haven't even dropped 1.2 support 8-) > > We will need to work it out. System.identityHashCode() is there from 1.1. > > >>Possible uses: >>- for parallel executor: >> >> >> > >what would that mean? And what would it mean for your parallel >executor if I don't mark up my build file at all? Maybe I can't >because I'm checking it out from somewhere else. > > > That means no targets with the same mutex name specified can be executed concurrently (for example, only one target with "test-mutex1" mutex specified). >>- for distributed executor: >> >> >> >> >> > >This completely loses me. Is the first one the equivalent of > > > > > > > > > > > > > > > This is to select where this target should be executed (for example, a target can be a Linux portion of the build, or it can require some third party software installed on computer, for example, InstallShield). Not all computers are equal. >>- for group executor (to execute only targets from some subset): >> >> >> > > > This is a cheap replacement for real distributed executor (not all dependencies have to be executed on all computers, they may already be executed before). >No idea, sorry. > >Stefan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > > -- ------------------------------------------------------------------------ / Alexey N. Solofnenko home: http://trelony.cjb.net/ / --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org