Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CE896200C02 for ; Fri, 20 Jan 2017 16:41:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CD2C9160B48; Fri, 20 Jan 2017 15:41:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48173160B39 for ; Fri, 20 Jan 2017 16:41:03 +0100 (CET) Received: (qmail 96444 invoked by uid 500); 20 Jan 2017 15:41:02 -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 96430 invoked by uid 99); 20 Jan 2017 15:41:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 15:41:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F32FEDFA6F; Fri, 20 Jan 2017 15:41:01 +0000 (UTC) From: pyxide To: dev@ant.apache.org Reply-To: dev@ant.apache.org References: In-Reply-To: Subject: [GitHub] ant issue #30: Enhance scriptdef with a 'compiled' option Content-Type: text/plain Message-Id: <20170120154101.F32FEDFA6F@git1-us-west.apache.org> Date: Fri, 20 Jan 2017 15:41:01 +0000 (UTC) archived-at: Fri, 20 Jan 2017 15:41:04 -0000 Github user pyxide commented on the issue: https://github.com/apache/ant/pull/30 Thank you for your positive review. > remove part of the reflection logic for master as we target Java8 and javax.script should be there I really don't have a strong opinion on this point. I did the first prototype with `javax.script` classes but used reflection to accommodate to the rest of the code. While adding some test units, I discovered that the BSF manager may automatically compiles scripts. Had the bsf library been on my Ant classpath before, I wouldn't have developped this feature. Should we compile the scripts by default ? On another note, I added the `encoding` option on the other script components that use the `src` attribute (ScriptCondition, ScriptMapper, ScriptFilter, ScriptSelector). --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org