JaroslavTulach opened a new pull request #2757:
URL: https://github.com/apache/netbeans/pull/2757


   Gregor Kováč [reported problems on subsequent start of 
VSNetBeans](https://lists.apache.org/thread.html/r07d0861858590e3a047d284d1443b8794912f4caeb231a3de19efedc%40%3Cusers.netbeans.apache.org%3E)
 and we have tracked down the problem to autoupdate!
   
   There is `updatecenters` module in VSNetBeans since 90d2af9 - it is needed 
to install `nbjavac` on JDK8. However it also provides other update centers.
   
   There is code checking whether Apache NetBeans `java.lsp.server` module is 
properly started. It [uses a 
regexp](https://github.com/apache/netbeans/blob/master/java/java.lsp.server/vscode/src/extension.ts#L350)
 to parse the output and searches for:
   
   ```ts
   stdOut.match(/org.netbeans.modules.java.lsp.server.*Enabled/)
   ```
   
   However, since recently there has been a release of updates and the output 
now says:
   ```
   org.netbeans.modules.java.lsp.server 1.6.1.1.1.12.1.17.32.5.2.1.1.1.13 
   Upgrade to 1.7.0.1.1.12.1.17.32.5.2.1.1.1.13
   ```
   
   the existing regexp doesn't match this output and as such VSCode never 
connects to the Apache NetBeans LSP server now!
   
   This PR disables the other update centers. It should also change the regexp, 
I guess.


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to