Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 32135 invoked from network); 27 Aug 2004 08:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Aug 2004 08:25:44 -0000 Received: (qmail 26687 invoked by uid 500); 27 Aug 2004 08:25:40 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 26618 invoked by uid 500); 27 Aug 2004 08:25:40 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 26604 invoked by uid 99); 27 Aug 2004 08:25:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 27 Aug 2004 01:25:39 -0700 Received: (qmail 11458 invoked from network); 27 Aug 2004 08:27:21 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 27 Aug 2004 08:27:21 -0000 Message-ID: <174980261.1093595241079.JavaMail.apache@nagoya> Date: Fri, 27 Aug 2004 01:27:21 -0700 (PDT) From: commons-dev@jakarta.apache.org To: commons-dev@jakarta.apache.org Subject: [jira] Closed: (JELLY-27) variables not inherited into nested scripts > level 1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: The following issue has been closed. Resolver: dion gillard Date: Fri, 27 Aug 2004 1:26 AM JellyContext.getVariable now only calls parent.getVariable. --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/JELLY-27 Here is an overview of the issue: --------------------------------------------------------------------- Key: JELLY-27 Summary: variables not inherited into nested scripts > level 1 Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: jelly Components: taglib.ant Fix Fors: 1.0-beta-4 Assignee: james strachan Reporter: Christian Sell Created: Thu, 30 Jan 2003 12:13 PM Updated: Fri, 27 Aug 2004 1:27 AM Description: I have a jelly script which imports another one. The outer script is executed from an ANT task through AntTagLibrary. I find that variables which are defined as ANT properties are not passed into the inner script, even though inherit=true (default). The reason is that the JellyContex.getVariable(String) method calls parent.*findVariable*(String). However, AntJellyContext only overrides getVariable(String), so it is never called from the inner context. Should AntJellyContext override *findVariable* also? It seems questionable to me to have getVariable call findVariable in the first place. Shouldnt that be getVariable again? And what is the distinction between the 2 anyway? I would have provided a patch, if there werent so many questions. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org