[jira] [Assigned] (NETBEANS-206) Please add support for JSNI

2017-12-17 Thread Jaroslav Tulach (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach reassigned NETBEANS-206:


Assignee: Jaroslav Tulach

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Jaroslav Tulach
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-206) Please add support for JSNI

2017-12-17 Thread Jaroslav Tulach (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294494#comment-16294494
 ] 

Jaroslav Tulach edited comment on NETBEANS-206 at 12/18/17 4:09 AM:


As far as HTML/Java goes, then I think my answer to these ideas has already 
been given: In January 2014 I wrote 
http://wiki.apidesign.org/wiki/MigrateFromGWT. The primary difference is that 
the `@JavaScriptBody` annotation has to be inserted into bytecode - e.g. it 
cannot be just a comment like JSNI. Yes, there there can be a syntax support, 
hint/conversion tool in the IDE and [~jlahoda] and [~tzezula] wrote one - I am 
just not able to find the module right now.


was (Author: jtulach):
As far as I HTML/Java goes, then I think my answer to these ideas has already 
been given: In January 2014 I wrote 
http://wiki.apidesign.org/wiki/MigrateFromGWT. The primary difference is that 
the `@JavaScriptBody` annotation has to be inserted into bytecode - e.g. it 
cannot be just a comment like JSNI. Yes, there there can be a syntax support, 
hint/conversion tool in the IDE and [~jlahoda] and [~tzezula] wrote one - I am 
just not able to find the module right now.

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-206) Please add support for JSNI

2017-12-17 Thread Jaroslav Tulach (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294494#comment-16294494
 ] 

Jaroslav Tulach commented on NETBEANS-206:
--

As far as I HTML/Java goes, then I think my answer to these ideas has already 
been given: In January 2014 I wrote 
http://wiki.apidesign.org/wiki/MigrateFromGWT. The primary difference is that 
the `@JavaScriptBody` annotation has to be inserted into bytecode - e.g. it 
cannot be just a comment like JSNI. Yes, there there can be a syntax support, 
hint/conversion tool in the IDE and [~jlahoda] and [~tzezula] wrote one - I am 
just not able to find the module right now.

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-216) bytelist - ClassNotFoundException

2017-12-17 Thread Antonio Vieiro (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294342#comment-16294342
 ] 

Antonio Vieiro commented on NETBEANS-216:
-

This is reproducible when opening any YAML file, as the YAML parser fails.

> bytelist - ClassNotFoundException
> -
>
> Key: NETBEANS-216
> URL: https://issues.apache.org/jira/browse/NETBEANS-216
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20171217-unknown-revn)
> Updates: Updates available
> Java: 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12
> Runtime: OpenJDK Runtime Environment 1.8.0_151-8u151-b12-1~deb9u1-b12
> System: Linux version 4.9.0-4-amd64 running on amd64; UTF-8; es_ES (nb)
> User directory: /home/antonio/.netbeans/dev
> Cache directory: /home/antonio/.cache/netbeans/dev
>Reporter: Antonio Vieiro
>Assignee: Antonio Vieiro
>  Labels: Java9-IDE
>
> libs.bytelist module throws a ClassNotFoundException when parsing YAML files
> I think this was upgraded after the donation, it seems 
> "org.jcondings.Encoding" is required somewhere.
> {code:java}
> java.lang.ClassNotFoundException: org.jcodings.Encoding
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: org.jcodings.Encoding starting from 
> ModuleCL@24336a2f[org.netbeans.libs.bytelist] with possible defining loaders 
> null and declared parents ]
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> Caused: java.lang.NoClassDefFoundError: org/jcodings/Encoding
>   at 
> org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:179)
>   at 
> org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:342)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.i

[jira] [Assigned] (NETBEANS-216) bytelist - ClassNotFoundException

2017-12-17 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro reassigned NETBEANS-216:
---

Assignee: Antonio Vieiro

> bytelist - ClassNotFoundException
> -
>
> Key: NETBEANS-216
> URL: https://issues.apache.org/jira/browse/NETBEANS-216
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20171217-unknown-revn)
> Updates: Updates available
> Java: 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12
> Runtime: OpenJDK Runtime Environment 1.8.0_151-8u151-b12-1~deb9u1-b12
> System: Linux version 4.9.0-4-amd64 running on amd64; UTF-8; es_ES (nb)
> User directory: /home/antonio/.netbeans/dev
> Cache directory: /home/antonio/.cache/netbeans/dev
>Reporter: Antonio Vieiro
>Assignee: Antonio Vieiro
>  Labels: Java9-IDE
>
> libs.bytelist module throws a ClassNotFoundException when parsing YAML files
> I think this was upgraded after the donation, it seems 
> "org.jcondings.Encoding" is required somewhere.
> {code:java}
> java.lang.ClassNotFoundException: org.jcodings.Encoding
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: org.jcodings.Encoding starting from 
> ModuleCL@24336a2f[org.netbeans.libs.bytelist] with possible defining loaders 
> null and declared parents ]
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> Caused: java.lang.NoClassDefFoundError: org/jcodings/Encoding
>   at 
> org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:179)
>   at 
> org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:342)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
>   a

[jira] [Commented] (NETBEANS-216) bytelist - ClassNotFoundException

2017-12-17 Thread Antonio Vieiro (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16294329#comment-16294329
 ] 

Antonio Vieiro commented on NETBEANS-216:
-

It seems bytelist latest vesion depends on https://github.com/jruby/jcodings

> bytelist - ClassNotFoundException
> -
>
> Key: NETBEANS-216
> URL: https://issues.apache.org/jira/browse/NETBEANS-216
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20171217-unknown-revn)
> Updates: Updates available
> Java: 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12
> Runtime: OpenJDK Runtime Environment 1.8.0_151-8u151-b12-1~deb9u1-b12
> System: Linux version 4.9.0-4-amd64 running on amd64; UTF-8; es_ES (nb)
> User directory: /home/antonio/.netbeans/dev
> Cache directory: /home/antonio/.cache/netbeans/dev
>Reporter: Antonio Vieiro
>  Labels: Java9-IDE
>
> libs.bytelist module throws a ClassNotFoundException when parsing YAML files
> I think this was upgraded after the donation, it seems 
> "org.jcondings.Encoding" is required somewhere.
> {code:java}
> java.lang.ClassNotFoundException: org.jcodings.Encoding
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
> Caused: java.lang.ClassNotFoundException: org.jcodings.Encoding starting from 
> ModuleCL@24336a2f[org.netbeans.libs.bytelist] with possible defining loaders 
> null and declared parents ]
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> Caused: java.lang.NoClassDefFoundError: org/jcodings/Encoding
>   at 
> org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:179)
>   at 
> org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:342)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$

[jira] [Created] (NETBEANS-216) bytelist - ClassNotFoundException

2017-12-17 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-216:
---

 Summary: bytelist - ClassNotFoundException
 Key: NETBEANS-216
 URL: https://issues.apache.org/jira/browse/NETBEANS-216
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Module System
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
20171217-unknown-revn)
Updates: Updates available
Java: 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12
Runtime: OpenJDK Runtime Environment 1.8.0_151-8u151-b12-1~deb9u1-b12
System: Linux version 4.9.0-4-amd64 running on amd64; UTF-8; es_ES (nb)
User directory: /home/antonio/.netbeans/dev
Cache directory: /home/antonio/.cache/netbeans/dev
Reporter: Antonio Vieiro


libs.bytelist module throws a ClassNotFoundException when parsing YAML files

I think this was upgraded after the donation, it seems "org.jcondings.Encoding" 
is required somewhere.

{code:java}
java.lang.ClassNotFoundException: org.jcodings.Encoding
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
Caused: java.lang.ClassNotFoundException: org.jcodings.Encoding starting from 
ModuleCL@24336a2f[org.netbeans.libs.bytelist] with possible defining loaders 
null and declared parents ]
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Caused: java.lang.NoClassDefFoundError: org/jcodings/Encoding
at 
org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:179)
at 
org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:342)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
at 
org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.a

[jira] [Updated] (NETBEANS-215) Standardized footer for Apache NetBeans mailing lists

2017-12-15 Thread Geertjan Wielenga (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Geertjan Wielenga updated NETBEANS-215:
---
Description: 
Whenever an e-mail is received by any Apache NetBeans mailing list, the footer 
below should be added, after a series of "---", i.e., some demarcation 
between content and footer:

"Thank you for participating in Apache NetBeans! Do you want to unsubscribe or 
subscribe to a different mailing list? Go here for all the details: 
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists.;

The link should be explicit, as the above, or should be the result of clicking 
on "Go here for all the details.", depending on Apache conventions, 
recommendations, and best practices.

  was:
Whenever an e-mail is received by any Apache NetBeans mailing list, the footer 
below should be added, after a series of "---", i.e., some demarcation 
between content and footer:

"Thank you for participating in Apache NetBeans! Do you want to unsubscribe or 
subscribe to a different mailing list? Go here for all the details: 
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists.;

The link should be explicit, as the above, or should be the result of clicking 
on "Go here for all the details.", depending o Apache conventions, 
recommendations, and best practices.


> Standardized footer for Apache NetBeans mailing lists
> -
>
> Key: NETBEANS-215
> URL: https://issues.apache.org/jira/browse/NETBEANS-215
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Grant McDonald
>
> Whenever an e-mail is received by any Apache NetBeans mailing list, the 
> footer below should be added, after a series of "---", i.e., some 
> demarcation between content and footer:
> "Thank you for participating in Apache NetBeans! Do you want to unsubscribe 
> or subscribe to a different mailing list? Go here for all the details: 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists.;
> The link should be explicit, as the above, or should be the result of 
> clicking on "Go here for all the details.", depending on Apache conventions, 
> recommendations, and best practices.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (NETBEANS-215) Standardized footer for Apache NetBeans mailing lists

2017-12-15 Thread Gavin (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gavin reassigned NETBEANS-215:
--

Assignee: Gavin  (was: Grant McDonald)

> Standardized footer for Apache NetBeans mailing lists
> -
>
> Key: NETBEANS-215
> URL: https://issues.apache.org/jira/browse/NETBEANS-215
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Gavin
>
> Whenever an e-mail is received by any Apache NetBeans mailing list, the 
> footer below should be added, after a series of "---", i.e., some 
> demarcation between content and footer:
> "Thank you for participating in Apache NetBeans! Do you want to unsubscribe 
> or subscribe to a different mailing list? Go here for all the details: 
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists.;
> The link should be explicit, as the above, or should be the result of 
> clicking on "Go here for all the details.", depending on Apache conventions, 
> recommendations, and best practices.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-215) Standardized footer for Apache NetBeans mailing lists

2017-12-15 Thread Geertjan Wielenga (JIRA)
Geertjan Wielenga created NETBEANS-215:
--

 Summary: Standardized footer for Apache NetBeans mailing lists
 Key: NETBEANS-215
 URL: https://issues.apache.org/jira/browse/NETBEANS-215
 Project: NetBeans
  Issue Type: Bug
Reporter: Geertjan Wielenga
Assignee: Grant McDonald


Whenever an e-mail is received by any Apache NetBeans mailing list, the footer 
below should be added, after a series of "---", i.e., some demarcation 
between content and footer:

"Thank you for participating in Apache NetBeans! Do you want to unsubscribe or 
subscribe to a different mailing list? Go here for all the details: 
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists.;

The link should be explicit, as the above, or should be the result of clicking 
on "Go here for all the details.", depending o Apache conventions, 
recommendations, and best practices.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-214) NullPointerException when using "Fast Import"

2017-12-13 Thread Thomas Kellerer (JIRA)
Thomas Kellerer created NETBEANS-214:


 Summary: NullPointerException when using "Fast Import"
 Key: NETBEANS-214
 URL: https://issues.apache.org/jira/browse/NETBEANS-214
 Project: NetBeans
  Issue Type: Bug
  Components: java - Source
Affects Versions: Next
 Environment: Windows 10, Java 9.0.1
Reporter: Thomas Kellerer


When using "Fast Import" through the shortcut {{Ctrl-Shift-I}} on e.g. the 
class name of a variable declaration a NullPointerException is thrown:

{noformat}
java.lang.NullPointerException
at 
org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidates(ComputeImports.java:254)
at 
org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:123)
at 
org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:115)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:523)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:204)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:201)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:141)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:90)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:201)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:473)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:444)
at 
org.netbeans.modules.java.editor.imports.FastImportAction$2.run(FastImportAction.java:151)
at 
org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:169)
at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
at org.openide.util.RequestProcessor.post(RequestProcessor.java:420)
at 
org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThreadImpl(RunOffEDTImpl.java:163)
at 
org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:106)
at 
org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:113)
at 
org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:90)
at 
org.netbeans.modules.java.editor.imports.FastImportAction.actionPerformed(FastImportAction.java:147)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:347)
at 
java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1805)
at 
java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2901)
at 
java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2949)
at 
java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2863)
at java.desktop/java.awt.Component.processEvent(Component.java:6355)
at java.desktop/java.awt.Container.processEvent(Container.java:2259)
at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4961)
at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2317)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4793)
at 
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1955)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:827)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1096)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:966)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:792)

[jira] [Commented] (NETBEANS-206) Please add support for JSNI

2017-12-13 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16288920#comment-16288920
 ] 

Christian Lenz commented on NETBEANS-206:
-

Sure this is a explicit case for HTML4J but the first code example is also a 
valid GWT example (Without the JavaScriptBody annotation).

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-206) Please add support for JSNI

2017-12-13 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16288916#comment-16288916
 ] 

Christian Lenz commented on NETBEANS-206:
-

So this is better to read and write:

{code}
@JavaScriptBody(args = { "name", "value" }, javacall = true)
private static native void exposeModel(String name, NbScratchFileViewModel 
value) /*-{
window[name] = {
setExt: function(ext, languageName) {

value.@org.chrisle.netbeans.plugins.nbscratchfile.NbScratchFileViewModel::setExt(Ljava/lang/String;Ljava/lang/String;)(ext,
 languageName);
},
getColor: function(colorString, brighter) {
return 
value.@org.chrisle.netbeans.plugins.nbscratchfile.NbScratchFileViewModel::getColor(Ljava/lang/String;Ljava/lang/Boolean;)(colorString,
 brighter);
}
};
}-*/
{code}

than this:

{code}
@JavaScriptBody(args = { "name", "value" }, javacall = true, body = "\n"
+ "window[name] = {"
+ "setExt : function(ext, languageName) {\n"
+ "  
value.@org.chrisle.netbeans.plugins.nbscratchfile.NbScratchFileViewModel::setExt(Ljava/lang/String;Ljava/lang/String;)(ext,
 languageName);\n"
+ "},\n"
+ "getColor : function(colorString, brighter) {\n"
+ "  return 
value.@org.chrisle.netbeans.plugins.nbscratchfile.NbScratchFileViewModel::getColor(Ljava/lang/String;Ljava/lang/Boolean;)(colorString,
 brighter);\n"
+ "}\n"
+ "};"
)
private static native void exposeModel(String name, NbScratchFileViewModel 
value);
{code}

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-206) Please add support for JSNI

2017-12-13 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16288911#comment-16288911
 ] 

Christian Lenz commented on NETBEANS-206:
-

Not everyone is using the newest GWT version. Yes JSNI is deprecated when 
JsInterop was coming, but it came in 2.7 I think. JSNI could be really an 
enhancement for HTML4J from [~jtulach]. The thing is, as you can see the code 
it makes the code much cleaner and better to write, instead of having the JS 
code inside a string with breaks in the annotation. But this could be an other 
topic. I had to use an old GWT version where JsInterop wasn't there.

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (NETBEANS-169) Weird visual artifact on the editor window

2017-12-13 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro reassigned NETBEANS-169:
---

Assignee: Antonio Vieiro

> Weird visual artifact on the editor window
> --
>
> Key: NETBEANS-169
> URL: https://issues.apache.org/jira/browse/NETBEANS-169
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 8.2
> Environment: OS:
> Linux X 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
> Java:
> openjdk version "1.8.0_151"
> OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
> OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
> IDE:
> Product Version: NetBeans IDE 8.2 (Build 201705191307)
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12
> Runtime: OpenJDK Runtime Environment 1.8.0_151-8u151-b12-1~deb9u1-b12
> System: Linux version 4.9.0-4-amd64 running on amd64; UTF-8; es_ES (nb)
> User directory: /home/antonio/.netbeans/8.2
> Cache directory: /home/antonio/.cache/netbeans/8.2
> With installed XML Tools plugin:
> Version: 6.10 Source: XML PACK  
> Plugin Description
> XML Tools.
>Reporter: Antonio Vieiro
>Assignee: Antonio Vieiro
>  Labels: Java9-IDE
> Attachments: netbeans-3.png
>
>
> While scrolling a weird artifact appears on the editor window, blocking a 
> part of the file. Seems to be some sort of misplaced popup window.
> I think I can reproduce it as follows:
> - Close all windows.
> - Open a medium sized XML File.
> - Without clicking on it, just scroll down through the file, the pop-up 
> window will appear on the top-left area of the editor.
> I'm attaching a partial screenshot with the popup window.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-206) Please add support for JSNI

2017-12-12 Thread Antonio Vieiro (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16288407#comment-16288407
 ] 

Antonio Vieiro commented on NETBEANS-206:
-

I thought JSNI was being deprecated in favor of JSInterop. Is JSNI really used 
nowadays?

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-213) Open in Explorer/Finder/File Manager is missing

2017-12-12 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-213:
---

 Summary: Open in Explorer/Finder/File Manager is missing
 Key: NETBEANS-213
 URL: https://issues.apache.org/jira/browse/NETBEANS-213
 Project: NetBeans
  Issue Type: Improvement
  Components: ide - UI
Reporter: Antonio Vieiro


There's a bunch of functionality in Java 9 
https://docs.oracle.com/javase/9/docs/api/java/awt/Desktop.html
that we should be using.

Opening a file manager in all platforms is most useful from within an IDE. This 
feature has been provided by external plugins over the years, it's time to have 
it now.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-212) Project actions is getting too large

2017-12-12 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-212:
---

 Summary: Project actions is getting too large
 Key: NETBEANS-212
 URL: https://issues.apache.org/jira/browse/NETBEANS-212
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Generic Projects UI
Reporter: Antonio Vieiro
 Attachments: netbeans-project-menu.png

The "Project" menu is way too large, reaching 811 pixels.
I think this should be grouped somehow, leaving less-used options grouped in 
menu items.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-211) OSX Launher: Invalid license headers

2017-12-12 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-211:
---

 Summary: OSX Launher: Invalid license headers
 Key: NETBEANS-211
 URL: https://issues.apache.org/jira/browse/NETBEANS-211
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Launchers
Reporter: Antonio Vieiro


Files under ide/launcher/macosx/NetBeansLauncher/English.lproj/
have invalid Sun Licenses, not Apache ones.
These files have special hex values at the beginning of the file (0xFE, 0xFF, 
unicode, big endian) and should probably be edited with OS/X specific tooling 
(plutil, perhaps? XCode?)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-210) Unable to unpack maven index on Linux

2017-12-12 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-210:

Priority: Major  (was: Blocker)

Critical -> Major as Maven projects can still be run.

> Unable to unpack maven index on Linux
> -
>
> Key: NETBEANS-210
> URL: https://issues.apache.org/jira/browse/NETBEANS-210
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 9.0
> Environment:   Product Version = Apache NetBeans IDE Dev 
> (Build 20171212-unknown-revn)
>   Operating System= Linux version 4.9.0-4-amd64 running on amd64
>   Java; VM; Vendor= 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12; 
> Oracle Corporation
>   Runtime = OpenJDK Runtime Environment 
> 1.8.0_151-8u151-b12-1~deb9u1-b12
>   Java Home   = /usr/lib/jvm/java-8-openjdk-amd64/jre
>   System Locale; Encoding = es_ES (nb); UTF-8
>   Home Directory  = /home/antonio
>   Current Directory   = /home/antonio/SOFTWARE/NETBEANS
>   User Directory  = /home/antonio/.netbeans/dev
>   Cache Directory = /home/antonio/.cache/netbeans/dev
>Reporter: Antonio Vieiro
>Assignee: Antonio Vieiro
>  Labels: Java9-IDE
> Attachments: maven-1.png, maven-2.png, maven-exception.txt
>
>
> In Linux the system property "java.io.tmpdir" is set to "/tmp" by default.
> In modern Linux distributions (Debian 9, Ubuntu?) the "/tmp" filesystem is 
> only a few gigabytes big. In my case "df -h" reports:
> {code}
> /dev/sda51,9G12M  1,7G   1% /tmp
> {code}
> These "1.9G" of total size are not big enough to unpack the maven index, so 
> NetBeans *always* fails to unpack the maven index, and cannot run Maven based 
> projects.
> A solution to the problem could be adding 
> {code}
> -Djava.io.tmpdir=[netbeans_user_directory]/tmp
> {code}
> at startup, adding it to [netbeans_installation_directory]/etc/netbeans.conf



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-210) Unable to unpack maven index on Linux

2017-12-12 Thread Antonio Vieiro (JIRA)
Antonio Vieiro created NETBEANS-210:
---

 Summary: Unable to unpack maven index on Linux
 Key: NETBEANS-210
 URL: https://issues.apache.org/jira/browse/NETBEANS-210
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 9.0
 Environment:   Product Version = Apache NetBeans IDE Dev 
(Build 20171212-unknown-revn)
  Operating System= Linux version 4.9.0-4-amd64 running on amd64
  Java; VM; Vendor= 1.8.0_151; OpenJDK 64-Bit Server VM 25.151-b12; 
Oracle Corporation
  Runtime = OpenJDK Runtime Environment 
1.8.0_151-8u151-b12-1~deb9u1-b12
  Java Home   = /usr/lib/jvm/java-8-openjdk-amd64/jre
  System Locale; Encoding = es_ES (nb); UTF-8
  Home Directory  = /home/antonio
  Current Directory   = /home/antonio/SOFTWARE/NETBEANS
  User Directory  = /home/antonio/.netbeans/dev
  Cache Directory = /home/antonio/.cache/netbeans/dev
Reporter: Antonio Vieiro
Priority: Blocker
 Attachments: maven-1.png, maven-2.png, maven-exception.txt

In Linux the system property "java.io.tmpdir" is set to "/tmp" by default.
In modern Linux distributions (Debian 9, Ubuntu?) the "/tmp" filesystem is only 
a few gigabytes big. In my case "df -h" reports:

{code}
/dev/sda51,9G12M  1,7G   1% /tmp
{code}

These "1.9G" of total size are not big enough to unpack the maven index, so 
NetBeans *always* fails to unpack the maven index, and cannot run Maven based 
projects.

A solution to the problem could be adding 

{code}
-Djava.io.tmpdir=[netbeans_user_directory]/tmp
{code}

at startup, adding it to [netbeans_installation_directory]/etc/netbeans.conf




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-125) Enumerate the template types needed for the new site based on various sections of the web site; this data will be used by the Groovy script which needs to be aid in c

2017-12-12 Thread Eric Barboni (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16287719#comment-16287719
 ] 

Eric Barboni commented on NETBEANS-125:
---

Hi, 
https://netbeans.org/kb/docs/javaee is a 404 :/

Kb trails that present a "section" are a particular template where content that 
is triaged by type.
See : https://netbeans.org/kb/trails/java-ee.html may deserve a common template 
or one for each section ?

"sections" element like this one:
https://netbeans.org/kb/docs/javaee/javaee-intro.html additionnaly 
The issue within the may be the support for different language, each page my 
have a different set of language supported ?


> Enumerate the template types needed for the new site based on various 
> sections of the web site; this data will be used by the Groovy script which 
> needs to be aid in conversion
> ---
>
> Key: NETBEANS-125
>     URL: https://issues.apache.org/jira/browse/NETBEANS-125
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>Assignee: Wade Chandler
>
> We need to create templates, and give them an identifier, to be used by 
> content and sidecar files, and eventually by JBake. These templates need to 
> be based or derived from the current sections of the new site which we wish 
> to keep. We need to map these to sections of the old site by relative paths.
> These relative paths can then be used by the Groovy script which will process 
> the content in the hierarchy to correctly match up the page/template type for 
> the various content pages and sidecar files. This will cause the new site to 
> include the required content and structure for the specific content as the 
> static site is generated.
> As an example, the new site has the platform top level domain files under the 
> "platform" directory. This pattern could then be mapped to 
> /platform/tutorials 
> https://platform.netbeans.org/tutorials/nbm-quick-start.html or perhaps 
> something else.
> There is also the kb which has structures like this 
> https://netbeans.org/kb/docs/javaee and https://netbeans.org/kb/docs/java. 
> These can be linked to /kb/docs/java and kb/docs/javaee. These different 
> "sections", can have subtly different headers or footers as well as different 
> side bars which link to relevant other content.
> The specifics of the templates themselves do not have to be worked out just 
> yet, but the names of them, which are valid values to be used by JBake, and 
> in the YAML sidecar files, do. The various templates can then be worked up as 
> needed after the list and requirements are determined.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-209) Please add an option to show/hide line numbers for JEditorPane

2017-12-12 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-209:
---

 Summary: Please add an option to show/hide line numbers for 
JEditorPane
 Key: NETBEANS-209
 URL: https://issues.apache.org/jira/browse/NETBEANS-209
 Project: NetBeans
  Issue Type: Improvement
  Components: editor - Actions/Menu/Toolbar, editor - Other
Affects Versions: Next
Reporter: Christian Lenz


As a plugin developer, sometimes you want to have a editor capability in your 
plugin. So you create a JEditorPane with the properties, that it needs and it 
works. You can add the mimetype and it will give you syntax highlighting and 
code completion etc. But one of the most important features, which you can't 
activate/deactivate easily are line numbers. So I know some plugins, where such 
JEditorPane is used, but w/o LineNumbers, which is sometimes needed. Until now, 
I couldn't find an easy solution to have an option to add line numbers to my 
editor pane, which I added into my other stuff. So I expect a function called 
showLineNumbers(true/false) like the function for JDialogs -> 
showDialog(true/false).

Of course it is not a part of the editor, because it is in front of it, but it 
is a part of the editor, because it interacts with the editor. You have 
breakpoints in there and annotations and bookmarks, which comes from the editor.


Cheers

Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (NETBEANS-208) NPE when selecting task in JIRA plugin

2017-12-11 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro reassigned NETBEANS-208:
---

Assignee: Antonio Vieiro

> NPE when selecting task in JIRA plugin
> --
>
> Key: NETBEANS-208
> URL: https://issues.apache.org/jira/browse/NETBEANS-208
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - Infrastructure
>Affects Versions: 9.0
> Environment: 
> NetBeans-dev-incubator-netbeans-linux-264-on-20171209-basic.zip
>Reporter: Glenn Holmer
>Assignee: Antonio Vieiro
>Priority: Minor
> Fix For: 9.0
>
>
> 1) Set up Apache JIRA in NetBeans services.
> 2) Select task repository, select NetBeans project, choose "Find Tasks".
> 3) Select task type "Bug", fix for "9.0", click Search button.
> 4) Double-click "NETBEANS-9" task.
> 5) Task opens, but NetBeans "Report Problem" dialog opens showing an NPE.
> An NPE also occurs at the beginning of the "Report Task" workflow.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-208) NPE when selecting task in JIRA plugin

2017-12-11 Thread Antonio Vieiro (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16286435#comment-16286435
 ] 

Antonio Vieiro commented on NETBEANS-208:
-

This belongs to org.netbeans.modules.jira, that has not been donated to Apache.


> NPE when selecting task in JIRA plugin
> --
>
> Key: NETBEANS-208
> URL: https://issues.apache.org/jira/browse/NETBEANS-208
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - Infrastructure
>Affects Versions: 9.0
> Environment: 
> NetBeans-dev-incubator-netbeans-linux-264-on-20171209-basic.zip
>Reporter: Glenn Holmer
>Assignee: Antonio Vieiro
>Priority: Minor
> Fix For: 9.0
>
>
> 1) Set up Apache JIRA in NetBeans services.
> 2) Select task repository, select NetBeans project, choose "Find Tasks".
> 3) Select task type "Bug", fix for "9.0", click Search button.
> 4) Double-click "NETBEANS-9" task.
> 5) Task opens, but NetBeans "Report Problem" dialog opens showing an NPE.
> An NPE also occurs at the beginning of the "Report Task" workflow.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (NETBEANS-208) NPE when selecting task in JIRA plugin

2017-12-11 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro closed NETBEANS-208.
---
Resolution: Won't Fix

This belongs to org.netbeans.modules.jira, not donated to Apache.
I'll try to create and open an issue at Oracle, if possible.

> NPE when selecting task in JIRA plugin
> --
>
> Key: NETBEANS-208
> URL: https://issues.apache.org/jira/browse/NETBEANS-208
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - Infrastructure
>Affects Versions: 9.0
> Environment: 
> NetBeans-dev-incubator-netbeans-linux-264-on-20171209-basic.zip
>Reporter: Glenn Holmer
>Assignee: Antonio Vieiro
>Priority: Minor
> Fix For: 9.0
>
>
> 1) Set up Apache JIRA in NetBeans services.
> 2) Select task repository, select NetBeans project, choose "Find Tasks".
> 3) Select task type "Bug", fix for "9.0", click Search button.
> 4) Double-click "NETBEANS-9" task.
> 5) Task opens, but NetBeans "Report Problem" dialog opens showing an NPE.
> An NPE also occurs at the beginning of the "Report Task" workflow.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-208) NPE when selecting task in JIRA plugin

2017-12-11 Thread Antonio Vieiro (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16286409#comment-16286409
 ] 

Antonio Vieiro commented on NETBEANS-208:
-

For the record, the exception is:

SEVERE [global]
java.lang.NullPointerException
at 
org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:1004)
at 
org.netbeans.modules.jira.issue.IssuePanel.reloadField(IssuePanel.java:993)
at 
org.netbeans.modules.jira.issue.IssuePanel.reloadForm(IssuePanel.java:781)
at 
org.netbeans.modules.jira.issue.IssuePanel.reloadFormInAWT(IssuePanel.java:1306)
at 
org.netbeans.modules.jira.issue.NbJiraIssue$Controller$1.run(NbJiraIssue.java:2003)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.desktop/java.awt.EventQueue.access$500(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:717)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:711)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:89)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:199)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

> NPE when selecting task in JIRA plugin
> --
>
> Key: NETBEANS-208
> URL: https://issues.apache.org/jira/browse/NETBEANS-208
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - Infrastructure
>Affects Versions: 9.0
> Environment: 
> NetBeans-dev-incubator-netbeans-linux-264-on-20171209-basic.zip
>Reporter: Glenn Holmer
>Assignee: Antonio Vieiro
>Priority: Minor
> Fix For: 9.0
>
>
> 1) Set up Apache JIRA in NetBeans services.
> 2) Select task repository, select NetBeans project, choose "Find Tasks".
> 3) Select task type "Bug", fix for "9.0", click Search button.
> 4) Double-click "NETBEANS-9" task.
> 5) Task opens, but NetBeans "Report Problem" dialog opens showing an NPE.
> An NPE also occurs at the beginning of the "Report Task" workflow.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-208) NPE when selecting task in JIRA plugin

2017-12-11 Thread Glenn Holmer (JIRA)
Glenn Holmer created NETBEANS-208:
-

 Summary: NPE when selecting task in JIRA plugin
 Key: NETBEANS-208
 URL: https://issues.apache.org/jira/browse/NETBEANS-208
 Project: NetBeans
  Issue Type: Bug
  Components: serverplugins - Infrastructure
Affects Versions: 9.0
 Environment: 
NetBeans-dev-incubator-netbeans-linux-264-on-20171209-basic.zip

Reporter: Glenn Holmer
Priority: Minor
 Fix For: 9.0


1) Set up Apache JIRA in NetBeans services.
2) Select task repository, select NetBeans project, choose "Find Tasks".
3) Select task type "Bug", fix for "9.0", click Search button.
4) Double-click "NETBEANS-9" task.
5) Task opens, but NetBeans "Report Problem" dialog opens showing an NPE.
An NPE also occurs at the beginning of the "Report Task" workflow.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (NETBEANS-125) Enumerate the template types needed for the new site based on various sections of the web site; this data will be used by the Groovy script which needs to be aid in co

2017-12-11 Thread Wade Chandler (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wade Chandler reassigned NETBEANS-125:
--

Assignee: Wade Chandler

> Enumerate the template types needed for the new site based on various 
> sections of the web site; this data will be used by the Groovy script which 
> needs to be aid in conversion
> ---
>
> Key: NETBEANS-125
> URL: https://issues.apache.org/jira/browse/NETBEANS-125
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>Assignee: Wade Chandler
>
> We need to create templates, and give them an identifier, to be used by 
> content and sidecar files, and eventually by JBake. These templates need to 
> be based or derived from the current sections of the new site which we wish 
> to keep. We need to map these to sections of the old site by relative paths.
> These relative paths can then be used by the Groovy script which will process 
> the content in the hierarchy to correctly match up the page/template type for 
> the various content pages and sidecar files. This will cause the new site to 
> include the required content and structure for the specific content as the 
> static site is generated.
> As an example, the new site has the platform top level domain files under the 
> "platform" directory. This pattern could then be mapped to 
> /platform/tutorials 
> https://platform.netbeans.org/tutorials/nbm-quick-start.html or perhaps 
> something else.
> There is also the kb which has structures like this 
> https://netbeans.org/kb/docs/javaee and https://netbeans.org/kb/docs/java. 
> These can be linked to /kb/docs/java and kb/docs/javaee. These different 
> "sections", can have subtly different headers or footers as well as different 
> side bars which link to relevant other content.
> The specifics of the templates themselves do not have to be worked out just 
> yet, but the names of them, which are valid values to be used by JBake, and 
> in the YAML sidecar files, do. The various templates can then be worked up as 
> needed after the list and requirements are determined.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-124) Create Groovy script to generated required YAML side car files (meta-data) for content, and strip content from old site files

2017-12-10 Thread Wade Chandler (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285504#comment-16285504
 ] 

Wade Chandler edited comment on NETBEANS-124 at 12/11/17 5:11 AM:
--

A list of possible sections (or the sections) which should/could have special 
templates follows, trimmed from the above using a simple text editor since the 
lines were ordered. This represents 74 sections for which to have different 
template styles which the content processing script will place into the 
associated YAML files as it creates them (which could be further trimmed):

./about
./books
./community
./community/articles
./community/articles/interviews
./community/articles/javaone
./community/contribute
./community/guidelines
./community/kb
./community/lists
./community/lists/chats
./community/magazine
./community/netcat
./community/news
./community/news/newsletter
./community/partners
./community/photos
./community/releases
./community/sources
./community/teams
./community/teams/dev
./community/teams/evangelism
./community/teams/evangelism/docs
./community/teams/marketing
./community/teams/web
./downloads
./evangelism
./features
./features/cpp
./features/groovy
./features/html5
./features/ide
./features/java
./features/java-on-client
./features/java-on-server
./features/javafx
./features/javame
./features/javascript
./features/php
./features/platform
./features/ruby
./features/scripting
./features/uml
./features/web
./kb
./kb/archive
./kb/articles
./kb/docs
./kb/docs/cnd
./kb/docs/ide
./kb/docs/java
./kb/docs/javaee
./kb/docs/javame
./kb/docs/php
./kb/docs/web
./kb/docs/webclient
./kb/docs/websvc
./kb/faqs
./kb/samples
./kb/trails
./platform
./platform/articles
./platform/articles/nbm_interviews
./platform/faqs
./platform/guide
./platform/guidelines
./platform/samples
./platform/tutorials
./platform/welcome
./platform/whatsnew
./switch
./uigestures
./updates


was (Author: wadechandler):
A list of possible sections (or the sections) follows, trimmed from the above 
using a simple text editor since the lines were ordered. This represents 74 
sections (which could be further trimmed):

./about
./books
./community
./community/articles
./community/articles/interviews
./community/articles/javaone
./community/contribute
./community/guidelines
./community/kb
./community/lists
./community/lists/chats
./community/magazine
./community/netcat
./community/news
./community/news/newsletter
./community/partners
./community/photos
./community/releases
./community/sources
./community/teams
./community/teams/dev
./community/teams/evangelism
./community/teams/evangelism/docs
./community/teams/marketing
./community/teams/web
./downloads
./evangelism
./features
./features/cpp
./features/groovy
./features/html5
./features/ide
./features/java
./features/java-on-client
./features/java-on-server
./features/javafx
./features/javame
./features/javascript
./features/php
./features/platform
./features/ruby
./features/scripting
./features/uml
./features/web
./kb
./kb/archive
./kb/articles
./kb/docs
./kb/docs/cnd
./kb/docs/ide
./kb/docs/java
./kb/docs/javaee
./kb/docs/javame
./kb/docs/php
./kb/docs/web
./kb/docs/webclient
./kb/docs/websvc
./kb/faqs
./kb/samples
./kb/trails
./platform
./platform/articles
./platform/articles/nbm_interviews
./platform/faqs
./platform/guide
./platform/guidelines
./platform/samples
./platform/tutorials
./platform/welcome
./platform/whatsnew
./switch
./uigestures
./updates

> Create Groovy script to generated required YAML side car files (meta-data) 
> for content, and strip content from old site files
> -
>
> Key: NETBEANS-124
> URL: https://issues.apache.org/jira/browse/NETBEANS-124
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>Assignee: Wade Chandler
>
> The new NetBeans statically generated website being developed at 
> https://github.com/wadechandler/netbeans-static-site uses JBake and Gradle to 
> build the site. It uses certain YAML files as "sidecar" files to the content 
> files which explain to a template the type of file it is along with other 
> meta-data, such as the document title etc. The new site uses Groovy templates 
> to allow for common headers, footers, and side bars.
> These sidecar files, along with the main body content, allow for templates to 
> be matched to the content type of a file, and then for that file to have 
> everything it requires embedded inside of it to be served as a "static" web 
> site with no server side component dynamically binding the information at 
> runtime. This is a requirement of Apache projects web sites; to be static.

[jira] [Commented] (NETBEANS-124) Create Groovy script to generated required YAML side car files (meta-data) for content, and strip content from old site files

2017-12-10 Thread Wade Chandler (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285504#comment-16285504
 ] 

Wade Chandler commented on NETBEANS-124:


A list of possible sections (or the sections) follows, trimmed from the above 
using a simple text editor since the lines were ordered. This represents 74 
sections (which could be further trimmed):

./about
./books
./community
./community/articles
./community/articles/interviews
./community/articles/javaone
./community/contribute
./community/guidelines
./community/kb
./community/lists
./community/lists/chats
./community/magazine
./community/netcat
./community/news
./community/news/newsletter
./community/partners
./community/photos
./community/releases
./community/sources
./community/teams
./community/teams/dev
./community/teams/evangelism
./community/teams/evangelism/docs
./community/teams/marketing
./community/teams/web
./downloads
./evangelism
./features
./features/cpp
./features/groovy
./features/html5
./features/ide
./features/java
./features/java-on-client
./features/java-on-server
./features/javafx
./features/javame
./features/javascript
./features/php
./features/platform
./features/ruby
./features/scripting
./features/uml
./features/web
./kb
./kb/archive
./kb/articles
./kb/docs
./kb/docs/cnd
./kb/docs/ide
./kb/docs/java
./kb/docs/javaee
./kb/docs/javame
./kb/docs/php
./kb/docs/web
./kb/docs/webclient
./kb/docs/websvc
./kb/faqs
./kb/samples
./kb/trails
./platform
./platform/articles
./platform/articles/nbm_interviews
./platform/faqs
./platform/guide
./platform/guidelines
./platform/samples
./platform/tutorials
./platform/welcome
./platform/whatsnew
./switch
./uigestures
./updates

> Create Groovy script to generated required YAML side car files (meta-data) 
> for content, and strip content from old site files
> -
>
> Key: NETBEANS-124
> URL: https://issues.apache.org/jira/browse/NETBEANS-124
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>Assignee: Wade Chandler
>
> The new NetBeans statically generated website being developed at 
> https://github.com/wadechandler/netbeans-static-site uses JBake and Gradle to 
> build the site. It uses certain YAML files as "sidecar" files to the content 
> files which explain to a template the type of file it is along with other 
> meta-data, such as the document title etc. The new site uses Groovy templates 
> to allow for common headers, footers, and side bars.
> These sidecar files, along with the main body content, allow for templates to 
> be matched to the content type of a file, and then for that file to have 
> everything it requires embedded inside of it to be served as a "static" web 
> site with no server side component dynamically binding the information at 
> runtime. This is a requirement of Apache projects web sites; to be static.
> The Groovy script described in this issue will:
> * Pull information such as the title, keywords, description, and other 
> meta-data which may be embedded in HTML or other file types, and place that 
> into the required sidecar YAML files of the build system
> * Pull out the main body content from the the original HTML file and place it 
> into a file of the same name to match the YAML sidecar file per the new site 
> naming conventions (see the README.md file)
> * Choose a template type for the content based on its file system hierarchy 
> which seems representative of the way current NetBeans website is laid out; 
> notice depending on the drill down into the web site, that certain side bars, 
> headers, etc differ or are enabled or disabled. The new site does this based 
> on the page/template type
> This Groovy script is a development time tool which is used to transform the 
> old content into the format now needed. Once the conversion is done, then it 
> should no longer be needed. It will be able to be run from the Gradle build 
> like other aspects of the new sites build system; see buildSrc which is a 
> good place for this Groovy script to be placed as a Groovy class.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-124) Create Groovy script to generated required YAML side car files (meta-data) for content, and strip content from old site files

2017-12-10 Thread Wade Chandler (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285502#comment-16285502
 ] 

Wade Chandler edited comment on NETBEANS-124 at 12/11/17 4:44 AM:
--

In the current merged site, the following directories, excluding image, CSS, 
JS, etc directories, exist. A sub-set of these will represent the "sections" of 
the site, which will then represent templates. This was generated with the 
following command:

{quote}find . -type d -iregex ".*" -a -not \( -ipath "*/templates*" -o -ipath 
"*/images_www*" -o -ipath "*/images*" -o -ipath "*/\.*" -o -ipath "\./css*" -o 
-ipath "\./ns*" -o -ipath "\./dts*" -o -ipath "\./js*" \) | sort{quote}

By changing to the projects content directory...

./about
./books
./community
./community/articles
./community/articles/interviews
./community/articles/interviews/field_guide
./community/articles/javaone
./community/articles/javaone/2002
./community/articles/javaone/2003
./community/articles/javaone/2004
./community/articles/javaone/2005
./community/articles/javaone/2006
./community/articles/javaone/2007
./community/articles/javaone/2008
./community/articles/javaone/2009
./community/articles/javaone/2010
./community/articles/javaone/2011
./community/articles/javaone/2012
./community/articles/javaone/2013
./community/articles/javaone/2014
./community/articles/javaone/2015
./community/articles/javaone/2016
./community/articles/worldtour
./community/contribute
./community/guidelines
./community/kb
./community/lists
./community/lists/chats
./community/magazine
./community/magazine/code
./community/magazine/html
./community/magazine/html/03
./community/magazine/html/03/bluemarine
./community/magazine/html/03/book
./community/magazine/html/03/c++
./community/magazine/html/03/matisse
./community/magazine/html/03/mobpack
./community/magazine/html/03/nb06
./community/magazine/html/03/openoffice
./community/magazine/html/03/schliemann
./community/magazine/html/03/visualwebdev
./community/magazine/html/04
./community/netcat
./community/news
./community/news/newsletter
./community/partners
./community/photos
./community/releases
./community/releases/31
./community/releases/32
./community/releases/32/1
./community/releases/33
./community/releases/33/1
./community/releases/33/2
./community/releases/33/features
./community/releases/33/features/infrastructure
./community/releases/34
./community/releases/34/1
./community/releases/34/features
./community/releases/35
./community/releases/35/1
./community/releases/35/features
./community/releases/35/russian
./community/releases/36
./community/releases/40
./community/releases/40/features
./community/releases/41
./community/releases/42
./community/releases/50
./community/releases/55
./community/releases/55/1
./community/releases/60
./community/releases/61
./community/releases/65
./community/releases/65/1
./community/releases/67
./community/releases/68
./community/releases/69
./community/releases/70
./community/releases/71
./community/releases/72
./community/releases/73
./community/releases/74
./community/releases/80
./community/releases/81
./community/releases/82
./community/sources
./community/teams
./community/teams/dev
./community/teams/evangelism
./community/teams/evangelism/docs
./community/teams/marketing
./community/teams/web
./downloads
./dtds
./evangelism
./features
./features/cpp
./features/groovy
./features/html5
./features/ide
./features/java
./features/java-on-client
./features/java-on-server
./features/javafx
./features/javame
./features/javascript
./features/php
./features/platform
./features/ruby
./features/scripting
./features/uml
./features/web
./i18n
./kb
./kb/71
./kb/71/cnd
./kb/71/ide
./kb/71/java
./kb/71/javaee
./kb/71/javame
./kb/71/php
./kb/71/web
./kb/71/websvc
./kb/72
./kb/72/cnd
./kb/72/ide
./kb/72/java
./kb/72/javaee
./kb/72/javame
./kb/72/php
./kb/72/web
./kb/72/websvc
./kb/73
./kb/73/cnd
./kb/73/ide
./kb/73/java
./kb/73/javaee
./kb/73/javame
./kb/73/php
./kb/73/webclient
./kb/73/websvc
./kb/74
./kb/74/cnd
./kb/74/ide
./kb/74/java
./kb/74/javaee
./kb/74/javame
./kb/74/php
./kb/74/web
./kb/74/webclient
./kb/74/websvc
./kb/80
./kb/80/webclient
./kb/archive
./kb/articles
./kb/articles/netbeans_platform
./kb/articles/netbeans_platform/data
./kb/articles/netbeans_platform/data/swf
./kb/articles/netbeans_platform/player
./kb/docs
./kb/docs/cnd
./kb/docs/ide
./kb/docs/java
./kb/docs/javaee
./kb/docs/javaee/ecommerce
./kb/docs/javame
./kb/docs/php
./kb/docs/web
./kb/docs/webclient
./kb/docs/websvc
./kb/faqs
./kb/samples
./kb/trails
./platform
./platform/articles
./platform/articles/nbm_interviews
./platform/articles/nbm_interviews/alex
./platform/articles/nbm_interviews/andreas
./platform/articles/nbm_interviews/caoyuan
./platform/articles/nbm_interviews/chuk
./platform/articles/nbm

[jira] [Commented] (NETBEANS-124) Create Groovy script to generated required YAML side car files (meta-data) for content, and strip content from old site files

2017-12-10 Thread Wade Chandler (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285502#comment-16285502
 ] 

Wade Chandler commented on NETBEANS-124:


In the current merged site, the following directories, excluding image, CSS, 
JS, etc directories, exist. A sub-set of these will represent the "sections" of 
the site, which will then represent templates.

./about
./books
./community
./community/articles
./community/articles/interviews
./community/articles/interviews/field_guide
./community/articles/javaone
./community/articles/javaone/2002
./community/articles/javaone/2003
./community/articles/javaone/2004
./community/articles/javaone/2005
./community/articles/javaone/2006
./community/articles/javaone/2007
./community/articles/javaone/2008
./community/articles/javaone/2009
./community/articles/javaone/2010
./community/articles/javaone/2011
./community/articles/javaone/2012
./community/articles/javaone/2013
./community/articles/javaone/2014
./community/articles/javaone/2015
./community/articles/javaone/2016
./community/articles/worldtour
./community/contribute
./community/guidelines
./community/kb
./community/lists
./community/lists/chats
./community/magazine
./community/magazine/code
./community/magazine/html
./community/magazine/html/03
./community/magazine/html/03/bluemarine
./community/magazine/html/03/book
./community/magazine/html/03/c++
./community/magazine/html/03/matisse
./community/magazine/html/03/mobpack
./community/magazine/html/03/nb06
./community/magazine/html/03/openoffice
./community/magazine/html/03/schliemann
./community/magazine/html/03/visualwebdev
./community/magazine/html/04
./community/netcat
./community/news
./community/news/newsletter
./community/partners
./community/photos
./community/releases
./community/releases/31
./community/releases/32
./community/releases/32/1
./community/releases/33
./community/releases/33/1
./community/releases/33/2
./community/releases/33/features
./community/releases/33/features/infrastructure
./community/releases/34
./community/releases/34/1
./community/releases/34/features
./community/releases/35
./community/releases/35/1
./community/releases/35/features
./community/releases/35/russian
./community/releases/36
./community/releases/40
./community/releases/40/features
./community/releases/41
./community/releases/42
./community/releases/50
./community/releases/55
./community/releases/55/1
./community/releases/60
./community/releases/61
./community/releases/65
./community/releases/65/1
./community/releases/67
./community/releases/68
./community/releases/69
./community/releases/70
./community/releases/71
./community/releases/72
./community/releases/73
./community/releases/74
./community/releases/80
./community/releases/81
./community/releases/82
./community/sources
./community/teams
./community/teams/dev
./community/teams/evangelism
./community/teams/evangelism/docs
./community/teams/marketing
./community/teams/web
./downloads
./dtds
./evangelism
./features
./features/cpp
./features/groovy
./features/html5
./features/ide
./features/java
./features/java-on-client
./features/java-on-server
./features/javafx
./features/javame
./features/javascript
./features/php
./features/platform
./features/ruby
./features/scripting
./features/uml
./features/web
./i18n
./kb
./kb/71
./kb/71/cnd
./kb/71/ide
./kb/71/java
./kb/71/javaee
./kb/71/javame
./kb/71/php
./kb/71/web
./kb/71/websvc
./kb/72
./kb/72/cnd
./kb/72/ide
./kb/72/java
./kb/72/javaee
./kb/72/javame
./kb/72/php
./kb/72/web
./kb/72/websvc
./kb/73
./kb/73/cnd
./kb/73/ide
./kb/73/java
./kb/73/javaee
./kb/73/javame
./kb/73/php
./kb/73/webclient
./kb/73/websvc
./kb/74
./kb/74/cnd
./kb/74/ide
./kb/74/java
./kb/74/javaee
./kb/74/javame
./kb/74/php
./kb/74/web
./kb/74/webclient
./kb/74/websvc
./kb/80
./kb/80/webclient
./kb/archive
./kb/articles
./kb/articles/netbeans_platform
./kb/articles/netbeans_platform/data
./kb/articles/netbeans_platform/data/swf
./kb/articles/netbeans_platform/player
./kb/docs
./kb/docs/cnd
./kb/docs/ide
./kb/docs/java
./kb/docs/javaee
./kb/docs/javaee/ecommerce
./kb/docs/javame
./kb/docs/php
./kb/docs/web
./kb/docs/webclient
./kb/docs/websvc
./kb/faqs
./kb/samples
./kb/trails
./platform
./platform/articles
./platform/articles/nbm_interviews
./platform/articles/nbm_interviews/alex
./platform/articles/nbm_interviews/andreas
./platform/articles/nbm_interviews/caoyuan
./platform/articles/nbm_interviews/chuk
./platform/articles/nbm_interviews/edgar
./platform/articles/nbm_interviews/emilian
./platform/articles/nbm_interviews/jens
./platform/articles/nbm_interviews/jim
./platform/articles/nbm_interviews/masoud
./platform/articles/nbm_interviews/peter
./platform/articles/nbm_interviews/petr
./platform/articles/nbm_interviews/tom
./platform/articles/nbm_interviews/toni
./platform/articles/nbm_interviews/tonny
./platform/articles/nbm_interviews/tor
./platform/articles/nbm_interviews/vladimir
./pla

[jira] [Commented] (NETBEANS-3) javahelp

2017-12-10 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285327#comment-16285327
 ] 

Hervé Girod commented on NETBEANS-3:


In fact there is a lot of content for the JavaHelp, but strangely the toc is 
almost empty. In my install of Netbeans, the Help content is in the 
"org-netbeans-modules-usersguide.jar" jar file.

> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-126) Browser icons needs to be re-instated

2017-12-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16283974#comment-16283974
 ] 

ASF GitHub Bot commented on NETBEANS-126:
-

matthiasblaesing closed pull request #289: [NETBEANS-126] Replace with 
trademark free icons
URL: https://github.com/apache/incubator-netbeans/pull/289
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png
index d6168216e..0e697f806 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png 
and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png 
differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png
index d6168216e..176a8020a 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
index d6168216e..09b0f9945 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
 and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
 differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png
index d6168216e..ffab0780c 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png
index d6168216e..b2f00b914 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png 
differ
diff --git a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png
index d6168216e..d339590ae 100644
Binary files a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png 
and b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png
index d6168216e..bcf1ba00c 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png 
and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png 
differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png
index d6168216e..2c80ae41d 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png
index d6168216e..c972b0256 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png 
and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png 
differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png
index d6168216e..44369a3f3 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png differ
diff --git 
a/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
 
b/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
index 52855d9a8..5ab16b513 100644
Binary files 
a/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
 and 
b/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
 differ
diff --git 
a/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_24x.png
 
b/web.browser.api/src/org/netbeans/modules/web

[jira] [Commented] (NETBEANS-126) Browser icons needs to be re-instated

2017-12-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16283973#comment-16283973
 ] 

ASF GitHub Bot commented on NETBEANS-126:
-

matthiasblaesing commented on issue #289: [NETBEANS-126] Replace with trademark 
free icons
URL: 
https://github.com/apache/incubator-netbeans/pull/289#issuecomment-350334743
 
 
   Closing this, as the alternative PR #251 was merged.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Browser icons needs to be re-instated
> -
>
> Key: NETBEANS-126
> URL: https://issues.apache.org/jira/browse/NETBEANS-126
> Project: NetBeans
>  Issue Type: Bug
>Reporter: lbruun
>Assignee: lbruun
>Priority: Minor
>  Labels: donation-fixes, pull-request-available
> Attachments: css-editor-icons-usage.png, css-editor-icons.png, 
> nb-icon.png, web-browser-api-icons.png
>
>
> A number of browser icons were "removed" from the donation, in [this 
> changeset|http://hg.netbeans.org/releases/rev/034a0c65c347?revcount=1500]. 
> They weren't actually removed, rather they were all replaced with a dummy 
> NetBeans icon. I think Oracle removed them because Oracle couldn't donate 
> such icons, as they don't "own" these trademarks.
> h2. Module path "css.editor"
> Removed from {{css.editor}}:
> !css-editor-icons.png!
> The browser icons in this module are - as far as I can tell - only used for 
> code completion hints on CSS where they are used to signal if the browser has 
> support for the CSS property or not. Example:
> !css-editor-icons-usage.png!
> h2. Module path "web.browser.api"
> Removed from {{web.browser.api}}:
> !web-browser-api-icons.png!
> The above icons are all replaced in the donation with a dummy NetBeans icon: 
> !nb-icon.png! 
> I'll do a PR to re-instate these.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-126) Browser icons needs to be re-instated

2017-12-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16283969#comment-16283969
 ] 

ASF GitHub Bot commented on NETBEANS-126:
-

matthiasblaesing closed pull request #251: [NETBEANS-126] Re-instate browser 
icons
URL: https://github.com/apache/incubator-netbeans/pull/251
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png
index d6168216e..c9436b4bc 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png 
and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20-disabled.png 
differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png
index d6168216e..31be03b59 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/chrome20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
index d6168216e..be2b1602e 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
 and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20-disabled.png
 differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png
index d6168216e..6a35064fb 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/firefox20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png
index d6168216e..a09302316 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20-disabled.png 
differ
diff --git a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png
index d6168216e..fcf1e7ce9 100644
Binary files a/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png 
and b/css.editor/src/org/netbeans/modules/css/resources/icons/ie20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png
index d6168216e..bcd6d5cc2 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png 
and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20-disabled.png 
differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png
index d6168216e..d68e4aa2b 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/opera20.png differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png
index d6168216e..76b365341 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png 
and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20-disabled.png 
differ
diff --git 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png
index d6168216e..3bbf54ba7 100644
Binary files 
a/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png and 
b/css.editor/src/org/netbeans/modules/css/resources/icons/safari20.png differ
diff --git 
a/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
 
b/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
index 52855d9a8..8745b 100644
Binary files 
a/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
 and 
b/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_16x.png
 differ
diff --git 
a/web.browser.api/src/org/netbeans/modules/web/browser/ui/resources/browser_chrome_24x.png
 
b/web.browser.api/src/org/netbeans/modules/web/browser/ui

[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-07 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16282497#comment-16282497
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/7/17 8:39 PM:
-

I'm not sure that you will be interested, but I added merging capabilities for 
my JavaHelp-like project, and also I checked that it was possible to load the 
Help content from a zip or jar file with manually produced articles (not those 
generated by the 
[sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/]
 tool). Next thing I will try to do is adding a tool converting a JavaHelp 
content to my own format automatically.


was (Author: hervegirod):
I'm not sure that you will be interesred, but I added merging capabilities for 
my JavaHelp-like project, and also I checked that it was possible to load the 
Help content from a zip or jar file with manually produced articles (not those 
generated by the 
[sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/]
 tool). Next thing I will try to do is adding a tool converting a JavaHelp 
content to my own format automatically.

> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-07 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275972#comment-16275972
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/7/17 8:38 PM:
-

Maybe it can be of any interest to you (for the future NB versions): I created 
a sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: 
[sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].

For the moment there is only one root for the documentation, but I am in the 
process of allowing to have more than one. Also normally it should be possible 
to add articles which have been edited manually rather than generating them.



was (Author: hervegirod):
Maybe it can be of any interest to you (for the future NB versions): I created 
a sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: [link 
sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].

For the moment there is only one root for the documentation, but I am in the 
process of allowing to have more than one. Also normally it should be possible 
to add articles which have been edited manually rather than generating them.


> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-07 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16282497#comment-16282497
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/7/17 8:39 PM:
-

I'm not sure that you will be interesred, but I added merging capabilities for 
my JavaHelp-like project, and also I checked that it was possible to load the 
Help content from a zip or jar file with manually produced articles (not those 
generated by the 
[sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/]
 tool). Next thing I will try to do is adding a tool converting a JavaHelp 
content to my own format automatically.


was (Author: hervegirod):
I'm not sure that you will be interesred, but I added merging capabilities for 
my JavaHelp-like project, and also I checked that it was possible to load the 
Help content from a zip or jar file with manually produced articles (not those 
generated by mytool). Next thing I will try to do is adding a tool converting a 
JavaHelp content to my own format automatically.

> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-207) Quick search doesn't support go to file

2017-12-06 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-207:
---

 Summary: Quick search doesn't support go to file
 Key: NETBEANS-207
 URL: https://issues.apache.org/jira/browse/NETBEANS-207
 Project: NetBeans
  Issue Type: New Feature
  Components: platform - Quick Search
Affects Versions: Next
Reporter: Christian Lenz


I tried the quick search and it doesn't support go to file but it does support 
go to symbol and go to type. Go to spring bean is missing to.


Regards

Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-206) Please add support for JSNI

2017-12-06 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16280257#comment-16280257
 ] 

Christian Lenz commented on NETBEANS-206:
-

I added it here as a pull request: https://github.com/ksfreitas/gwt4nb/pull/41 
I don't know whether JSNI will be used in other cases except GWT. If so, it 
would be good to implement direct into the IDE instead of the GWT plugin.

It would be good to have this, because it would make the work with HTML4J even 
better. Now you use an annotation with string inside, which is very failure 
tolerant and not good practice IMHO.

> Please add support for JSNI
> ---
>
> Key: NETBEANS-206
> URL: https://issues.apache.org/jira/browse/NETBEANS-206
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Editor
>Affects Versions: Next
>Reporter: Christian Lenz
>
> I figured out that you will add support for Mixed development support between 
> C/C++ and Java in netbeans 8.1: 
> http://wiki.netbeans.org/NewAndNoteworthyNB81. I really like that for JNI and 
> JNA but what about mixed development support for Java and Javascript like GWT 
> and the JSNI functions? I have to use GWT in our company and it is really 
> hard to find out errors when you only see commented methods like:
> {code}
> public static native void alert(String msg) /*-{
>   $wnd.alert(msg);
> }-*/;
> {code}
> I know there is a plugin called GWT4NB but for now, I don't see any benefits 
> to use this. Here is a description for JSNI: 
> http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html
> This would be a big enhancement to have syntax highlighting, navigation to JS 
> files like with C/C++ and Java, have code completion, and so on.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-206) Please add support for JSNI

2017-12-06 Thread Christian Lenz (JIRA)
Christian Lenz created NETBEANS-206:
---

 Summary: Please add support for JSNI
 Key: NETBEANS-206
 URL: https://issues.apache.org/jira/browse/NETBEANS-206
 Project: NetBeans
  Issue Type: New Feature
  Components: java - Editor
Affects Versions: Next
Reporter: Christian Lenz


I figured out that you will add support for Mixed development support between 
C/C++ and Java in netbeans 8.1: http://wiki.netbeans.org/NewAndNoteworthyNB81. 
I really like that for JNI and JNA but what about mixed development support for 
Java and Javascript like GWT and the JSNI functions? I have to use GWT in our 
company and it is really hard to find out errors when you only see commented 
methods like:

{code}
public static native void alert(String msg) /*-{
  $wnd.alert(msg);
}-*/;
{code}


I know there is a plugin called GWT4NB but for now, I don't see any benefits to 
use this. Here is a description for JSNI: 
http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html

This would be a big enhancement to have syntax highlighting, navigation to JS 
files like with C/C++ and Java, have code completion, and so on.


Regards

Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-18) Refactoring the startpage of the NetBeans IDE

2017-12-06 Thread Christian Lenz (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Lenz updated NETBEANS-18:
---
External issue URL: https://netbeans.org/bugzilla/show_bug.cgi?id=269632

> Refactoring the startpage of the NetBeans IDE
> -
>
> Key: NETBEANS-18
> URL: https://issues.apache.org/jira/browse/NETBEANS-18
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Welcome
>Affects Versions: Next
>Reporter: Christian Lenz
>  Labels: Java9-IDE
> Attachments: vs-startpage.gif, vscode-startpage.png
>
>
> As I compared the welcome screen of NetBeans to Visual Studio and Visual 
> Studio Code, it would be great to refactor it to a bit modern look and feel. 
> I will definitely do it, but I dive into the code and as I saw it right, 
> everything is java. So for me as a FrontEnd-developer it is a must have to 
> create such page in plain HTML. It will be more fun, flexible and better with 
> HTML, JS and CSS. So we can do it with dukescript for example to talk with 
> java and vice versa to interact with the projects for example.
> So we have two options. The first one is to refactor the existing page to 
> remove everything what is not needed for the FrontEnd stuff and I can dive 
> into and make a HTML version of it (if it is not exist, because I can't it) 
> or, what could be better, I can create a new module with DukeScript and 
> create a new page with interactions to the Java backend, and we can replace 
> the existing one, with the new one.
> I added the welcome screen
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-182) Terminal should use cmd, bash, cygwin, PowerShell or whatever.

2017-12-06 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16280245#comment-16280245
 ] 

Christian Lenz commented on NETBEANS-182:
-

More related tickets: https://netbeans.org/bugzilla/show_bug.cgi?id=245423, 
https://netbeans.org/bugzilla/show_bug.cgi?id=248289

> Terminal should use cmd, bash, cygwin, PowerShell or whatever.
> --
>
> Key: NETBEANS-182
> URL: https://issues.apache.org/jira/browse/NETBEANS-182
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Affects Versions: Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>
> I don't know why NetBeans only can work with a shell, which is installed as 
> cygwin for Windows or when you use NetBeans on a *nx operating system. 
> NetBeans should use cmd.exe, cygwin, WSL (Bash - Ubuntu on Windows), 
> PowerShell or whatever you want.
> Visual Studio Code uses this approach and it makes sense. I don't need to 
> change the window to use my cmd outside of NetBeans. I can use any feature in 
> NetBeans in my CMD or powershell, when it is inside NetBeans, w/o switching 
> windows or a desktop etc.
> So long story short, NetBeans can only handle shell applications, natively 
> installed on *nx systems or via cygwin for Windows. But it should be possible 
> to use any shell/command line that you want on any operating system.
> Windows - cmd, powershell and with Windows 10 the WSL (Ubuntu on windows, 
> which is now stable and part of the ubuntu subsystem, no emulation)
> *nx - Bash, sh, fish whatever.
> Mac - similar to *nx
> So we need first the possibilty, that NetBeans should handle more than a 
> shell AND we need an option, if you open the terminal, you have to choose 
> your favorite shell/command line and set it to default, to open a new tab, 
> w/o choosing again (new option for this).
> This ticket could be related to this ticket: 
> https://issues.apache.org/jira/browse/NETBEANS-181



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-182) Terminal should use cmd, bash, cygwin, PowerShell or whatever.

2017-12-06 Thread Christian Lenz (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Lenz updated NETBEANS-182:

External issue URL: https://netbeans.org/bugzilla/show_bug.cgi?id=246057

> Terminal should use cmd, bash, cygwin, PowerShell or whatever.
> --
>
> Key: NETBEANS-182
> URL: https://issues.apache.org/jira/browse/NETBEANS-182
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Affects Versions: Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>
> I don't know why NetBeans only can work with a shell, which is installed as 
> cygwin for Windows or when you use NetBeans on a *nx operating system. 
> NetBeans should use cmd.exe, cygwin, WSL (Bash - Ubuntu on Windows), 
> PowerShell or whatever you want.
> Visual Studio Code uses this approach and it makes sense. I don't need to 
> change the window to use my cmd outside of NetBeans. I can use any feature in 
> NetBeans in my CMD or powershell, when it is inside NetBeans, w/o switching 
> windows or a desktop etc.
> So long story short, NetBeans can only handle shell applications, natively 
> installed on *nx systems or via cygwin for Windows. But it should be possible 
> to use any shell/command line that you want on any operating system.
> Windows - cmd, powershell and with Windows 10 the WSL (Ubuntu on windows, 
> which is now stable and part of the ubuntu subsystem, no emulation)
> *nx - Bash, sh, fish whatever.
> Mac - similar to *nx
> So we need first the possibilty, that NetBeans should handle more than a 
> shell AND we need an option, if you open the terminal, you have to choose 
> your favorite shell/command line and set it to default, to open a new tab, 
> w/o choosing again (new option for this).
> This ticket could be related to this ticket: 
> https://issues.apache.org/jira/browse/NETBEANS-181



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-181) NetBeans should be aware of WSL (Ubuntu on Windows 10)

2017-12-06 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16280239#comment-16280239
 ] 

Christian Lenz commented on NETBEANS-181:
-

Another related ticket: https://netbeans.org/bugzilla/show_bug.cgi?id=267478

> NetBeans should be aware of WSL (Ubuntu on Windows 10)
> --
>
> Key: NETBEANS-181
> URL: https://issues.apache.org/jira/browse/NETBEANS-181
> Project: NetBeans
>  Issue Type: New Feature
>  Components: cnd - Terminalemulator
>Affects Versions: Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>
> Yeah Ubuntu on Windows is, I think still in beta but I use it for my daily 
> work. At home and at work. It is really handy to setup enviroment stuff 
> easily. So for this, NetBeans should be aware of installed stuff inside the 
> ubuntu on windows. The path is "C:\Users\Chrizzly\AppData\Local\lxss (hidden 
> folder)". So if NetBeans are aware of a cygwin installation, it should be 
> treated like that too.
> And for everything else like I installed node, c/c++ stuff, php and so on.
> Would be great enhancement. I created such ticket for Terminal integration 
> too, because of the Cygwin thing: 
> http://netbeans.org/bugzilla/show_bug.cgi?id=267478
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-177) Don't enable features per default and act like an enhanced editor

2017-12-06 Thread Christian Lenz (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Lenz updated NETBEANS-177:

Summary: Don't enable features per default and act like an enhanced editor  
(was: Don't enable features per default)

> Don't enable features per default and act like an enhanced editor
> -
>
> Key: NETBEANS-177
> URL: https://issues.apache.org/jira/browse/NETBEANS-177
> Project: NetBeans
>  Issue Type: New Feature
>  Components: ide - Features On Demand
>Affects Versions: Next
>Reporter: Christian Lenz
>
> If you have a java IDE or a dev IDE, where you don't activated some features 
> that you need for your work like Java, Java EE, HTML, PHP, C/C++ or whatever 
> and you open a file only to look inside the file like an .asm file or .bat or 
> .html or .php file, NetBeans knows the filetype and knows that the feature, 
> that you need for this filetype to handle it correctly, is not enabled,, but 
> a default module in NetBeans. So NetBeans will enables it, which is nice but 
> it should be optional, because it takes some time to enables it.
> I can speak from the Visual Studio Code Editor or from WebStorm, if they 
> recognice a feature like you open a .java file or an .md file or .cs file and 
> there is no plugin or module enabled, they show you a message: "We figured 
> out, that there is a plugin/module (could be 3rd-party or default module) 
> which is not enabled yet, do you want to enables it?" This is very handy, 
> because in general VS Code have some syntax highlighting and braces matching 
> for common languages and if not, they know that there is a plugin or for more 
> features.
> Which is much much better, so you have the choice, do I want to enable this 
> feature for full and rich feature stuff or do I leave it like this. But 
> NetBeans will never give you the choice.
> For default IDE modules like HTML, PHP, Java, C/C++, NetBeans will always 
> activate those features for you. Atm they will not do it for plugins which 
> could be another topic, but it shouldn't. It should give me the choice: Hey 
> dude, you opened a HTML file but you don't use the HTML module, would you? Or 
> smth like that. But no automatically.
> I know that it doesn't make sense in that case, that the modules brings the 
> syntax highlighting too and and and, but there is the other case that 
> NetBeans should interact like an editor first, while it should have a common 
> lexer/parser for most of the files out there to have syntax highlighting, 
> braces matching and errors, without the full featured stuff behind. I know 
> that big languages like Java, JS, PHP, C/C++ will not work properly but it 
> should not work properly, if you only want to open a file, look inside of it, 
> nothing more. No code completion, no compiling, no other fancy stuff. Only 
> syntax highlighting, braces matching, errors and some other common stuff.
> That will make the IDE faster for starting, because it will not load the 
> fully bloat modules, it will open NetBeans as an editor faster (hopefully). 
> So this is kind of related to this ticket here: 
> https://issues.apache.org/jira/browse/NETBEANS-7
> NetBeans don't need to have full feature stuff for any language, it should 
> have a common feature set for a lot of filetypes (NBS -> NetBeans scripting, 
> Schliemann).
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-05 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16279151#comment-16279151
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/5/17 8:41 PM:
-

@Emilian: Oddly this is the case for the core IDE for the 9.0 development 
build, but not for some plugins. For example the C/C++ plugin has a fully 
fledged JavaHelp system with a lot of internal pages shown in the Help panel.


was (Author: hervegirod):
@Emilian: Oddly this is the case for the core IDE for the 9.0 development 
build, but not for some plugins. For example the C/C++ plugin (I get it through 
the standard C/C++ bundle) has a fully fledged JavaHelp system with a lot of 
internal pages shown in the Help panel.

> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-05 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16279151#comment-16279151
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/5/17 8:40 PM:
-

@Emilian: Oddly this is the case for the core IDE for the 9.0 development 
build, but not for some plugins. For example the C/C++ plugin (I get it through 
the standard C/C++ bundle) has a fully fledged JavaHelp system with a lot of 
internal pages shown in the Help panel.


was (Author: hervegirod):
@Emilian: Oddly this is the case for the core IDE for the 9.0 development 
build, but not for some plugins. For example the C/C++ plugin has a fully 
fledged JavaHelp system with internal pages shown in the Help panel.

> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-3) javahelp

2017-12-05 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16279151#comment-16279151
 ] 

Hervé Girod commented on NETBEANS-3:


@Emilian: Oddly this is the case for the core IDE for the 9.0 development 
build, but not for some plugins. For example the C/C++ plugin has a fully 
fledged JavaHelp system with internal pages shown in the Help panel.

> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-204) Unable to paste external copied text into editor

2017-12-05 Thread Pere Pasqual (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16278389#comment-16278389
 ] 

Pere Pasqual commented on NETBEANS-204:
---

Update: 

I just noticed that, if I drag and drop the text, either from Chrome or from 
Notepad++, it gets properly pasted.

> Unable to paste external copied text into editor
> 
>
> Key: NETBEANS-204
> URL: https://issues.apache.org/jira/browse/NETBEANS-204
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 8.2, Next
> Environment: Windows 7 x64
>Reporter: Pere Pasqual
>  Labels: bug, paste, text
>
> I copy a piece of source from an example from StackOverflow, try to paste it 
> on the Java editor (either via CTRL+V or with right click --> paste), and all 
> I get pasted is the last text I selected and CTRL+C'ed from Netbeans editor 
> itself.
> If I go to whatever random text editor (for instance, Notepad++) and try the 
> same operation (even without having to repeat the copy action), the proper 
> text gets pasted (I mean: not the invalid, prior selection I made inside 
> Netbeans, but the piece of code I copied from StackOverflow gets pasted).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-205) 1st suggestion from suggestion list is automatically selected and overwrites what I've already written

2017-12-05 Thread Pere Pasqual (JIRA)
Pere Pasqual created NETBEANS-205:
-

 Summary: 1st suggestion from suggestion list is automatically 
selected and overwrites what I've already written
 Key: NETBEANS-205
 URL: https://issues.apache.org/jira/browse/NETBEANS-205
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 8.2, Next
 Environment: Windows 7 x64
Reporter: Pere Pasqual


Most of times, when I'm typing some source and do the .method() part on some 
object, if I'm quicker than the code completion (which usually happens) and I 
write it myself without letting the editor have time to even show a suggestion, 
immediately after I write a parameter between brackets it gets replaced by a 
code completion suggestion (which I determined to be the 1st one that appears 
in the suggestion list), changing my code with some incorrect other.

Sometimes this may get unnoticed if I'm typing quickly and the substitution is 
not so evident because it's of a similar length or so.

I think I sometimes can "predict" it's going to happen because the mouse cursor 
is "spinning" ("thinking"), showing it's loading suggestions but it an a rather 
slow way, while I'm typing my code. If what I'm typing is a .method() part, 
it's sure it will get replaced by a .randomAnotherMethod() after the spinner 
stops spinning.

I'm using a 20171017 nightly build, but I'm suffering from this since the 
Beginning of Times.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-204) Unable to paste external copied text into editor

2017-12-05 Thread Pere Pasqual (JIRA)
Pere Pasqual created NETBEANS-204:
-

 Summary: Unable to paste external copied text into editor
 Key: NETBEANS-204
 URL: https://issues.apache.org/jira/browse/NETBEANS-204
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 8.2, Next
 Environment: Windows 7 x64
Reporter: Pere Pasqual


I copy a piece of source from an example from StackOverflow, try to paste it on 
the Java editor (either via CTRL+V or with right click --> paste), and all I 
get pasted is the last text I selected and CTRL+C'ed from Netbeans editor 
itself.

If I go to whatever random text editor (for instance, Notepad++) and try the 
same operation (even without having to repeat the copy action), the proper text 
gets pasted (I mean: not the invalid, prior selection I made inside Netbeans, 
but the piece of code I copied from StackOverflow gets pasted).





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-195) Replace Updates Section of Site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-195:

Labels: website  (was: )

> Replace Updates Section of Site
> ---
>
> Key: NETBEANS-195
> URL: https://issues.apache.org/jira/browse/NETBEANS-195
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>
> The current NetBeans site has a section called updates which is also hooked 
> to a sub-domain called "updates" which supports the released 
> plugins/platform/IDE such as 
> http://updates.netbeans.org/netbeans/updates/8.2/uc/final/certified/catalog.xml.gz
>  These should not be under the static site any more. These type files should 
> instead be under a download area where the Apache mirrors can be used to 
> spread out the load. This needs replaced.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-198) Replace UI Gestures Section on Site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-198:

Labels: website  (was: )

> Replace UI Gestures Section on Site
> ---
>
> Key: NETBEANS-198
> URL: https://issues.apache.org/jira/browse/NETBEANS-198
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>
> Along with the UI gestures collection service which is used from the NetBeans 
> IDE, there is also a site which had all the various reports, graphs, and 
> stats available which are useful when one is thinking about an area of the 
> IDE or platform to work on, or sections of the project which may have 
> different issues such as resolution etc. See 
> http://statistics.netbeans.org/analytics/ for some available data.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-150) Move and understand what to do with the NS section on the site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-150:

Labels: website  (was: )

> Move and understand what to do with the NS section on the site
> --
>
> Key: NETBEANS-150
> URL: https://issues.apache.org/jira/browse/NETBEANS-150
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>
> The NetBeans site has a section or area "ns" which has various schemas used 
> in the IDE and referenced by way of namespace URLs. It does not make a lot of 
> sense for these to be in the static site. It seems they should be some form 
> of an artifact, placed into some area related to artifacts, or at least 
> placed some where else which is not the static website and its sources.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-152) Move and understand what to do with the DTDs section on the site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-152:

Labels: website  (was: )

> Move and understand what to do with the DTDs section on the site
> 
>
> Key: NETBEANS-152
> URL: https://issues.apache.org/jira/browse/NETBEANS-152
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-200) Remove or Replace Switch Section on Site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-200:

Labels: website  (was: )

> Remove or Replace Switch Section on Site
> 
>
> Key: NETBEANS-200
> URL: https://issues.apache.org/jira/browse/NETBEANS-200
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>
> The NetBeans site has a section called "Switch" 
> https://netbeans.org/switch/. Do we want this at Apache? It is probably all 
> in good fun and all, but still, it needs updated at a minimum, and too, do we 
> want to keep it up?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-202) Replace Plugin Portal Section on Site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-202:

Labels: website  (was: )

> Replace Plugin Portal Section on Site
> -
>
> Key: NETBEANS-202
> URL: https://issues.apache.org/jira/browse/NETBEANS-202
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>
> While it is still enabled, the current plugin portal may be seen here 
> http://plugins.netbeans.org/
> The portal web site/page has seemingly been great for users. Certainly having 
> the portal available in the IDE is a must, but many users have commented on 
> plugins by way of the site. It has also been the interface for authors to get 
> their plugins into the IDE and the portal. How will this continue without 
> such a site? We need to figure out how this will work and look.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-199) Update or Replace Books Section on Site

2017-12-04 Thread Antonio Vieiro (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Vieiro updated NETBEANS-199:

Labels: website  (was: )

> Update or Replace Books Section on Site
> ---
>
> Key: NETBEANS-199
> URL: https://issues.apache.org/jira/browse/NETBEANS-199
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>  Labels: website
>
> The NetBeans books section is quite dated, some materials are old enough to 
> not be related to the IDE or the platform. Too, it is quite linear, and could 
> stand to be reorganized (perhaps with filter options)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-203) Cannot refactor domain models reliably

2017-12-03 Thread Thomas Kazakoff (JIRA)
Thomas Kazakoff created NETBEANS-203:


 Summary: Cannot refactor domain models reliably
 Key: NETBEANS-203
 URL: https://issues.apache.org/jira/browse/NETBEANS-203
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Grails, groovy - Refactoring
Affects Versions: Next
 Environment: Product Version: NetBeans IDE Dev (Build 201712020002)
Java: 1.8.0_151; Java HotSpot(TM) 64-Bit Server VM 25.151-b12
Runtime: Java(TM) SE Runtime Environment 1.8.0_151-b12
System: Linux version 4.10.0-40-generic running on amd64; UTF-8; en_AU (nb)
Reporter: Thomas Kazakoff
 Fix For: Next


# Create a new grails 3.3.x project.
# Create a new model "Foo"
# Right-click domain "Foo" -> "generate all"
# Refactor Foo to Bar

Find some Foo artifacts in the associated controller and service classes  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275972#comment-16275972
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/3/17 10:43 PM:
--

Maybe it can be of any interest to you (for the future NB versions): I created 
a sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: [link 
sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].

For the moment there is only one root for the documentation, but I am in the 
process of allowing to have more than one. Also normally it should be possible 
to add articles which have been edited manually rather than generating them.



was (Author: hervegirod):
Maybe it can be of any interest to you (for the future NB versions): I created 
a sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: [link 
sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].


> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (NETBEANS-3) javahelp

2017-12-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275972#comment-16275972
 ] 

Hervé Girod edited comment on NETBEANS-3 at 12/3/17 3:35 PM:
-

Maybe it can be of any interest to you (for the future NB versions): I created 
a sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: [link 
sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].



was (Author: hervegirod):
Maybe it can be a nay interest to you (for the future NB versions): I created a 
sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: [link 
sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].


> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-3) javahelp

2017-12-03 Thread JIRA

[ 
https://issues.apache.org/jira/browse/NETBEANS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275972#comment-16275972
 ] 

Hervé Girod commented on NETBEANS-3:


Maybe it can be a nay interest to you (for the future NB versions): I created a 
sourceforge project to show a Help system (also with context-sensitive 
capabilities) in a Swing app. It also generates the Help articles themselves. I 
did this because initially I wanted to create a portable wiki as a web site to 
be able to deploy it anywhere I wanted, and later to replace JavaHelp which I 
always found not very easy to setup.

The code of the swing library uses a BSD license. The project is here: [link 
sourceforge.net/projects/docjgenerator|https://sourceforge.net/projects/docjgenerator/].


> javahelp
> 
>
> Key: NETBEANS-3
> URL: https://issues.apache.org/jira/browse/NETBEANS-3
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Jan Lahoda
>  Labels: cleanup
>
> javahelp seems to be under GNU GPL 2 with CPE and we do use it: 
> http://hg.netbeans.org/releases/file/5fd841261bf9/javahelp/external/jhall-2.0_05-license.txt
> We should either find a drop-in replacement for javahelp or move the help 
> online and open a system browser for each help button click.
> This will break the stable help API used by plugins and Platform apps so we 
> must provide some migration path for those too.
> An idea would be to allow Platform apps to include javahelp themselves 
> instead of relying on it being present in the Platform.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-134) Remove false positive reported rat file

2017-12-03 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275894#comment-16275894
 ] 

ASF GitHub Bot commented on NETBEANS-134:
-

ebarboni closed pull request #252: NETBEANS-134 wip attempt to get ignore from 
.gitgnore
URL: https://github.com/apache/incubator-netbeans/pull/252
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/nbbuild/antsrc/org/netbeans/nbbuild/RatGitIgnorePatternSetTask.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/RatGitIgnorePatternSetTask.java
new file mode 100644
index 0..265fee6b2
--- /dev/null
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/RatGitIgnorePatternSetTask.java
@@ -0,0 +1,91 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.netbeans.nbbuild;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.util.ArrayList;
+import java.util.List;
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.types.PatternSet;
+
+/**
+ *
+ * @author skygo
+ */
+public class RatGitIgnorePatternSetTask extends Task {
+
+/**
+ * https://issues.apache.org/jira/browse/RAT-171
+ *
+ */
+private File rootFolder;
+private String name;
+
+/**
+ * gitingore file
+ *
+ * @param rootFolder
+ */
+public void setRootFolder(File rootFolder) {
+this.rootFolder = rootFolder;
+}
+
+/**
+ * name of property to set
+ *
+ * @param name
+ */
+public void setName(String name) {
+this.name = name;
+}
+
+@Override
+public void execute() throws BuildException {
+List commandAndArgs = new ArrayList<>();
+commandAndArgs.add("git");
+commandAndArgs.add("ls-files");
+commandAndArgs.add("--others");
+commandAndArgs.add("--ignored");
+commandAndArgs.add("--exclude-standard");
+PatternSet ps = new PatternSet();
+try {
+Process p = new 
ProcessBuilder(commandAndArgs).directory(rootFolder).start();
+try (BufferedReader r = new BufferedReader(new 
InputStreamReader(p.getInputStream( {
+String line;
+while ((line = r.readLine()) != null) {
+// add every non empty line to exclude 
+if (!line.trim().isEmpty()) {
+PatternSet.NameEntry createExclude = 
ps.createExclude();
+createExclude.setName(line);
+}
+}
+} catch (IOException ex) {
+throw new BuildException("Cannot evaluate git information", 
ex);
+}
+} catch (IOException ex) {
+throw new BuildException("git process issue", ex);
+}
+
+getProject().addReference(name, ps);
+}
+}
diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index 5a0c39c84..90b4242e6 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -2026,6 +2026,8 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
 
 
 
+
+
 
 
  
@@ -2207,6 +2209,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
 

 
+
 
 
 
@@ -2226,6 +2229,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
 

 
+
 
 
 


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go

[jira] [Created] (NETBEANS-202) Replace Plugin Portal Section on Site

2017-12-02 Thread Wade Chandler (JIRA)
Wade Chandler created NETBEANS-202:
--

 Summary: Replace Plugin Portal Section on Site
 Key: NETBEANS-202
 URL: https://issues.apache.org/jira/browse/NETBEANS-202
 Project: NetBeans
  Issue Type: Task
  Components: website
Reporter: Wade Chandler


While it is still enabled, the current plugin portal may be seen here 
http://plugins.netbeans.org/

The portal web site/page has seemingly been great for users. Certainly having 
the portal available in the IDE is a must, but many users have commented on 
plugins by way of the site. It has also been the interface for authors to get 
their plugins into the IDE and the portal. How will this continue without such 
a site? We need to figure out how this will work and look.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-201) Replace plugin portal service

2017-12-02 Thread Wade Chandler (JIRA)
Wade Chandler created NETBEANS-201:
--

 Summary: Replace plugin portal service 
 Key: NETBEANS-201
 URL: https://issues.apache.org/jira/browse/NETBEANS-201
 Project: NetBeans
  Issue Type: Task
  Components: website
Reporter: Wade Chandler


The current NetBeans plugin portal site has a backing service used to help 
upload, edit, list, etc plugin information for authors. We need something 
similar to better support plugin authors and the plugin center. You can see 
this at the following URL while it is still enabled http://plugins.netbeans.org/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-200) Remove or Replace Switch Section on Site

2017-12-02 Thread Wade Chandler (JIRA)
Wade Chandler created NETBEANS-200:
--

 Summary: Remove or Replace Switch Section on Site
 Key: NETBEANS-200
 URL: https://issues.apache.org/jira/browse/NETBEANS-200
 Project: NetBeans
  Issue Type: Task
  Components: website
Reporter: Wade Chandler


The NetBeans site has a section called "Switch" https://netbeans.org/switch/. 
Do we want this at Apache? It is probably all in good fun and all, but still, 
it needs updated at a minimum, and too, do we want to keep it up?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (NETBEANS-153) Decide what to do with the content under the top level books folder (move it or update it)

2017-12-02 Thread Wade Chandler (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wade Chandler closed NETBEANS-153.
--
Resolution: Duplicate

I accidentally duplicated this again, and don't have "delete" rights in Jira.

> Decide what to do with the content under the top level books folder (move it 
> or update it)
> --
>
> Key: NETBEANS-153
> URL: https://issues.apache.org/jira/browse/NETBEANS-153
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-150) Move and understand what to do with the NS section on the site

2017-12-02 Thread Wade Chandler (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wade Chandler updated NETBEANS-150:
---
Description: The NetBeans site has a section or area "ns" which has various 
schemas used in the IDE and referenced by way of namespace URLs. It does not 
make a lot of sense for these to be in the static site. It seems they should be 
some form of an artifact, placed into some area related to artifacts, or at 
least placed some where else which is not the static website and its sources.

> Move and understand what to do with the NS section on the site
> --
>
> Key: NETBEANS-150
> URL: https://issues.apache.org/jira/browse/NETBEANS-150
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>
> The NetBeans site has a section or area "ns" which has various schemas used 
> in the IDE and referenced by way of namespace URLs. It does not make a lot of 
> sense for these to be in the static site. It seems they should be some form 
> of an artifact, placed into some area related to artifacts, or at least 
> placed some where else which is not the static website and its sources.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-199) Update or Replace Books Section on Site

2017-12-02 Thread Wade Chandler (JIRA)
Wade Chandler created NETBEANS-199:
--

 Summary: Update or Replace Books Section on Site
 Key: NETBEANS-199
 URL: https://issues.apache.org/jira/browse/NETBEANS-199
 Project: NetBeans
  Issue Type: Task
  Components: website
Reporter: Wade Chandler


The NetBeans books section is quite dated, some materials are old enough to not 
be related to the IDE or the platform. Too, it is quite linear, and could stand 
to be reorganized (perhaps with filter options)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-198) Replace UI Gestures Section on Site

2017-12-02 Thread Wade Chandler (JIRA)
Wade Chandler created NETBEANS-198:
--

 Summary: Replace UI Gestures Section on Site
 Key: NETBEANS-198
 URL: https://issues.apache.org/jira/browse/NETBEANS-198
 Project: NetBeans
  Issue Type: Task
  Components: website
Reporter: Wade Chandler


Along with the UI gestures collection service which is used from the NetBeans 
IDE, there is also a site which had all the various reports, graphs, and stats 
available which are useful when one is thinking about an area of the IDE or 
platform to work on, or sections of the project which may have different issues 
such as resolution etc. See http://statistics.netbeans.org/analytics/ for some 
available data.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-155) Add new about section to site as old one does not move 1 to 1 to Apache

2017-12-02 Thread Wade Chandler (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wade Chandler updated NETBEANS-155:
---
Description: The current NetBeans about section has a lot of history 
related to Sun and Oracle, but doesn't layout much about the project at 
"Apache". This should be rewritten for where we are going, and what we are 
currently about. See https://netbeans.org/about/ for the old one (until 
replaced and the domain moved to Apache)

> Add new about section to site as old one does not move 1 to 1 to Apache
> ---
>
> Key: NETBEANS-155
> URL: https://issues.apache.org/jira/browse/NETBEANS-155
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>
> The current NetBeans about section has a lot of history related to Sun and 
> Oracle, but doesn't layout much about the project at "Apache". This should be 
> rewritten for where we are going, and what we are currently about. See 
> https://netbeans.org/about/ for the old one (until replaced and the domain 
> moved to Apache)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-196) Regression from NB 8.2: Undoing Introduce Field causes incorrect "Local variable hides a field" and "No valid expressions found" error when attempting to introduce anot

2017-12-02 Thread Daniel Trebbien (JIRA)
Daniel Trebbien created NETBEANS-196:


 Summary: Regression from NB 8.2: Undoing Introduce Field causes 
incorrect "Local variable hides a field" and "No valid expressions found" error 
when attempting to introduce another field
 Key: NETBEANS-196
 URL: https://issues.apache.org/jira/browse/NETBEANS-196
 Project: NetBeans
  Issue Type: Bug
Reporter: Daniel Trebbien


Steps to reproduce:

# Start with the following file:
{code:java}
package hintstest;

public class UndoIntroduceTest {

public void test() {
String str = "test";
}

public void test2() {
String str2 = "test2";
}
}
{code}
# Place the editor caret within {{str}}. Right click, select *Refactor > 
Introduce > Field…* Pick the {{String str = "test";}} expression. Select "Ok" 
on the "Introduce Field" dialog, using the default settings.
# Undo. Notice that there is now an incorrect "Local variable hides a field" 
warning on {{str}}.
# Place the editor caret within {{str2}}. Notice that "usages" highlighting 
does not work; NB is still highlighting usages of {{str}}. Nevertheless, right 
click, select *Refactor > Introduce > Field…* An "Error" dialog pops open with 
the message "No valid expressions found".

I tested the above steps in NetBeans 8.2 Patch 2 (NetBeans IDE 8.2 (Build 
201609300101)) and did not observe these issues, indicating a regression.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Closed] (NETBEANS-156) Decide what to do with the books subdirectory in site; some files are dated and some need updated

2017-12-02 Thread Wade Chandler (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wade Chandler closed NETBEANS-156.
--

> Decide what to do with the books subdirectory in site; some files are dated 
> and some need updated
> -
>
> Key: NETBEANS-156
> URL: https://issues.apache.org/jira/browse/NETBEANS-156
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (NETBEANS-156) Decide what to do with the books subdirectory in site; some files are dated and some need updated

2017-12-02 Thread Wade Chandler (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wade Chandler resolved NETBEANS-156.

Resolution: Duplicate

> Decide what to do with the books subdirectory in site; some files are dated 
> and some need updated
> -
>
> Key: NETBEANS-156
> URL: https://issues.apache.org/jira/browse/NETBEANS-156
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Reporter: Wade Chandler
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (NETBEANS-193) Primitive arrays aren't properly converted to JNI signatures

2017-12-02 Thread Jaroslav Tulach (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach resolved NETBEANS-193.
--
   Resolution: Fixed
Fix Version/s: 9.0

Fixed in 
https://github.com/apache/incubator-netbeans-html4j/commit/2ee7501b534f9c36e12b0d3cce384841492a2409

> Primitive arrays aren't properly converted to JNI signatures
> 
>
> Key: NETBEANS-193
> URL: https://issues.apache.org/jira/browse/NETBEANS-193
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Affects Versions: 8.2
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Minor
> Fix For: 9.0
>
>
> 2017-11-29 12:49 GMT+01:00 Wooguil Pak:
> Hello, Jaroslav Tulach,
> I'm currently testing DEW and it seems that it does not support
> parameters like integer array.
> When I try
>   @JavaScriptBody(args = { "id", "r" },
> javacall = true, body =
> "var array = new Array();\n" +
> "array[0]=1; array[1]=2;\n" +
> "r...@dew.demo.lowlevel.Java2JsAndBack::test([I)(array);\n"
>   )
>   public static native void test(String id, Java2JsAndBack r);
> compiler complaints
> Callback to dew.demo.lowlevel.Java2JsAndBack.test with wrong
> parameters: ([I). Only known parameters are ([L)
> (Ljava/lang/String;Ldew/demo/lowlevel/Java2JsAndBack;)
> If it is true, is there no way to pass integer array to Java as a 
> parameter?
> The report is correct. There is an error: the {{int[]}} shall be {{[I}} and 
> not {{[L}}. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-18) Refactoring the startpage of the NetBeans IDE

2017-12-02 Thread Christian Lenz (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275660#comment-16275660
 ] 

Christian Lenz commented on NETBEANS-18:


Yeah as discussed in the mailing list, we should use html4j if possible to 
start here.

> Refactoring the startpage of the NetBeans IDE
> -
>
> Key: NETBEANS-18
> URL: https://issues.apache.org/jira/browse/NETBEANS-18
> Project: NetBeans
>  Issue Type: Improvement
>  Components: ide - Welcome
>Affects Versions: Next
>Reporter: Christian Lenz
>  Labels: Java9-IDE
> Attachments: vs-startpage.gif, vscode-startpage.png
>
>
> As I compared the welcome screen of NetBeans to Visual Studio and Visual 
> Studio Code, it would be great to refactor it to a bit modern look and feel. 
> I will definitely do it, but I dive into the code and as I saw it right, 
> everything is java. So for me as a FrontEnd-developer it is a must have to 
> create such page in plain HTML. It will be more fun, flexible and better with 
> HTML, JS and CSS. So we can do it with dukescript for example to talk with 
> java and vice versa to interact with the projects for example.
> So we have two options. The first one is to refactor the existing page to 
> remove everything what is not needed for the FrontEnd stuff and I can dive 
> into and make a HTML version of it (if it is not exist, because I can't it) 
> or, what could be better, I can create a new module with DukeScript and 
> create a new page with interactions to the Java backend, and we can replace 
> the existing one, with the new one.
> I added the welcome screen
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-194) JShell integration causes NULL Pointer exception on JDK9

2017-12-02 Thread ASF GitHub Bot (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-194:

Labels: pull-request-available  (was: )

> JShell integration causes NULL Pointer exception on JDK9
> 
>
> Key: NETBEANS-194
> URL: https://issues.apache.org/jira/browse/NETBEANS-194
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JShell
>Affects Versions: 9.0
>Reporter: Matthias Bläsing
>Assignee: Matthias Bläsing
>  Labels: pull-request-available
>
> I ran netbeans with JDK 9.0.1 and tested the JShell integration. While 
> running it, I received two NullPointerExceptions:
> *Steps to reproduce:*
> - run netbeans with JDK 9.0.1: {{ant -Dnbjdk.home= tryme}}
> - Create a "Java Application" project.
> - Choose "Execute Java Shell"
> - Observe the output in the console
> *Result 1: Exception instead of JShell:*
> {noformat}
>  [exec] java.lang.NullPointerException
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilderOnJDK9(ShellSession.java:787)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:743)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
>  [exec] [catch] at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519)
>  [exec]   at 
> org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515)
>  [exec]   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  [exec]   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  [exec]   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  [exec]   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}
> *After fix (return empty list instead of NULL):*
> {noformat}
>  [exec] java.lang.NullPointerException
>  [exec]   at 
> org.netbeans.modules.jshell.env.JShellEnvironment.customizeJShell(JShellEnvironment.java:270)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
>  [exec] [catch] at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSessio

[jira] [Commented] (NETBEANS-194) JShell integration causes NULL Pointer exception on JDK9

2017-12-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275610#comment-16275610
 ] 

ASF GitHub Bot commented on NETBEANS-194:
-

matthiasblaesing opened a new pull request #313: [NETBEANS-194] Don't return 
NULL from ShellProjectUtils#launchVMOptions and compilerPathOptions
URL: https://github.com/apache/incubator-netbeans/pull/313
 
 
   The two methods ShellProjectUtils#launchVMOptions and compilerPathOptions
   both return NULL if the project the JShell integration is invoked in
   is not a modular project or does not export any modules.
   
   The callers interate directly on the return value and for this case this
   leads to a NullPointerException. The other methods of ShellProjectUtils
   return an empty Collection and not NULL, this adjusts the behaviour of
   the two methods launchVMOptions and compilerPathOptions to also return
   an empty collection instead of NULL.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> JShell integration causes NULL Pointer exception on JDK9
> 
>
> Key: NETBEANS-194
> URL: https://issues.apache.org/jira/browse/NETBEANS-194
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JShell
>Affects Versions: 9.0
>Reporter: Matthias Bläsing
>Assignee: Matthias Bläsing
>  Labels: pull-request-available
>
> I ran netbeans with JDK 9.0.1 and tested the JShell integration. While 
> running it, I received two NullPointerExceptions:
> *Steps to reproduce:*
> - run netbeans with JDK 9.0.1: {{ant -Dnbjdk.home= tryme}}
> - Create a "Java Application" project.
> - Choose "Execute Java Shell"
> - Observe the output in the console
> *Result 1: Exception instead of JShell:*
> {noformat}
>  [exec] java.lang.NullPointerException
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilderOnJDK9(ShellSession.java:787)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:743)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
>  [exec]   at 
> org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
>  [exec] [catch] at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519)
>  [exec]   at 
> org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515)
>  [exec]   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>  [exec]   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>  [exec]   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  [exec]   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}
> *After fix (return empty list instead of NULL):*
> {noformat}
>  [exec] java.lang.NullPointerException
>  [exec]   at 
> org.netbeans.modules.jshell.env.JShellEnvironment.customizeJShell(JShellEnvironment.java:270)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:745)
>  [exec]   at 
> org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
>  [ex

[jira] [Created] (NETBEANS-194) JShell integration causes NULL Pointer exception on JDK9

2017-12-02 Thread JIRA
Matthias Bläsing created NETBEANS-194:
-

 Summary: JShell integration causes NULL Pointer exception on JDK9
 Key: NETBEANS-194
 URL: https://issues.apache.org/jira/browse/NETBEANS-194
 Project: NetBeans
  Issue Type: Bug
  Components: java - JShell
Affects Versions: 9.0
Reporter: Matthias Bläsing
Assignee: Matthias Bläsing


I ran netbeans with JDK 9.0.1 and tested the JShell integration. While running 
it, I received two NullPointerExceptions:

*Steps to reproduce:*

- run netbeans with JDK 9.0.1: {{ant -Dnbjdk.home= tryme}}
- Create a "Java Application" project.
- Choose "Execute Java Shell"
- Observe the output in the console

*Result 1: Exception instead of JShell:*

{noformat}
 [exec] java.lang.NullPointerException
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.customizeBuilderOnJDK9(ShellSession.java:787)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:743)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
 [exec] [catch] at 
org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519)
 [exec] at 
org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515)
 [exec] at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 [exec] at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 [exec] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 [exec] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
{noformat}


*After fix (return empty list instead of NULL):*

{noformat}
 [exec] java.lang.NullPointerException
 [exec] at 
org.netbeans.modules.jshell.env.JShellEnvironment.customizeJShell(JShellEnvironment.java:270)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.customizeBuilder(ShellSession.java:745)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession$Launcher.makeBuilder(ShellSession.java:623)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:250)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
 [exec] at 
org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
 [exec] [catch] at 
org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519)
 [exec] at 
org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104)
 [exec] at 
org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515)
 [exec] at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
 [exec] at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
 [exec] at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 [exec] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
{noformat}




--
T

[jira] [Commented] (NETBEANS-134) Remove false positive reported rat file

2017-12-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275587#comment-16275587
 ] 

ASF GitHub Bot commented on NETBEANS-134:
-

matthiasblaesing commented on issue #252: NETBEANS-134 wip attempt to get 
ignore from .gitgnore
URL: 
https://github.com/apache/incubator-netbeans/pull/252#issuecomment-348697218
 
 
   Sorry - I did not notice, that RatReportTask introduced that already. 
Nonetheless currently the rat report is clean without this change. There was  a 
generial "*/build/\*\*" entry, but there are subprojects in the tree, that were 
not covered by this. With a recent changeset this was changed to 
"\*\*/build/\*\*".
   
   The only remaining offending entries are from the hibernate module, for 
which the license is just not compatible with ALv2 (LGPL only).
   
   I suggest to close this.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Remove false positive reported rat file
> ---
>
> Key: NETBEANS-134
> URL: https://issues.apache.org/jira/browse/NETBEANS-134
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 9.0
>Reporter: Eric Barboni
>Priority: Minor
>  Labels: pull-request-available
>
> Some file are put in the source folder of each module during build. 
> Doing rat report on allready builded Apache Netbeans will create a lots of 
> false positive.
> Everything ignored by git should be excluded from rat report.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-134) Remove false positive reported rat file

2017-12-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275586#comment-16275586
 ] 

ASF GitHub Bot commented on NETBEANS-134:
-

matthiasblaesing commented on issue #252: NETBEANS-134 wip attempt to get 
ignore from .gitgnore
URL: 
https://github.com/apache/incubator-netbeans/pull/252#issuecomment-348697218
 
 
   Sorry - I did not notice, that RatReportTask introduced that already. 
Nonetheless currently the rat report is clean without this change. There was  a 
generial "*/build/**" entry, but there are subprojects in the tree, that were 
not covered by this. With a recent changeset this was changed to "**/build/**".
   
   The only remaining offending entries are from the hibernate module, for 
which the license is just not compatible with ALv2 (LGPL only).
   
   I suggest to close this.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Remove false positive reported rat file
> ---
>
> Key: NETBEANS-134
> URL: https://issues.apache.org/jira/browse/NETBEANS-134
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 9.0
>Reporter: Eric Barboni
>Priority: Minor
>  Labels: pull-request-available
>
> Some file are put in the source folder of each module during build. 
> Doing rat report on allready builded Apache Netbeans will create a lots of 
> false positive.
> Everything ignored by git should be excluded from rat report.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (NETBEANS-161) Incorrect license header introducer

2017-12-02 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/NETBEANS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-161.
---
Resolution: Fixed

> Incorrect license header introducer
> ---
>
> Key: NETBEANS-161
> URL: https://issues.apache.org/jira/browse/NETBEANS-161
> Project: NetBeans
>  Issue Type: Bug
>Reporter: lbruun
>Assignee: lbruun
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: HeaderJavadocIntroducer.png
>
>
> The new Apache license header on {{.java}}, {{.cpp}}, etc files start with 
> the Javadoc introducer (slash-star-star), rather than just the simple comment 
> introducer (slash-star).
> This has some minor side-effects with e.g. source code formatting in the IDE. 
> Here's a real-life example where this is really unhealthy:
> !HeaderJavadocIntroducer.png!
> Result in this case is that the license header becomes Javadoc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (NETBEANS-191) Handle GPL library libs.jshell.compile

2017-12-02 Thread Svatopluk Dedic (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic resolved NETBEANS-191.
--
   Resolution: Fixed
Fix Version/s: 9.0

Should be fixed by PR-312

> Handle GPL library libs.jshell.compile
> --
>
> Key: NETBEANS-191
> URL: https://issues.apache.org/jira/browse/NETBEANS-191
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Svatopluk Dedic
> Fix For: 9.0
>
>
> libs.jshell.compile/external/nb-jshell-license.txt does not contain the 
> version nb-7.2 in its name
> libs.jshell.compile/external/nb-jshell-license.txt has a GPL-family license 
> but is either not covered by the Classpath Exception, or is not 
> compile-time/optional only.
> libs.jshell.compile/external/nb-jshell-license.txt has no Files header and no 
> corresponding nb-jshell.jar or nb-jshell.zip could be found
> libs.jshell.compile/external/jshell.jar does not appear to include a version 
> number
> libs.jshell.compile/external/jshell.jar is not associated with any license 
> file



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-191) Handle GPL library libs.jshell.compile

2017-12-02 Thread Geertjan Wielenga (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275497#comment-16275497
 ] 

Geertjan Wielenga commented on NETBEANS-191:


Ah, sorry, assigned it to the wrong Svata. :-)

> Handle GPL library libs.jshell.compile
> --
>
> Key: NETBEANS-191
> URL: https://issues.apache.org/jira/browse/NETBEANS-191
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Svatopluk Dedic
>
> libs.jshell.compile/external/nb-jshell-license.txt does not contain the 
> version nb-7.2 in its name
> libs.jshell.compile/external/nb-jshell-license.txt has a GPL-family license 
> but is either not covered by the Classpath Exception, or is not 
> compile-time/optional only.
> libs.jshell.compile/external/nb-jshell-license.txt has no Files header and no 
> corresponding nb-jshell.jar or nb-jshell.zip could be found
> libs.jshell.compile/external/jshell.jar does not appear to include a version 
> number
> libs.jshell.compile/external/jshell.jar is not associated with any license 
> file



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (NETBEANS-191) Handle GPL library libs.jshell.compile

2017-12-02 Thread Svatopluk Dedic (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic reassigned NETBEANS-191:


Assignee: Svatopluk Dedic  (was: Svata Dedic)

> Handle GPL library libs.jshell.compile
> --
>
> Key: NETBEANS-191
> URL: https://issues.apache.org/jira/browse/NETBEANS-191
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Geertjan Wielenga
>Assignee: Svatopluk Dedic
>
> libs.jshell.compile/external/nb-jshell-license.txt does not contain the 
> version nb-7.2 in its name
> libs.jshell.compile/external/nb-jshell-license.txt has a GPL-family license 
> but is either not covered by the Classpath Exception, or is not 
> compile-time/optional only.
> libs.jshell.compile/external/nb-jshell-license.txt has no Files header and no 
> corresponding nb-jshell.jar or nb-jshell.zip could be found
> libs.jshell.compile/external/jshell.jar does not appear to include a version 
> number
> libs.jshell.compile/external/jshell.jar is not associated with any license 
> file



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-193) Primitive arrays aren't properly converted to JNI signatures

2017-12-01 Thread Jaroslav Tulach (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275446#comment-16275446
 ] 

Jaroslav Tulach commented on NETBEANS-193:
--

Fix that converts int[] Java signature to [I: 
https://github.com/JaroslavTulach/incubator-netbeans-html4j/commit/ba45f10dccac4e5caad487520ac55126ad7205a2
 - calling the method however still fails.

> Primitive arrays aren't properly converted to JNI signatures
> 
>
> Key: NETBEANS-193
> URL: https://issues.apache.org/jira/browse/NETBEANS-193
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Affects Versions: 8.2
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Minor
>
> 2017-11-29 12:49 GMT+01:00 Wooguil Pak:
> Hello, Jaroslav Tulach,
> I'm currently testing DEW and it seems that it does not support
> parameters like integer array.
> When I try
>   @JavaScriptBody(args = { "id", "r" },
> javacall = true, body =
> "var array = new Array();\n" +
> "array[0]=1; array[1]=2;\n" +
> "r...@dew.demo.lowlevel.Java2JsAndBack::test([I)(array);\n"
>   )
>   public static native void test(String id, Java2JsAndBack r);
> compiler complaints
> Callback to dew.demo.lowlevel.Java2JsAndBack.test with wrong
> parameters: ([I). Only known parameters are ([L)
> (Ljava/lang/String;Ldew/demo/lowlevel/Java2JsAndBack;)
> If it is true, is there no way to pass integer array to Java as a 
> parameter?
> The report is correct. There is an error: the {{int[]}} shall be {{[I}} and 
> not {{[L}}. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-193) Primitive arrays aren't properly converted to JNI signatures

2017-12-01 Thread Jaroslav Tulach (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaroslav Tulach updated NETBEANS-193:
-
Description: 
2017-11-29 12:49 GMT+01:00 Wooguil Pak:

Hello, Jaroslav Tulach,

I'm currently testing DEW and it seems that it does not support
parameters like integer array.
When I try
  @JavaScriptBody(args = { "id", "r" },
javacall = true, body =
"var array = new Array();\n" +
"array[0]=1; array[1]=2;\n" +
"r...@dew.demo.lowlevel.Java2JsAndBack::test([I)(array);\n"
  )
  public static native void test(String id, Java2JsAndBack r);

compiler complaints

Callback to dew.demo.lowlevel.Java2JsAndBack.test with wrong
parameters: ([I). Only known parameters are ([L)
(Ljava/lang/String;Ldew/demo/lowlevel/Java2JsAndBack;)

If it is true, is there no way to pass integer array to Java as a parameter?

The report is correct. There is an error: the {{int[]}} shall be {{[I}} and not 
{{[L}}. 


  was:
2017-11-29 12:49 GMT+01:00 Wooguil Pak <wooguil...@gmail.com>:

Hello, Jaroslav Tulach,

I'm currently testing DEW and it seems that it does not support
parameters like integer array.
When I try
  @JavaScriptBody(args = { "id", "r" },
javacall = true, body =
"var array = new Array();\n" +
"array[0]=1; array[1]=2;\n" +
"r...@dew.demo.lowlevel.Java2JsAndBack::test([I)(array);\n"
  )
  public static native void test(String id, Java2JsAndBack r);

compiler complaints

Callback to dew.demo.lowlevel.Java2JsAndBack.test with wrong
parameters: ([I). Only known parameters are ([L)
(Ljava/lang/String;Ldew/demo/lowlevel/Java2JsAndBack;)

If it is true, is there no way to pass integer array to Java as a parameter?

The report is correct. There is an error: the {{int[]}} shall be {{[I}} and not 
{{[L}}. 



> Primitive arrays aren't properly converted to JNI signatures
> 
>
> Key: NETBEANS-193
> URL: https://issues.apache.org/jira/browse/NETBEANS-193
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - HTML4J
>Affects Versions: 8.2
>Reporter: Jaroslav Tulach
>Assignee: Jaroslav Tulach
>Priority: Minor
>
> 2017-11-29 12:49 GMT+01:00 Wooguil Pak:
> Hello, Jaroslav Tulach,
> I'm currently testing DEW and it seems that it does not support
> parameters like integer array.
> When I try
>   @JavaScriptBody(args = { "id", "r" },
> javacall = true, body =
> "var array = new Array();\n" +
> "array[0]=1; array[1]=2;\n" +
> "r...@dew.demo.lowlevel.Java2JsAndBack::test([I)(array);\n"
>   )
>   public static native void test(String id, Java2JsAndBack r);
> compiler complaints
> Callback to dew.demo.lowlevel.Java2JsAndBack.test with wrong
> parameters: ([I). Only known parameters are ([L)
> (Ljava/lang/String;Ldew/demo/lowlevel/Java2JsAndBack;)
> If it is true, is there no way to pass integer array to Java as a 
> parameter?
> The report is correct. There is an error: the {{int[]}} shall be {{[I}} and 
> not {{[L}}. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-193) Primitive arrays aren't properly converted to JNI signatures

2017-12-01 Thread Jaroslav Tulach (JIRA)
Jaroslav Tulach created NETBEANS-193:


 Summary: Primitive arrays aren't properly converted to JNI 
signatures
 Key: NETBEANS-193
 URL: https://issues.apache.org/jira/browse/NETBEANS-193
 Project: NetBeans
  Issue Type: Bug
  Components: platform - HTML4J
Affects Versions: 8.2
Reporter: Jaroslav Tulach
Assignee: Jaroslav Tulach
Priority: Minor


2017-11-29 12:49 GMT+01:00 Wooguil Pak <wooguil...@gmail.com>:

Hello, Jaroslav Tulach,

I'm currently testing DEW and it seems that it does not support
parameters like integer array.
When I try
  @JavaScriptBody(args = { "id", "r" },
javacall = true, body =
"var array = new Array();\n" +
"array[0]=1; array[1]=2;\n" +
"r...@dew.demo.lowlevel.Java2JsAndBack::test([I)(array);\n"
  )
  public static native void test(String id, Java2JsAndBack r);

compiler complaints

Callback to dew.demo.lowlevel.Java2JsAndBack.test with wrong
parameters: ([I). Only known parameters are ([L)
(Ljava/lang/String;Ldew/demo/lowlevel/Java2JsAndBack;)

If it is true, is there no way to pass integer array to Java as a parameter?

The report is correct. There is an error: the {{int[]}} shall be {{[I}} and not 
{{[L}}. 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-54) Clarify the status of donated files from ApacheNetBeansDonation1.zip

2017-12-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275146#comment-16275146
 ] 

ASF GitHub Bot commented on NETBEANS-54:


geertjanw closed pull request #311: [NETBEANS-54] Various module reviews
URL: https://github.com/apache/incubator-netbeans/pull/311
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/css.editor/todo b/css.editor/todo
index b72e8caf8..1ca059e31 100644
--- a/css.editor/todo
+++ b/css.editor/todo
@@ -1,3 +1,6 @@
+Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+license agreements; and to You under the Apache License, Version 2.0.
+
 Css modules list (source http://www.css3.info/modules/)
 
 * Selectors 
diff --git a/java.hints/build.xml b/java.hints/build.xml
index be6dfb4b2..d73020e16 100644
--- a/java.hints/build.xml
+++ b/java.hints/build.xml
@@ -20,13 +20,5 @@
 
 -->
 
-
-
-
-
-   
-
-
-
-   
+  
 
diff --git a/java.hints/test-excludes.txt b/java.hints/test-excludes.txt
deleted file mode 100644
index beb5f9e05..0
--- a/java.hints/test-excludes.txt
+++ /dev/null
@@ -1 +0,0 @@
-**/JavaHintsProviderTest*
diff --git 
a/java.hints/test/unit/src/org/netbeans/modules/java/hints/errors/Class.template
 
b/java.hints/test/unit/src/org/netbeans/modules/java/hints/errors/Class.template
index 864746b92..e7172a25c 100644
--- 
a/java.hints/test/unit/src/org/netbeans/modules/java/hints/errors/Class.template
+++ 
b/java.hints/test/unit/src/org/netbeans/modules/java/hints/errors/Class.template
@@ -1,3 +1,21 @@
+<#-- 
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+  
+ http://www.apache.org/licenses/LICENSE-2.0
+  
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
 <#if package?? && package != "">
 package ${package};
 
diff --git 
a/java.hints/test/unit/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProviderTest.java
 
b/java.hints/test/unit/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProviderTest.java
index ec8cdd969..35e661650 100644
--- 
a/java.hints/test/unit/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProviderTest.java
+++ 
b/java.hints/test/unit/src/org/netbeans/modules/java/hints/infrastructure/ErrorHintsProviderTest.java
@@ -60,12 +60,6 @@ public ErrorHintsProviderTest(String testName) {
 super(testName);
 }
 
-//public static Test suite() {
-//TestSuite suite = new TestSuite(JavaHintsProviderTest.class);
-//
-//return suite;
-//}
-
 private FileObject testSource;
 private JavaSource js;
 private CompilationInfo info;
diff --git a/java.navigation/test/log.txt b/java.navigation/test/log.txt
deleted file mode 100644
index c3f893856..0
--- a/java.navigation/test/log.txt
+++ /dev/null
@@ -1 +0,0 @@
-ant -verbose -Dnetbeans.dest.dir=/home/pzajac/builds/netbeans 
-Dxtest.testtype=qa-functional -Dxtest.attribs=validation
diff --git a/java.source/build.xml b/java.source/build.xml
index 262ea1328..b2c518f73 100644
--- a/java.source/build.xml
+++ b/java.source/build.xml
@@ -22,13 +22,5 @@
 
 
 
-
-
-
-
-
-
-
-
 

diff --git a/java.source/test-excludes.txt b/java.source/test-excludes.txt
deleted file mode 100644
index c5f1fdb99..0
--- a/java.source/test-excludes.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-**/CachingFileManagerTest*
-**/CachingZipArchiveTest*
-**/BasicPerformanceTest*
-**/CachingFolderArchiveTest*
-**/GeneratorTest*
-**/FileManagerTest*
-**/PerfJavacIntefaceGCTest*
-**/PerfResolveTest*
-**/PerfBatchCompilationTest*
-**/AnnotationOnLocVarTest*
-**/ClashingImportsTest*
-**/ImportFormatTest*
-**/LabelsTest*
-**/MemberAdditionTest*
-**/MethodBodyTextTest*
-**/UiUtilsTest*
-**/RepositoryUpdaterTest*
-**/ClassIndexTest*
\ No newline at end of file
diff --git 
a/jshell.support/src/org/netbeans/modules/jshell/resources/ShellClass.java.template
 
b/jsh

[jira] [Commented] (NETBEANS-54) Clarify the status of donated files from ApacheNetBeansDonation1.zip

2017-12-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275144#comment-16275144
 ] 

ASF GitHub Bot commented on NETBEANS-54:


geertjanw commented on issue #311: [NETBEANS-54] Various module reviews
URL: 
https://github.com/apache/incubator-netbeans/pull/311#issuecomment-348637305
 
 
   Awesome, merging.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Clarify the status of donated files from ApacheNetBeansDonation1.zip
> 
>
> Key: NETBEANS-54
> URL: https://issues.apache.org/jira/browse/NETBEANS-54
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Bertrand Delacretaz
>  Labels: pull-request-available
> Attachments: JavaApplication9.java, categorized-1.zip, 
> convert-headers-1.zip
>
>
> Reviewing the software grant [1] provided with the first NetBeans code 
> donation, my understanding is that not all files found in that zip are 
> donated.
> The grant indicates that the contents of that file [2] ("Code File") are 
> donated "excluding any third-party and separately licensed material contained 
> within the Code File". 
> I don't think we can consider that code ready to release as is, due to the 
> uncertainty that this creates w.r.t to which files are donated and which are 
> not.
> The zip archive contains about 45'000 files.
> I see the following options:
> a) Review all files and include only those which are not "third-party and 
> separately licensed material". How such files are identified needs to be 
> defined and documented, either in scripts under version control or as a set 
> of rules. The review process must be documented and traceable, so that we can 
> go back to it if problems are found in the future.
> b) Get an updated grant which does not mention such exclusions.
> If someone sees other options please discuss here or on the NetBeans dev 
> list, referencing this ticket.
> [1] in svn under private/documents/grants/oracle-america-netbeans.pdf , ASF 
> members have access
> [2] under http://bits.netbeans.org/download/apache-donation/  - 
> SHA256(ApacheNetBeansDonation1.zip)=
> 7f2ca0f61953a190613c9a0fbcc1b034084b04a4d55d23c02cefffc354e7c24a



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-192) Enhance apichanges issue tag

2017-12-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275067#comment-16275067
 ] 

ASF GitHub Bot commented on NETBEANS-192:
-

lbruun commented on issue #309: NETBEANS-192 support jira issue in apichanges
URL: 
https://github.com/apache/incubator-netbeans/pull/309#issuecomment-348627390
 
 
   Looks good.  
   
   To document what is going on:
   
   When you refer to an issue in `apichanges.xml` document, as in:
   
   
   
   the _number_ attribute can now be either a plain number (as before), e.g.
   
   ``
   
   in which case it will link to a Bugzilla issue, or if it looks like this:
   
   ``
   
   it will link to an Apache JIRA issue.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Enhance apichanges issue tag
> 
>
> Key: NETBEANS-192
> URL: https://issues.apache.org/jira/browse/NETBEANS-192
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Harness
>Reporter: Svatopluk Dedic
>Priority: Minor
>  Labels: pull-request-available
>
> The issue tag should allow to reference PRs in (incubator-)netbeans githiub 
> and possibly also Apache JIRA issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-54) Clarify the status of donated files from ApacheNetBeansDonation1.zip

2017-12-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16275061#comment-16275061
 ] 

ASF GitHub Bot commented on NETBEANS-54:


matthiasblaesing opened a new pull request #311: [NETBEANS-54] Various module 
reviews
URL: https://github.com/apache/incubator-netbeans/pull/311
 
 
   - Removed unused files without license headers
   - Added various headers
   - Added various exclusions
   
   With this we are down to only one module: hibernate. The hibernate XSDs are 
only licensed under LGPL and so can't be included. I would not add them to the 
excludes.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Clarify the status of donated files from ApacheNetBeansDonation1.zip
> 
>
> Key: NETBEANS-54
> URL: https://issues.apache.org/jira/browse/NETBEANS-54
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Bertrand Delacretaz
>  Labels: pull-request-available
> Attachments: JavaApplication9.java, categorized-1.zip, 
> convert-headers-1.zip
>
>
> Reviewing the software grant [1] provided with the first NetBeans code 
> donation, my understanding is that not all files found in that zip are 
> donated.
> The grant indicates that the contents of that file [2] ("Code File") are 
> donated "excluding any third-party and separately licensed material contained 
> within the Code File". 
> I don't think we can consider that code ready to release as is, due to the 
> uncertainty that this creates w.r.t to which files are donated and which are 
> not.
> The zip archive contains about 45'000 files.
> I see the following options:
> a) Review all files and include only those which are not "third-party and 
> separately licensed material". How such files are identified needs to be 
> defined and documented, either in scripts under version control or as a set 
> of rules. The review process must be documented and traceable, so that we can 
> go back to it if problems are found in the future.
> b) Get an updated grant which does not mention such exclusions.
> If someone sees other options please discuss here or on the NetBeans dev 
> list, referencing this ticket.
> [1] in svn under private/documents/grants/oracle-america-netbeans.pdf , ASF 
> members have access
> [2] under http://bits.netbeans.org/download/apache-donation/  - 
> SHA256(ApacheNetBeansDonation1.zip)=
> 7f2ca0f61953a190613c9a0fbcc1b034084b04a4d55d23c02cefffc354e7c24a



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (NETBEANS-192) Enhance apichanges issue tag

2017-12-01 Thread ASF GitHub Bot (JIRA)

 [ 
https://issues.apache.org/jira/browse/NETBEANS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-192:

Labels: pull-request-available  (was: )

> Enhance apichanges issue tag
> 
>
> Key: NETBEANS-192
> URL: https://issues.apache.org/jira/browse/NETBEANS-192
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Harness
>Reporter: Svatopluk Dedic
>Priority: Minor
>  Labels: pull-request-available
>
> The issue tag should allow to reference PRs in (incubator-)netbeans githiub 
> and possibly also Apache JIRA issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-192) Enhance apichanges issue tag

2017-12-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16274657#comment-16274657
 ] 

ASF GitHub Bot commented on NETBEANS-192:
-

ebarboni opened a new pull request #309: NETBEANS-192 support jira issue in 
apichanges
URL: https://github.com/apache/incubator-netbeans/pull/309
 
 
   This PR add a possibility to link apichanges issue to Apache JIRA instance.
   
   Assuming that jira instance for NetBeans will contains NETBEANS to check for 
difference with bugzilla issues.
   
   if former issues are migrated to Apache JIRA the triage must be removed.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Enhance apichanges issue tag
> 
>
> Key: NETBEANS-192
> URL: https://issues.apache.org/jira/browse/NETBEANS-192
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Harness
>Reporter: Svatopluk Dedic
>Priority: Minor
>  Labels: pull-request-available
>
> The issue tag should allow to reference PRs in (incubator-)netbeans githiub 
> and possibly also Apache JIRA issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-192) Enhance apichanges issue tag

2017-12-01 Thread Neil C Smith (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16274361#comment-16274361
 ] 

Neil C Smith commented on NETBEANS-192:
---

{quote}Contributor will use PR but for commiter they may direct push to git 
with no PR{quote}

Well, some of us are arguing that shouldn't be the case!

But, I concur we shouldn't be referencing GitHub for anything canonical - 
GitHub is just a mirror to what happens here.  References to (merge) commits 
might be useful?  But also cart before horse?

> Enhance apichanges issue tag
> 
>
> Key: NETBEANS-192
> URL: https://issues.apache.org/jira/browse/NETBEANS-192
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Harness
>Reporter: Svatopluk Dedic
>Priority: Minor
>
> The issue tag should allow to reference PRs in (incubator-)netbeans githiub 
> and possibly also Apache JIRA issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (NETBEANS-192) Enhance apichanges issue tag

2017-12-01 Thread Eric Barboni (JIRA)

[ 
https://issues.apache.org/jira/browse/NETBEANS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16274290#comment-16274290
 ] 

Eric Barboni commented on NETBEANS-192:
---

I'm not sure PR are canonical enough to be linked in apichanges. Contributor 
will use PR but for commiter they may direct push to git with no PR.

I think JIRA is the most important item.

> Enhance apichanges issue tag
> 
>
> Key: NETBEANS-192
> URL: https://issues.apache.org/jira/browse/NETBEANS-192
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Harness
>Reporter: Svatopluk Dedic
>Priority: Minor
>
> The issue tag should allow to reference PRs in (incubator-)netbeans githiub 
> and possibly also Apache JIRA issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (NETBEANS-192) Enhance apichanges issue tag

2017-12-01 Thread Svatopluk Dedic (JIRA)
Svatopluk Dedic created NETBEANS-192:


 Summary: Enhance apichanges issue tag
 Key: NETBEANS-192
 URL: https://issues.apache.org/jira/browse/NETBEANS-192
 Project: NetBeans
  Issue Type: Improvement
  Components: apisupport - Harness
Reporter: Svatopluk Dedic


The issue tag should allow to reference PRs in (incubator-)netbeans githiub and 
possibly also Apache JIRA issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


  1   2   3   4   5   6   7   8   9   10   >