You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2018/06/11 20:06:08 UTC

[incubator-netbeans] branch master updated: Modify the JavaScript script to work not only with Nashorn, but also with GraalVM 1.0.0-rc1 (#580)

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

geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 25f29be  Modify the JavaScript script to work not only with Nashorn, but also with GraalVM 1.0.0-rc1 (#580)
25f29be is described below

commit 25f29be40b5d36447b3ce2bd170feac6bcc0a9ee
Author: Jaroslav Tulach <ja...@oracle.com>
AuthorDate: Mon Jun 11 22:06:05 2018 +0200

    Modify the JavaScript script to work not only with Nashorn, but also with GraalVM 1.0.0-rc1 (#580)
---
 nbbuild/build.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index 065781e..1e101d8 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -1029,11 +1029,11 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y to start the system in d
    >
     <script language="javascript">
         v = ''
-        i = new java.util.TreeMap(project.properties).entrySet().iterator()
+        i = new Packages.java.util.TreeMap(project.getProperties()).entrySet().iterator()
         while (i.hasNext()) {
             e = i.next()
-            if (e.key.startsWith('tryme.arg.')) {
-                v += ' ' + e.value
+            if (e.getKey().startsWith('tryme.arg.')) {
+                v += ' ' + e.getValue()
             }
         }
         project.setNewProperty('tryme.args', v)

-- 
To stop receiving notification emails like this one, please contact
geertjan@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists