Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 33978 invoked from network); 5 Feb 2003 15:38:39 -0000 Received: from junior.lgc.com (134.132.72.99) by daedalus.apache.org with SMTP; 5 Feb 2003 15:38:39 -0000 Received: from lgchvw01.lgc.com (lgchvw01.lgc.com [134.132.93.107]) by junior.lgc.com (8.11.3/8.11.3) with SMTP id h15FbaB26402 for ; Wed, 5 Feb 2003 09:37:36 -0600 (CST) Received: from 134.132.93.152 by lgchvw01.lgc.com (InterScan E-Mail VirusWall NT); Wed, 05 Feb 2003 09:38:39 -0600 Received: by lgchexchbh.ad.lgc.com with Internet Mail Service (5.5.2653.19) id <1C7N56TP>; Wed, 5 Feb 2003 09:38:38 -0600 Message-ID: From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: unset a property of a project. Date: Wed, 5 Feb 2003 09:38:32 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is by design. Properties are immutable, and cannot be unset. If you do an , you go into a nested Ant Project which doesn't have the properties set during the parent Ant Project, but when the returns, all properties set within the nested project are lost. --DD -----Original Message----- From: detlef.brendle@canoo.com [mailto:detlef.brendle@canoo.com] Sent: Wednesday, February 05, 2003 9:32 AM To: Ant Developers List Subject: unset a property of a project. Hi, is there a way to easily unset a property within a project ? As with Ant1.5 the getProperties() returns a copy of the hashtable I cannot see a elegant way to do this. any suggestions `? thanks, detlef