Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 92717 invoked from network); 20 Aug 2010 08:41:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 08:41:43 -0000 Received: (qmail 23169 invoked by uid 500); 20 Aug 2010 08:41:43 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 22830 invoked by uid 500); 20 Aug 2010 08:41:41 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 22822 invoked by uid 99); 20 Aug 2010 08:41:40 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 08:41:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.18.0.9] (HELO mail-out.m-online.net) (212.18.0.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 08:41:15 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 47DFF1C15C43 for ; Fri, 20 Aug 2010 10:40:55 +0200 (CEST) X-Auth-Info: tibYgMu7oJbMOplYwtMJTNADuG5uTVxo41Kv+2iLcsY= Received: from webmail.mnet-online.de (webmail1.mnet-online.de [212.18.5.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA id 2BF101C0030A for ; Fri, 20 Aug 2010 10:40:55 +0200 (CEST) Received: from smtp.tomtec.de (smtp.tomtec.de [80.146.231.42]) by webmail.mnet-online.de (Horde Framework) with HTTP; Fri, 20 Aug 2010 10:40:55 +0200 Message-ID: <20100820104055.36989lxlc5f16ids@webmail.mnet-online.de> Date: Fri, 20 Aug 2010 10:40:55 +0200 From: stefanb@starnberg-mail.de To: dev@ant.apache.org Subject: scriptdef attributes with parallel-task & jruby 1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.5) X-Virus-Checked: Checked by ClamAV on apache.org Hi, i've just upgraded to ant 1.8.1 due to the threading fix for scriptdef attributes https://issues.apache.org/bugzilla/show_bug.cgi?id=41602 It works for beanshell scripts and also for jruby 1.4.1 I've now also upgraded to jruby-complete-1.5.1 and now I have problems accessing the attributes when called from . Example Here $attributes isn't defined and I get an error javax.script.ScriptException: org.jruby.exceptions.RaiseException: undefined method `get' for nil:NilClass The same script works when threadCount="1" or when using jruby-complete-1.4.1 Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org