ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52101] Could we please have ant properties in scope in javascript under <script/>
Date Tue, 06 Dec 2011 18:15:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52101

Jesse Glick <jglick@netbeans.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jglick@netbeans.org

--- Comment #2 from Jesse Glick <jglick@netbeans.org> 2011-12-06 18:15:49 UTC ---
(In reply to comment #1)
> In order to code this you need to know BSF or javax.script

org.apache.tools.ant.util.optional.ScriptRunner and JavaxScriptRunner,
respectively, but ScriptDef and ScriptRunnerBase are responsible for defining
specific bindings.

Note that while Ant currently uses BSF 2.x with its proprietary API, 3.x just
uses JSR 223 (and runs on older JDKs). By dropping support for 2.x we could
simplify the Ant interface code - no indirection through ScriptRunnerBase, no
reflection.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message