This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new 19ed753  download graal.js so we can use it in tests
19ed753 is described below

commit 19ed75326ffcecaa08a2e22778bb01f7ded70d1c
Author: Stefan Bodewig <bode...@apache.org>
AuthorDate: Wed May 27 08:10:09 2020 +0200

    download graal.js so we can use it in tests
---
 fetch.xml                | 8 +++++++-
 lib/libraries.properties | 2 ++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/fetch.xml b/fetch.xml
index 44230aa..24e8e6d 100644
--- a/fetch.xml
+++ b/fetch.xml
@@ -319,9 +319,15 @@ Set -Ddest=LOCATION on the command line
     <f2 project="org.mozilla" archive="rhino"/>
   </target>
 
+  <target name="graal.js"
+          description="load Graal.js">
+    <f2 project="org.graalvm.js" archive="js"/>
+    <f2 project="org.graalvm.js" archive="js-scriptengine"/>
+  </target>
+
   <target name="script"
           description="load script languages (except Jython)"
-          depends="bsf,jruby,beanshell,rhino"/>
+          depends="bsf,jruby,beanshell,rhino,graal.js"/>
 
   <target name="debugging"
     description="internal Ant debugging"
diff --git a/lib/libraries.properties b/lib/libraries.properties
index 87fe3cc..ae1a727 100644
--- a/lib/libraries.properties
+++ b/lib/libraries.properties
@@ -42,6 +42,8 @@ bsh.version=2.0b5
 commons-net.version=3.6
 commons-logging.version=1.1
 commons-logging-api.version=${commons-logging.version}
+js.version=20.1.0
+js-scriptengine.version=${js.version}
 hamcrest-core.version=1.3
 hamcrest-library.version=${hamcrest-core.version}
 jai-core.version=1.1.3

Reply via email to