[jira] [Updated] (NETBEANS-4818) New Module system build-impl.xml doesn't work on windows

2020-10-08 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-4818:
-
Labels: pull-request-available  (was: )

> New Module system build-impl.xml doesn't work on windows
> 
>
> Key: NETBEANS-4818
> URL: https://issues.apache.org/jira/browse/NETBEANS-4818
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 12.2
>Reporter: Austin Stephens
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> To fix the issue of Nashorn being removed, someone is having ant compile 
> scripts. They apparently did this without using an IDE since they are 
> comparing strings with "==" and "!=", which is why it doesn't work on 
> Windows. I have fixed it but am too lazy to check it in. Here is the new 
> fixed method as it appears in build-impl.xml:
> {noformat}
> private String toRegexp2(String spec, String filepattern, String 
> separator) {
> ListString prefixes = new ArrayList();
> ListString suffixes = new ArrayList();
> pathVariants(spec).forEach(item - {
> suffixes.add(item);
> });
> String tail = "";
> String separatorString = separator;
> if ("\\".equals(separatorString)) {
> separatorString = "";
> }
> if (filepattern != null  !filepattern.equals(tail)) {
> tail = separatorString + filepattern;
> }
> return "([^" + separatorString +"]+)\\Q" + separator + "\\E(" + 
> suffixes.stream().collect(Collectors.joining("|")) + ")" + tail;
> }{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans] branch master updated (70fab45 -> ee29071)

2020-10-08 Thread jtulach
This is an automated email from the ASF dual-hosted git repository.

jtulach pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 70fab45  [NETBEANS-2644] Gradle buildSrc projects are recognized and 
displayed in the Build Scripts node
 new bac26b5  Branding API to configure default value for output reuse and 
CoS
 new 68d7ceb  Keep one Maven JPDAStart instance per project and kill 
previous launch when new one is requested
 new 869353c  Fixing a typo
 new 0e6accd  Make the among the threads shared field volatile
 new ee29071  Merge pull request #2427 from 
JaroslavTulach/jtulach/MavenConfigAndRobustness

The 4464 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/maven/apichanges.xml  |  15 ++
 java/maven/arch.xml|  19 ++
 java/maven/manifest.mf |   2 +-
 .../netbeans/modules/maven/NbMavenProjectImpl.java |   4 +-
 .../modules/maven/api/execute/RunUtils.java|  11 +-
 .../modules/maven/debug/DebuggerChecker.java   |   7 +-
 .../debug/{JPDAStart.java => MavenJPDAStart.java}  | 226 ++---
 .../modules/maven/options/MavenSettings.java   |  15 +-
 .../modules/maven/NbMavenProjectImplTest.java  |  15 +-
 .../maven/api/execute/Bundle_test.properties   |  18 ++
 .../modules/maven/api/execute/RunUtilsTest.java|  85 
 .../modules/maven/options/Bundle_test.properties   |  18 ++
 .../modules/maven/options/MavenSettingsTest.java   |  57 ++
 13 files changed, 362 insertions(+), 130 deletions(-)
 rename java/maven/src/org/netbeans/modules/maven/debug/{JPDAStart.java => 
MavenJPDAStart.java} (51%)
 create mode 100644 
java/maven/test/unit/src/org/netbeans/modules/maven/api/execute/Bundle_test.properties
 create mode 100644 
java/maven/test/unit/src/org/netbeans/modules/maven/api/execute/RunUtilsTest.java
 create mode 100644 
java/maven/test/unit/src/org/netbeans/modules/maven/options/Bundle_test.properties
 create mode 100644 
java/maven/test/unit/src/org/netbeans/modules/maven/options/MavenSettingsTest.java


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

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



[jira] [Updated] (NETBEANS-4889) Cyrcular cluster dependency in Gradle Project test

2020-10-08 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-4889:
-
Labels: pull-request-available  (was: )

> Cyrcular cluster dependency in Gradle Project test
> --
>
> Key: NETBEANS-4889
> URL: https://issues.apache.org/jira/browse/NETBEANS-4889
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Gradle Project test depends on apisupport.project, however the apisupport 
> cluster depends on extide. Travis build test would fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4889) Cyrcular cluster dependency in Gradle Project test

2020-10-08 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-4889:
-

 Summary: Cyrcular cluster dependency in Gradle Project test
 Key: NETBEANS-4889
 URL: https://issues.apache.org/jira/browse/NETBEANS-4889
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi


Gradle Project test depends on apisupport.project, however the apisupport 
cluster depends on extide. Travis build test would fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Resolved] (NETBEANS-2644) NB11 gradle plugin can't open buildSrc subproject

2020-10-08 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-2644.
---
Fix Version/s: 12.2
   Resolution: Fixed

> NB11 gradle plugin can't open buildSrc subproject
> -
>
> Key: NETBEANS-2644
> URL: https://issues.apache.org/jira/browse/NETBEANS-2644
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
>Reporter: Shevek
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.2
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Can't find a way to open the buildSrc/ "special" subproject in netbeans 11. 
> Gone back to netbeans 10 to edit it.
> Could be related to the project not building - but I need to edit buildSrc to 
> fix the build?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4888) Improve Java EE support

2020-10-08 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-4888:
-
Labels: pull-request-available  (was: )

> Improve Java EE support
> ---
>
> Key: NETBEANS-4888
> URL: https://issues.apache.org/jira/browse/NETBEANS-4888
> Project: NetBeans
>  Issue Type: Improvement
>  Components: javaee - Code, javaee - JSF, xml - Schema
>Affects Versions: 12.1
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.2
>
> Attachments: PR-1234-before-1.png, PR-1234-before-2.png, 
> PR-1234-before-3.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> - Fix wrong namespace for JSF 2.2 and 2.3 versions inside JSFCatalog
> - Download a fresh web-facelettaglibrary_2_2.xsd from Oracle, previous one is 
> incorrect
> - Add missing validations for FACELETS_TAGLIB_SCHEMA versions 22 and 23
> - Add missing Java EE 8 xml file
> - Add missing Java EE 8 entries to some xml files
> - Add missing directory to the rat-exclusions file
> - Add missing connector_1_6.xsd file
> - Add missing file to licenseinfo.xml
> - Add missing directory to .gitignore
> - Add missing Deployment Descriptor Files to a .properties file
> - Add missing .xsd files to the EnterpriseCatalog file
> - Add missing action that generates the application-client_8.mdd file



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4888) Improve Java EE support

2020-10-08 Thread Jose (Jira)
Jose created NETBEANS-4888:
--

 Summary: Improve Java EE support
 Key: NETBEANS-4888
 URL: https://issues.apache.org/jira/browse/NETBEANS-4888
 Project: NetBeans
  Issue Type: Improvement
  Components: javaee - Code, javaee - JSF, xml - Schema
Affects Versions: 12.1
Reporter: Jose
Assignee: Jose
 Fix For: 12.2
 Attachments: PR-1234-before-1.png, PR-1234-before-2.png, 
PR-1234-before-3.png

- Fix wrong namespace for JSF 2.2 and 2.3 versions inside JSFCatalog
- Download a fresh web-facelettaglibrary_2_2.xsd from Oracle, previous one is 
incorrect
- Add missing validations for FACELETS_TAGLIB_SCHEMA versions 22 and 23
- Add missing Java EE 8 xml file
- Add missing Java EE 8 entries to some xml files
- Add missing directory to the rat-exclusions file
- Add missing connector_1_6.xsd file
- Add missing file to licenseinfo.xml
- Add missing directory to .gitignore
- Add missing Deployment Descriptor Files to a .properties file
- Add missing .xsd files to the EnterpriseCatalog file
- Add missing action that generates the application-client_8.mdd file





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4887) Code completion fails when using chained method call and class variable

2020-10-08 Thread Robert Allen (Jira)


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

Robert Allen updated NETBEANS-4887:
---
Description: 
This code fails to use code completion when using a class variable and chained 
method call.

Path appVerName = Paths.get(appNewVer).getFileName();

 

Paths.get() works with code completion but the getFileName() will fail.

 

 win 7, AdoptOpenJDK 15, 14, 11, 8.

  was:
This code fails to use code completion when using a class variable and chained 
method call.

Path appVerName = Paths.get(appNewVer).getFileName();

 

Paths.get() works with code completion but the getFileName() will fail.

 

 


> Code completion fails when using chained method call and class variable
> ---
>
> Key: NETBEANS-4887
> URL: https://issues.apache.org/jira/browse/NETBEANS-4887
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 12.0
>Reporter: Robert Allen
>Priority: Major
>
> This code fails to use code completion when using a class variable and 
> chained method call.
> Path appVerName = Paths.get(appNewVer).getFileName();
>  
> Paths.get() works with code completion but the getFileName() will fail.
>  
>  win 7, AdoptOpenJDK 15, 14, 11, 8.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4887) Code completion fails when using chained method call and class variable

2020-10-08 Thread Robert Allen (Jira)
Robert Allen created NETBEANS-4887:
--

 Summary: Code completion fails when using chained method call and 
class variable
 Key: NETBEANS-4887
 URL: https://issues.apache.org/jira/browse/NETBEANS-4887
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 12.0
Reporter: Robert Allen


This code fails to use code completion when using a class variable and chained 
method call.

Path appVerName = Paths.get(appNewVer).getFileName();

 

Paths.get() works with code completion but the getFileName() will fail.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Resolved] (NETBEANS-4885) "Improved" Gradle SubProjectDetection breaks maven projects

2020-10-08 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4885.
---
Fix Version/s: 12.2
   Resolution: Fixed

Shall be fixed by:

https://github.com/apache/netbeans/pull/2426

> "Improved" Gradle SubProjectDetection breaks maven projects
> ---
>
> Key: NETBEANS-4885
> URL: https://issues.apache.org/jira/browse/NETBEANS-4885
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: Next
>Reporter: Matthias Bläsing
>Assignee: Laszlo Kishalmi
>Priority: Blocker
> Fix For: 12.2
>
> Attachments: Bildschirmfoto_2020-10-08_21-45-32.png, 
> Bildschirmfoto_2020-10-08_22-01-17.png, test-proj.zip
>
>
> I build netbeans from master (9f2b595df801547c53292952199609ff3ab9ec99) - 
> this causes maven projects to be recognized as gradle projects (see 
> test-proj.zip for a sample). NetBeans is started with clean userdir and 
> cachedir:
> bin/netbeans-dev/bin/netbeans --userdir test-user --cachedir test-cache
> The project is opened (I run on JDK 11 and did not install nbjavac):
> !Bildschirmfoto_2020-10-08_22-01-17.png!
> I reverted c43ee9b5091e16ccd0adfeeb50ebaa0e45be0799 ("[NETBEANS-4867] Fix 
> inconsistent Gradle SubProject Detection (#2411)") locally and this restores 
> behavior to normal:
> !Bildschirmfoto_2020-10-08_21-45-32.png!
> Something in the referenced commits is to eager to recognize gradle projects.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans] branch master updated: [NETBEANS-2644] Gradle buildSrc projects are recognized and displayed in the Build Scripts node

2020-10-08 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 70fab45  [NETBEANS-2644] Gradle buildSrc projects are recognized and 
displayed in the Build Scripts node
70fab45 is described below

commit 70fab45daee43bca06717ef7362ae8b1eaaefd77
Author: Laszlo Kishalmi 
AuthorDate: Wed Oct 7 09:52:39 2020 -0700

[NETBEANS-2644] Gradle buildSrc projects are recognized and displayed in 
the Build Scripts node
---
 extide/gradle/apichanges.xml   |  14 +++
 .../modules/gradle/BulkModelRetriever.java | 131 +
 .../modules/gradle/NbGradleProjectFactory.java |  15 ++-
 .../modules/gradle/nodes/BuildScriptsNode.java |  63 +-
 .../modules/gradle/nodes/SubProjectsNode.java  |  34 +++---
 .../org/netbeans/modules/gradle/queries/Info.java  |  15 ++-
 .../netbeans/modules/gradle/spi/GradleFiles.java   |  32 +++--
 .../modules/gradle/NbGradleProjectFactoryTest.java |  44 ++-
 .../modules/gradle/spi/GradleFilesTest.java|  10 ++
 9 files changed, 295 insertions(+), 63 deletions(-)

diff --git a/extide/gradle/apichanges.xml b/extide/gradle/apichanges.xml
index 875ee40..9fc9784 100644
--- a/extide/gradle/apichanges.xml
+++ b/extide/gradle/apichanges.xml
@@ -83,6 +83,20 @@ is the proper place.
 
 
 
+
+
+GradleFiles SPI has the methods to deal with the buildSrc 
project.
+
+
+
+
+
+
+GradleFiles.isBuildSrcProject()
 was
+added to detect if a project id a buildSrc project, and a 
new file Kind has been introduced BUILD_SRC.
+
+
+
 
 
 Expose Gradle ProjectConnection through Project's 
Lookup.
diff --git 
a/extide/gradle/src/org/netbeans/modules/gradle/BulkModelRetriever.java 
b/extide/gradle/src/org/netbeans/modules/gradle/BulkModelRetriever.java
new file mode 100644
index 000..ddade85
--- /dev/null
+++ b/extide/gradle/src/org/netbeans/modules/gradle/BulkModelRetriever.java
@@ -0,0 +1,131 @@
+/*
+ * 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.modules.gradle;
+
+import java.io.Serializable;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.concurrent.Future;
+import java.util.concurrent.atomic.AtomicInteger;
+import org.gradle.api.Action;
+import org.gradle.tooling.BuildAction;
+import org.gradle.tooling.BuildController;
+import org.gradle.tooling.model.Model;
+
+/**
+ *
+ * @author lkishalmi
+ */
+public class BulkModelRetriever {
+
+private static final AtomicInteger TASK_SEQUENCE = new AtomicInteger();
+
+ Future fetchModel(Class modelType, Class 
parameterType, Action parameterInitializer) {
+return null;
+}
+
+public static class BulkActionResult {}
+public static class ModelResult implements Serializable {
+String id;
+Model result;
+Throwable exception;
+
+public ModelResult(String id, Model result) {
+this.id = id;
+this.result = result;
+}
+
+public ModelResult(String id, Throwable exception) {
+this.id = id;
+this.exception = exception;
+}
+
+public String getId() {
+return id;
+}
+
+public Model getResult() {
+return result;
+}
+
+public Throwable getException() {
+return exception;
+}
+
+}
+
+public static class ModelTask implements Serializable {
+
+String id;
+Class modelType;
+Class parameterType;
+Action parameterInitializer;
+
+public ModelTask(Class modelType, Class parameterType, Action parameterInitializer) {
+id = modelType.getName() + "-" + TASK_SEQUENCE.getAndIncrement();
+this.modelType = modelType;
+this.parameterType = parameterType;
+this.parameterInitializer = parameterInitializer;
+}
+
+  

[jira] [Updated] (NETBEANS-4886) java.lang.IllegalStateException: Cannot call getCompilationUnit() if current phase < JavaSource.Phase.PARSED.

2020-10-08 Thread Robert Allen (Jira)


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

Robert Allen updated NETBEANS-4886:
---
Description: 
Using added adoptOpenJDK 15 and this exception thrown when starting netbeans.

java.lang.IllegalStateException: Cannot call getCompilationUnit() if current 
phase < JavaSource.Phase.PARSED. You must call toPhase(Phase.PARSED) first.
 at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getCompilationUnit(CompilationInfoImpl.java:200)
 at 
org.netbeans.api.java.source.CompilationInfo.getCompilationUnit(CompilationInfo.java:167)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:154)
 at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
 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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
 at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$getParameterName$1(ParameterNameProviderImpl.java:144)
 at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:138)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:92)
 at com.sun.proxy.$Proxy25.getParameterName(Unknown Source)
 at 
jdk.compiler/com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
 at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1836)
 at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1821)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1242)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:954)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:424)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1761)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
 at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
 at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
 at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:952)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:424)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1761)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
 at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitVariable(SemanticHighlighterBase.java:1060)
 at 

[jira] [Created] (NETBEANS-4886) java.lang.IllegalStateException: Cannot call getCompilationUnit() if current phase < JavaSource.Phase.PARSED.

2020-10-08 Thread Robert Allen (Jira)
Robert Allen created NETBEANS-4886:
--

 Summary: java.lang.IllegalStateException: Cannot call 
getCompilationUnit() if current phase < JavaSource.Phase.PARSED. 
 Key: NETBEANS-4886
 URL: https://issues.apache.org/jira/browse/NETBEANS-4886
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 12.0
 Environment: win 7, netbeans 12, with jdk 15
Reporter: Robert Allen


Usinf added adoptOpenJDK 15 and this exception thrown when starting netbeans.

java.lang.IllegalStateException: Cannot call getCompilationUnit() if current 
phase < JavaSource.Phase.PARSED. You must call toPhase(Phase.PARSED) first.
 at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getCompilationUnit(CompilationInfoImpl.java:200)
 at 
org.netbeans.api.java.source.CompilationInfo.getCompilationUnit(CompilationInfo.java:167)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$null$0(ParameterNameProviderImpl.java:154)
 at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
 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.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
 at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.lambda$getParameterName$1(ParameterNameProviderImpl.java:144)
 at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:138)
 at 
org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:92)
 at com.sun.proxy.$Proxy25.getParameterName(Unknown Source)
 at 
jdk.compiler/com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
 at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1836)
 at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1821)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1242)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:954)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:424)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1761)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
 at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
 at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
 at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:952)
 at 
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethodInvocation(SemanticHighlighterBase.java:424)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1761)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
 at 
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
 at 

[netbeans] branch master updated: Do not tear down debugger UI in a headless mode.

2020-10-08 Thread entl
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new fa6ca39  Do not tear down debugger UI in a headless mode.
 new 4d8bcca  Merge pull request #2428 from 
entlicher/Debugger_HeadlessFriendly
fa6ca39 is described below

commit fa6ca3959d49584908e062b60a6994448d81e184
Author: Martin Entlicher 
AuthorDate: Thu Oct 8 16:32:07 2020 +0200

Do not tear down debugger UI in a headless mode.
---
 .../src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/ide/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
 
b/ide/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
index b62c459..8897e96 100644
--- 
a/ide/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
+++ 
b/ide/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
@@ -395,6 +395,9 @@ public class DebuggerManagerListener extends 
DebuggerManagerAdapter {
 
 @Override
 public void engineRemoved (final DebuggerEngine engine) {
+if (GraphicsEnvironment.isHeadless()) {
+return ;
+}
 DebuggerModule dm = DebuggerModule.findObject(DebuggerModule.class);
 if (dm != null && dm.isClosing()) {
 // Do not interfere with closeDebuggerUI()


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

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



[jira] [Resolved] (NETBEANS-4394) Cant open file inside a project: "Error in RequestProcessor org.netbeans.modules.project.ui.actions.MainProjectAction$2 java.lang.NullPointerException at org.netbeans

2020-10-08 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4394.

Resolution: Incomplete

Please provide steps to reproduce.

> Cant open file inside a project: "Error in RequestProcessor 
> org.netbeans.modules.project.ui.actions.MainProjectAction$2 
> java.lang.NullPointerException at 
> org.netbeans.modules.cordova.project.MobileConfigurationImpl.getDevice(MobileConfigurationImpl.java)"
> ---
>
> Key: NETBEANS-4394
> URL: https://issues.apache.org/jira/browse/NETBEANS-4394
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
> Environment: npm cordova project html file
>Reporter: Herman Diener
>Assignee: davidson prasad
>Priority: Major
> Attachments: messages.log
>
>
> Cant open or right click on project on root files
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4394) Cant open file inside a project: "Error in RequestProcessor org.netbeans.modules.project.ui.actions.MainProjectAction$2 java.lang.NullPointerException at org.netbeans.

2020-10-08 Thread Jira


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

Matthias Bläsing updated NETBEANS-4394:
---
Priority: Major  (was: Blocker)

> Cant open file inside a project: "Error in RequestProcessor 
> org.netbeans.modules.project.ui.actions.MainProjectAction$2 
> java.lang.NullPointerException at 
> org.netbeans.modules.cordova.project.MobileConfigurationImpl.getDevice(MobileConfigurationImpl.java)"
> ---
>
> Key: NETBEANS-4394
> URL: https://issues.apache.org/jira/browse/NETBEANS-4394
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
> Environment: npm cordova project html file
>Reporter: Herman Diener
>Assignee: davidson prasad
>Priority: Major
> Attachments: messages.log
>
>
> Cant open or right click on project on root files
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Resolved] (NETBEANS-4869) found a bug

2020-10-08 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4869.

Resolution: Incomplete

Moved gestures to attachment, updated issue info. Reported did not give 
additional information, so closing this as incomplete.

> found a bug
> ---
>
> Key: NETBEANS-4869
> URL: https://issues.apache.org/jira/browse/NETBEANS-4869
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.3
> Environment: MacOSX 10.11.6 MacBook
>Reporter: Mark Broekman
>Priority: Major
> Attachments: gestures.txt
>
>
> I'm new and Netbeans gave the message: You found a bug in the application! 
> Please help Apache NetBeans by reporting this problem to our bug tracking 
> system. Click View Data button, copy the exception and submit it together 
> with detailed information about what you were trying to achieve before the 
> problem occurred in JIRA.
> Thank you for helping us make Apache NetBeans better!
> The View Data button gave this UI-log:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4869) found a bug

2020-10-08 Thread Jira


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

Matthias Bläsing updated NETBEANS-4869:
---
Priority: Major  (was: Blocker)

> found a bug
> ---
>
> Key: NETBEANS-4869
> URL: https://issues.apache.org/jira/browse/NETBEANS-4869
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.3
> Environment: MacOSX 10.11.6 MacBook
>Reporter: Mark Broekman
>Priority: Major
> Attachments: gestures.txt
>
>
> I'm new and Netbeans gave the message: You found a bug in the application! 
> Please help Apache NetBeans by reporting this problem to our bug tracking 
> system. Click View Data button, copy the exception and submit it together 
> with detailed information about what you were trying to achieve before the 
> problem occurred in JIRA.
> Thank you for helping us make Apache NetBeans better!
> The View Data button gave this UI-log:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4869) found a bug

2020-10-08 Thread Jira


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

Matthias Bläsing updated NETBEANS-4869:
---
Component/s: (was: java - FindBugs)
 (was: editor - Painting & Printing)
 java - Compiler

> found a bug
> ---
>
> Key: NETBEANS-4869
> URL: https://issues.apache.org/jira/browse/NETBEANS-4869
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 11.3
> Environment: MacOSX 10.11.6 MacBook
>Reporter: Mark Broekman
>Priority: Blocker
> Attachments: gestures.txt
>
>
> I'm new and Netbeans gave the message: You found a bug in the application! 
> Please help Apache NetBeans by reporting this problem to our bug tracking 
> system. Click View Data button, copy the exception and submit it together 
> with detailed information about what you were trying to achieve before the 
> problem occurred in JIRA.
> Thank you for helping us make Apache NetBeans better!
> The View Data button gave this UI-log:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4885) "Improved" Gradle SubProjectDetection breaks maven projects

2020-10-08 Thread Jira
Matthias Bläsing created NETBEANS-4885:
--

 Summary: "Improved" Gradle SubProjectDetection breaks maven 
projects
 Key: NETBEANS-4885
 URL: https://issues.apache.org/jira/browse/NETBEANS-4885
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Gradle
Affects Versions: Next
Reporter: Matthias Bläsing
Assignee: Laszlo Kishalmi
 Attachments: Bildschirmfoto_2020-10-08_21-45-32.png, 
Bildschirmfoto_2020-10-08_22-01-17.png, test-proj.zip

I build netbeans from master (9f2b595df801547c53292952199609ff3ab9ec99) - this 
causes maven projects to be recognized as gradle projects (see test-proj.zip 
for a sample). NetBeans is started with clean userdir and cachedir:

bin/netbeans-dev/bin/netbeans --userdir test-user --cachedir test-cache

The project is opened (I run on JDK 11 and did not install nbjavac):

!Bildschirmfoto_2020-10-08_22-01-17.png!

I reverted c43ee9b5091e16ccd0adfeeb50ebaa0e45be0799 ("[NETBEANS-4867] Fix 
inconsistent Gradle SubProject Detection (#2411)") locally and this restores 
behavior to normal:

!Bildschirmfoto_2020-10-08_21-45-32.png!

Something in the referenced commits is to eager to recognize gradle projects.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Resolved] (NETBEANS-4845) javaee.wildfly cannot be built without access to network

2020-10-08 Thread Jaroslav Tulach (Jira)


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

Jaroslav Tulach resolved NETBEANS-4845.
---
Fix Version/s: 12.2
   Resolution: Fixed

Fixed by [~matthiasblaesing] in https://github.com/apache/netbeans/pull/2417 

> javaee.wildfly cannot be built without access to network
> 
>
> Key: NETBEANS-4845
> URL: https://issues.apache.org/jira/browse/NETBEANS-4845
> Project: NetBeans
>  Issue Type: Bug
>  Components: serverplugins - WildFly
>Affects Versions: 12.0, 12.1
>Reporter: Jaroslav Tulach
>Assignee: Emmanuel Hugonnet
>Priority: Blocker
> Fix For: 12.2
>
>
> Hello Emmanuel,
> as noted 
> [PR-2000|https://github.com/apache/netbeans/pull/2000#issuecomment-675890873] 
> I have troubles building *wildfly* support behind corporate proxy. Probably 
> the goal of "Removing external downloads and updating schemas" wasn't fully 
> fulfilled. My proxy says that 
> [http://java.sun.com/xml/ns/javaee/javaee_6.xsd] doesn't exists. When I 
> replace:
> {code:java}
> --- 
> a/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/jboss-common_6_0_1.xsd
> +++ 
> b/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/jboss-common_6_0_1.xsd
> @@ -61,7 +61,7 @@
>  consistency with the Servlet API. 
>  
>  
> - http://java.sun.com/xml/ns/javaee; 
> schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_6.xsd"/>
> + http://java.sun.com/xml/ns/javaee; 
> schemaLocation="javaee_6.xsd"/>
>  
>  
>   {code}
> Then my build succeeds. Btw. I did a grep and there are more places that 
> would deserve replacement:
> {code:java}
> netbeans$ grep -r xsd.import.*namespace enterprise/javaee.wildfly/src/
> enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_6.xsd:
>  http://www.w3.org/XML/1998/namespace;
> enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/jboss-web_14_1.xsd:
>  http://xmlns.jcp.org/xml/ns/javaee; 
> schemaLocation="http://www.jboss.org/schema/jbossas/web-app_4_0.xsd"/>
> enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/jboss-common_6_0_1.xsd:
>  http://java.sun.com/xml/ns/javaee; 
> schemaLocation="javaee_6.xsd"/>
> enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/jboss-common_8_1.xsd:
>  http://xmlns.jcp.org/xml/ns/javaee; 
> schemaLocation="http://www.jboss.org/schema/jbossas/javaee_8.xsd"/>
> enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd:
>  http://www.w3.org/XML/1998/namespace;
> enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/jboss-web_7_3_1.xsd:
>  http://java.sun.com/xml/ns/javaee; 
> schemaLocation="http://www.jboss.org/schema/jbossas/web-app_3_0.xsd"/>
> {code}
> however when I tried to replace the other, I got missing file errors like 
> {{FileNotFoundException: 
> netbeans/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/web-common_4_0.xsd}}
>  - I guess there are additional transitive dependencies that need to be 
> fixed. As such I decided to leave a note here rather than fixing just the one 
> xsd file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-4884) Test cases failing for modules java.source.base and java.editor with JDK15

2020-10-08 Thread SARILLA MOHANARAO (Jira)
SARILLA MOHANARAO created NETBEANS-4884:
---

 Summary: Test cases failing for modules java.source.base and 
java.editor with JDK15
 Key: NETBEANS-4884
 URL: https://issues.apache.org/jira/browse/NETBEANS-4884
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
Reporter: SARILLA MOHANARAO
 Fix For: Next


Tried running test cases of modules java.source.base and java.editor with 
JDK15, Found few test cases are failing, Below are the test cases:

*java.source.base*

   [junit] Testcase: 
testRecord1(org.netbeans.modules.java.source.save.FormatingTest): FAILED
[junit] Testcase: 
testRecord2(org.netbeans.modules.java.source.save.FormatingTest): FAILED
 
*java.editor*
 [junit] Testcase: 
testRecords1(org.netbeans.modules.editor.java.GoToSupportTest):   FAILED
[junit] Testcase: 
testRecords2(org.netbeans.modules.editor.java.GoToSupportTest):   Caused an 
ERROR
[junit] Testcase: 
testRecords3(org.netbeans.modules.editor.java.GoToSupportTest):   Caused an 
ERROR



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-4881) Automatically detect & list Payara Server version in the server registration panel

2020-10-08 Thread Gaurav Gupta (Jira)


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

Gaurav Gupta updated NETBEANS-4881:
---
Summary: Automatically detect & list Payara Server version in the server 
registration panel  (was: Automatically detect & list Payara Server version 
from Apache NetBeans IDE)

> Automatically detect & list Payara Server version in the server registration 
> panel
> --
>
> Key: NETBEANS-4881
> URL: https://issues.apache.org/jira/browse/NETBEANS-4881
> Project: NetBeans
>  Issue Type: New Feature
>  Components: serverplugins - Code
>Affects Versions: 12.1
>Reporter: Gaurav Gupta
>Assignee: Gaurav Gupta
>Priority: Major
>
> Currently, Payara Server versions are manually updated after each release of 
> the Payara Server in Apache NetBeans Payara tools, with this feature a 
> regular version upgrade of the Payara Server will not be required as Payara 
> Server is now released on a monthly timeframe and Apache NetBeans on the 
> quarterly timeframe, list of Payara Platform version will be fetched from 
> [https://repo1.maven.org/maven2/fish/payara/distributions/payara/maven-metadata.xml].
> Metadata XML only contains the list of Payara Server Community artifact 
> versions which will be listed (except Beta and Alpha version) in the download 
> combo-box during the registration of the Payara Server in the Apache NetBeans.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[netbeans] branch master updated (5b96857 -> 9f2b595)

2020-10-08 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 5b96857  Merge pull request #2424 from sdedic/sdedic/modularizing2
 new a17d182  Add ant task to display generated Javadoc
 new 5797de5  Update README.md
 new 9f2b595  Merge pull request #2419 from hectorespert/show-javadoc

The 4455 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md | 9 +
 nbbuild/build.xml | 4 
 2 files changed, 13 insertions(+)


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

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



[netbeans] branch master updated (794e55a -> 5b96857)

2020-10-08 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from 794e55a  [NETBEANS-4832] Avoid assertion & NPE in fxml code completion 
(#2399)
 new f1616eb  Removed dependencies to pre65 formatting from Java, 
java.editor.lib remains for older code.
 new 3fadff6  Deprecated unused java folding; package depends on pre-6.5 
APIs.
 new 0b25953  Cleaned references to BaseDocument from APIs, old methods 
deprecated.
 new 580d925  Webpage content MIME type query moved to web.common.
 new dce0544  HtmlIndex API separated, release mods updated not to use 
auto-deps.
 new bab0ace  Javascript HTML support separated.
 new adf33ac  Headless mode fixes.
 new a273209  Always call LoadOpenProjects.waitFinished to ensure the 
loading of project is started
 new 6d8108b  Missing parameter means stdio; cleanup
 new 5b96857  Merge pull request #2424 from sdedic/sdedic/modularizing2

The 4452 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 enterprise/j2ee.common/nbproject/project.xml   |   9 --
 enterprise/j2ee.ejbcore/nbproject/project.xml  |   9 --
 .../j2ee.ejbjarproject/nbproject/project.xml   |   9 --
 enterprise/web.core.syntax/nbproject/project.xml   |   2 +-
 enterprise/web.el/nbproject/project.xml|   9 --
 enterprise/web.jsf.editor/nbproject/project.xml|   3 +-
 .../web/jsf/editor/InjectCompositeComponent.java   |   4 +-
 enterprise/web.jsf/nbproject/project.xml   |   2 +-
 enterprise/web.struts/nbproject/project.xml|   9 --
 enterprise/websvc.core/nbproject/project.xml   |   9 --
 groovy/groovy.gsp/nbproject/project.xml|   2 +-
 ide/csl.api/apichanges.xml |  25 +++
 ide/csl.api/nbproject/project.properties   |   2 +-
 .../modules/csl/api/AbstractCamelCasePosition.java |   9 +-
 .../modules/csl/api/CamelCaseOperations.java   |  28 ++--
 .../src/org/netbeans/modules/csl/api/EditList.java |  52 ++-
 .../modules/csl/api/GoToDeclarationAction.java |   3 +-
 .../modules/csl/api/InstantRenameAction.java   |   8 +-
 .../modules/csl/api/SelectCodeElementAction.java   |   4 +-
 .../modules/csl/api/ToggleBlockCommentAction.java  |  97 ++--
 .../netbeans/modules/csl/core/GsfIndentTask.java   |   4 +-
 .../modules/csl/core/LanguageRegistry.java |  47 +++---
 .../netbeans/modules/csl/spi/CommentHandler.java   |   9 +-
 .../org/netbeans/modules/csl/spi/GsfUtilities.java | 111 -
 .../netbeans/modules/csl/api/test/CslTestBase.java |  38 +++--
 ide/css.editor/nbproject/project.xml   |   1 +
 ide/css.lib/nbproject/project.xml  |   1 +
 ide/css.visual/nbproject/project.xml   |   2 +-
 .../css/visual/actions/EditCSSRulesNodeAction.java |   9 +-
 .../modules/editor/lib2/EditorPreferencesKeys.java |   6 -
 ide/html.custom/nbproject/project.xml  |   2 +-
 ide/html.editor.lib/nbproject/project.xml  |   1 +
 .../modules/html/editor/lib/XmlSTElements.java |   2 -
 ide/html.editor/manifest.mf|   2 +-
 ide/html.editor/module-auto-deps.xml   |  39 +
 ide/html.editor/nbproject/project.xml  |  14 +-
 .../modules/html/editor/HtmlErrorFilter.java   |  13 +-
 .../modules/html/editor/HtmlExtensions.java|   4 +-
 .../modules/html/editor/HtmlSourceUtils.java   |  17 +-
 .../netbeans/modules/html/editor/api/Utils.java|  10 +-
 .../editor/api/completion/HtmlCompletionItem.java  |   8 +-
 .../html/editor/api/gsf/HtmlParserResult.java  |  29 +++-
 .../editor/completion/HtmlCompletionQuery.java |   3 +-
 .../html/editor/gsf/HtmlDeclarationFinder.java |   4 +-
 .../html/editor/gsf/HtmlSemanticAnalyzer.java  |   4 +-
 .../html/editor/hints/HtmlHintsProvider.java   |  20 +--
 .../editor/hints/css/AddStylesheetLinkHintFix.java |   7 +-
 .../editor/hints/css/CreateRuleInStylesheet.java   |   6 +-
 .../modules/html/editor/indexing/Entry.java|   6 +-
 .../html/editor/indexing/HtmlFileModel.java|  18 ++-
 .../modules/html/editor/indexing/HtmlIndexer.java  |   8 +-
 .../html/editor/indexing/HtmlLinkEntry.java|  12 +-
 .../ExtractInlinedStyleRefactoringPlugin.java  |   8 +-
 ide/html.indexing/build.xml|  25 +++
 ide/html.indexing/manifest.mf  |   6 +
 .../nbproject/project.properties   |   9 +-
 .../html.indexing}/nbproject/project.xml   |  62 ++--
 .../modules/html/editor/api/index/HtmlIndex.java   |  29 +++-
 .../modules/html/indexing/Bundle.properties|   8 +-
 .../html/indexing}/DependentFileQueryImpl.java |   2 +-