From user-return-43522-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Jun 01 13:20:46 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21919 invoked from network); 1 Jun 2004 13:20:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jun 2004 13:20:46 -0000 Received: (qmail 97158 invoked by uid 500); 1 Jun 2004 13:20:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 97031 invoked by uid 500); 1 Jun 2004 13:20:34 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 97015 invoked by uid 99); 1 Jun 2004 13:20:34 -0000 Received: from [204.127.202.64] (HELO sccrmhc13.comcast.net) (204.127.202.64) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 01 Jun 2004 06:20:34 -0700 Received: from nicki.visi.com (c-24-118-224-155.mn.client2.attbi.com[24.118.224.155]) by comcast.net (sccrmhc13) with SMTP id <2004060113202301600rmtmke>; Tue, 1 Jun 2004 13:20:23 +0000 Message-Id: <5.2.1.1.0.20040601081642.02a5bdb8@pop.shell.visi.com> X-Sender: hoju@pop.shell.visi.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Tue, 01 Jun 2004 08:20:18 -0500 To: "Ant Users List" From: Jacob Kjome Subject: Re: Problem with Ant 1.6.1 In-Reply-To: <00f801c447d7$a8633070$4f21040a@rup.absa.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N See the release notes for Ant-1.5.xx. A major change happened between 1.4.x and 1.5.x. Properties became immutable. You'll have to wait to set a default value for a property until *after* a condition has been run though. If you set a property, nothing else can reset that property (unless you use some ant-contrib tasks or use a scripting language). This is core to understanding how to write modern Ant build files. Make sure to read the docs. Jake At 02:55 PM 6/1/2004 +0200, you wrote: >Hi, > >I've upgraded from ant 1.4.1 to 1.6.1, now I get an error when building my >EnterpriseArchives. The condition task cannot override a property anymore. >Does this mean that the condition task for ant 1.6.1 has changed and is >there any reason for this change and also an alternative to what the >condition task used to do. > >Regards >Joe >______________________________________________ > >E-mail Disclaimer and Company Information > >http://www.absa.co.za/ABSA/EMail_Disclaimer --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org