Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 67631 invoked from network); 22 Jan 2004 17:50:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Jan 2004 17:50:01 -0000 Received: (qmail 35371 invoked by uid 500); 22 Jan 2004 17:49:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 35342 invoked by uid 500); 22 Jan 2004 17:49:47 -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 35324 invoked from network); 22 Jan 2004 17:49:47 -0000 Received: from unknown (HELO dogfood.dsystems.net) (209.225.128.174) by daedalus.apache.org with SMTP; 22 Jan 2004 17:49:47 -0000 Received: from dougl ([209.225.128.190]) by dogfood.dsystems.net (Post.Office MTA v3.5.2 release 221 ID# 0-71134U1000L100S0V35) with SMTP id net for ; Thu, 22 Jan 2004 12:33:39 -0500 Message-ID: <009b01c3e110$5a46edb0$3d78030a@dougl> From: "Doug Lochart" To: "Ant Users List" Subject: property visibility confusion Date: Thu, 22 Jan 2004 12:51:24 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0098_01C3E0E6.715E9630" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0098_01C3E0E6.715E9630 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ok, I have been using ant for quite some time now but I seem to have run = across something I do not understand. I have a beanshell script inside of a target. It contains the following = lines of code ... later on in the build file Ok, where the echo's occur [1] echos the value of the property. In the = "nextTarget" which executes after "test" target does the echo value does not display the value of the property as if it was = unset. Is this a bug in the way changes are made to a project from within a script? It seems as long as you are within the same = target where the script set a property you can see it. When you go to = the next target in the same build file (same project) the property is not there. I know I have set properties in targets before and then referred back to = them in other targets. Can anyone shed any light on what might be = happening. I am using ant1.6beta, bsf2.3.0 and beanshell 1.3 thanks Doug Now I've gained some understanding=20 Of the only world that we see. Things that I once dreamed of Have become reality. These walls that still surround me Still contain the same old me, Just one more who's searching for A world that ought to be. ------=_NextPart_000_0098_01C3E0E6.715E9630--