Re: [PR] Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.1 [netbeans-mavenutils-nbm-maven-plugin]
mbien commented on PR #165: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/165#issuecomment-2073976763 good bot! -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.1 [netbeans-mavenutils-nbm-maven-plugin]
dependabot[bot] commented on PR #165: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/165#issuecomment-2073976372 OK, I won't notify you about version 4.x.x again, unless you re-open this PR. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.1 [netbeans-mavenutils-nbm-maven-plugin]
dependabot[bot] closed pull request #165: Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.1 URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/165 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.1 [netbeans-mavenutils-nbm-maven-plugin]
mbien commented on PR #165: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/165#issuecomment-2073976339 @dependabot ignore this major version -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.1 [netbeans-mavenutils-nbm-maven-plugin]
mbien merged PR #168: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/168 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.5.3 [netbeans-mavenutils-nbm-maven-plugin]
mbien merged PR #169: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/169 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.5.3 [netbeans-mavenutils-nbm-maven-plugin]
mbien commented on PR #169: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/169#issuecomment-2073968710 > [MSHADE-470] Bump asmVersion from 9.6 to 9.7 `maven-shade-plugin` is yet another plugin which uses asm. good to know. But that is less problematic since it is build time only. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[PR] Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.2 to 3.5.3 [netbeans-mavenutils-nbm-maven-plugin]
dependabot[bot] opened a new pull request, #169: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/169 Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.5.2 to 3.5.3. Commits https://github.com/apache/maven-shade-plugin/commit/19618cde0df300251dfd49bb5a043e31b8dfe8c0";>19618cd [maven-release-plugin] prepare release maven-shade-plugin-3.5.3 https://github.com/apache/maven-shade-plugin/commit/faf233e315c7d8876a9714e15f3427429de0f9dd";>faf233e [MSHADE-472] upgrade parent POM https://github.com/apache/maven-shade-plugin/commit/7de9ae718876c5b1a9808726c8ad1e101aa5db0d";>7de9ae7 [MSHADE-471] deal with DST https://github.com/apache/maven-shade-plugin/commit/58d8cfe097f995a944c922552afcc14e68eec51b";>58d8cfe [MSHADE-470] Bump asmVersion from 9.6 to 9.7 (https://redirect.github.com/apache/maven-shade-plugin/issues/218";>#218) https://github.com/apache/maven-shade-plugin/commit/90745827b50e1323674e5bc7c1ccdeeddf87afd1";>9074582 Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.1 https://github.com/apache/maven-shade-plugin/commit/a8030f829180f50d4497e42e212a891ec595a059";>a8030f8 Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0 (https://redirect.github.com/apache/maven-shade-plugin/issues/215";>#215) https://github.com/apache/maven-shade-plugin/commit/1218bdcc8d2d2d8c94c46a771efb66ba1f209eee";>1218bdc [maven-release-plugin] prepare for next development iteration See full diff in https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.5.2...maven-shade-plugin-3.5.3";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-shade-plugin&package-manager=maven&previous-version=3.5.2&new-version=3.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] [NB21] java.lang.NoClassDefFoundError: com/google/auto/service/AutoService [netbeans]
mbien commented on issue #7328: URL: https://github.com/apache/netbeans/issues/7328#issuecomment-2073922372 How do you run the annotation processor? Anything special there? I couldn't reproduce it either, no exceptions even without the dependency. ```java package dev.mbien.mavenproject1; import com.google.auto.service.AutoService; public class Mavenproject1 { public interface FooService { String translate(String message); } @AutoService(FooService.class) public class FooServiceProvider implements FooService { @Override public String translate(String message) { return null; } } } ``` ```xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 dev.mbien mavenproject1 0.1-SNAPSHOT jar UTF-8 dev.mbien.mavenproject1.Mavenproject1 21 ``` -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] NB21 Java, Goto Declaration no longer working [netbeans]
mbien commented on issue #7327: URL: https://github.com/apache/netbeans/issues/7327#issuecomment-2073895794 Is the dependency you want to jump to accessible to netbeans? For example if it is another project, is that project open too? What happens if you create a fresh hello world project and try to use the go-to action there? Anything in the log? -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Wrong address with latest version from dialog Unexpected exception [netbeans]
mbien closed issue #7224: Wrong address with latest version from dialog Unexpected exception URL: https://github.com/apache/netbeans/issues/7224 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Fixed some static code analyzer warnings [netbeans]
mbien commented on PR #7284: URL: https://github.com/apache/netbeans/pull/7284#issuecomment-2073843985 removed the two unused `getHeight()` methods of the `MethodParamsTipPaintComponent` copies (instead of attempting to fix them), and rebased onto latest delivery. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Fixed some static code analyzer warnings [netbeans]
mbien commented on code in PR #7284: URL: https://github.com/apache/netbeans/pull/7284#discussion_r1575699480 ## java/java.editor/src/org/netbeans/modules/editor/java/MethodParamsTipPaintComponent.java: ## @@ -135,8 +135,8 @@ protected int getWidth(String s, Font font) { } protected int getHeight(String s, Font font) { -if (font == null) return fontMetrics.stringWidth(s); -return getFontMetrics(font).stringWidth(s); +if (font == null) return fontMetrics.getHeight(); +return getFontMetrics(font).getHeight(); } Review Comment: same here, 90% of the file is still identical to the other `MethodParamsTipPaintComponent.java` -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[I] [NB21] java.lang.NoClassDefFoundError: com/google/auto/service/AutoService [netbeans]
ctabin opened a new issue, #7328: URL: https://github.com/apache/netbeans/issues/7328 ### Apache NetBeans version Apache NetBeans 21 ### What happened Hi, Since recently, when I open my project (multi-module project Java with maven 3.9.6), Netbeans shows the following Exception ``` Annotation: An error occurred during parsing of '/home/myhome/File.java'. Please report a bug against java/source and attach dump file '...'. An error occurred during parsing of '/home/myhome/File.java'. Please report a bug against java/source and attach dump file '...'. Caused by: com.sun.tools.javac.processing.AnnotationProcessingError: java.lang.NoClassDefFoundError: com/google/auto/service/AutoService at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:738) at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:818) at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:912) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2300(JavacProcessingEnvironment.java:113) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1255) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1370) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1272) at org.netbeans.lib.nbjavac.services.NBJavaCompiler.processAnnotations(NBJavaCompiler.java:64) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1171) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:348) at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:282) at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:742) at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:536) at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:140) at org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608) at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:241) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035) Caused by: java.lang.NoClassDefFoundError: com/google/auto/service/AutoService at com.google.auto.service.processor.AutoServiceProcessor.getSupportedAnnotationTypes(AutoServiceProcessor.java:89) at com.google.auto.service.processor.AutoServiceProcessor.getSupportedAnnotationTypes(AutoServiceProcessor.java:69) at org.netbeans.modules.java.source.indexing.APTUtils$ErrorToleratingProcessor.getSupportedAnnotationTypes(APTUtils.java:980) at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.(JavacProcessingEnvironment.java:700) ... 25 more Caused by: java.lang.ClassNotFoundException: com.google.auto.service.AutoService ... 29 more ``` This makes Netbeans stop working: - no more highlight of variable - no more code navigation - no more intellisence Note that my java file is a simple POJOs with nothing special in there. I also tried other classes: the same problem arise. Here is what I tried: - closing the whole project and reopen it - change project group and come back - remove the dir `~/.netbeans/21` to clear up any cache - tried to add the google auto-service to my `pom.xml` - reloading the pom in my project Anyways, the error still arise and prevents me to work smoothly. ### Language / Project Type / NetBeans Component Java Maven Project ### How to reproduce I don't know how to reproduce it. All was working smoothly till now and nothing special changed. The only thing I can guess is that I just pulled out the project (and there was multiple library updates in the main pom.xml
Re: [I] .gitignore rules evaluated incorrectly [netbeans]
pressing-buttons commented on issue #7319: URL: https://github.com/apache/netbeans/issues/7319#issuecomment-2073075894 Hmm, strange. I wonder why the files aren't ignored when I change them from the command line. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[I] NB21 Java, Goto Declaration no longer working [netbeans]
hbitteur opened a new issue, #7327: URL: https://github.com/apache/netbeans/issues/7327 ### Apache NetBeans version Apache NetBeans 21 ### What happened CTRL + left click on a Java element (field, function, ...) used to move to the statement where this element is declared. CTRL + B used to provide the same behavior on the current item. This no longer works with Netbeans 21 ### Language / Project Type / NetBeans Component Java Gradle project ### How to reproduce Select any item in a Java source code ### Did this work correctly in an earlier version? Apache NetBeans 20 ### Operating System Windows 10 x86_64 ### JDK java version "21.0.2" 2024-01-16 LTS Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58) Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing) ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else Always ### Are you willing to submit a pull request? No -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[I] Formatting Issue - Wrapping for Java 21 Style Switch Cases that have Arrows [netbeans]
mrj760 opened a new issue, #7326: URL: https://github.com/apache/netbeans/issues/7326 ### Apache NetBeans version Apache NetBeans 21 ### What happened Issue with Options -> Formatting -> Java -> Wrapping. Options set to Case Statements: Never Lambda Arrow: Never Yet when using auto-format on the following, it turns into the next example. ``` var foo = switch(type) { case NORTH -> "Santa Claus"; case SOUTH -> "Scientist"; default -> "Agent Smith"; } ``` Turns to: ``` var foo = switch(type) { case NORTH -> "Santa Claus"; case SOUTH -> "Scientist"; default -> "Agent Smith"; } ``` ### Language / Project Type / NetBeans Component Java Maven Project ### How to reproduce ![image](https://github.com/apache/netbeans/assets/47433460/20f70ac8-9ff8-425a-9bd9-55b9bbc25090) ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 10 ### JDK jdk-21 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] .gitignore rules evaluated incorrectly [netbeans]
neilcsmith-net commented on issue #7319: URL: https://github.com/apache/netbeans/issues/7319#issuecomment-2072851757 Just came to say same thing! You likely need to use a second negate pattern with an end slash to get the desired behaviour. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] try to proper redirect download [netbeans-antora]
ebarboni merged PR #16: URL: https://github.com/apache/netbeans-antora/pull/16 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] try to proper redirect download [netbeans-antora]
ebarboni commented on PR #16: URL: https://github.com/apache/netbeans-antora/pull/16#issuecomment-2072848076 I will let that in. url may be complex but better than 404 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] .gitignore rules evaluated incorrectly [netbeans]
mbien commented on issue #7319: URL: https://github.com/apache/netbeans/issues/7319#issuecomment-2072841756 > According to the git documentation **/*out* should only exclude files, not directories (that would require a / at the end of the expression). quote from the doc: "If there is a separator at the end of the pattern then the pattern will only match directories, **otherwise the pattern can match both files and directories**." https://git-scm.com/docs/gitignore -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] .gitignore rules evaluated incorrectly [netbeans]
pressing-buttons commented on issue #7319: URL: https://github.com/apache/netbeans/issues/7319#issuecomment-2072819818 According to the git documentation `**/*out*` should **only** exclude files, not directories (that would require a `/` at the end of the expression). I can modify and commit the files inside the directory without problems through git on the command line, so they are clearly not ignored. I expected NetBeans to **not** display them as ignored files. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[PR] Sync delivery to master after 22-rc2 [netbeans]
ebarboni opened a new pull request, #7325: URL: https://github.com/apache/netbeans/pull/7325 (no comment) -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[PR] Sync delivery to release220 for 13-rc2 [netbeans]
ebarboni opened a new pull request, #7324: URL: https://github.com/apache/netbeans/pull/7324 (no comment) -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Import local schema to avoid DNS lookup in build [netbeans]
ebarboni merged PR #7283: URL: https://github.com/apache/netbeans/pull/7283 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Micronaut: Method parameters should be resolvable in expression language [netbeans]
dbalek merged PR #7316: URL: https://github.com/apache/netbeans/pull/7316 -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[I] NB 21 (and 20 too) focused profiler does not works with project source level > 11 [netbeans]
agharta opened a new issue, #7323: URL: https://github.com/apache/netbeans/issues/7323 ### Apache NetBeans version Apache NetBeans 21 ### What happened The focused (instrumented) profiler over selected classes & selected methods does not works with source level > 11 (tested with 17 & 21). No profiler data is collected, no threads are catched by profiler tool. General (sampled) profiler works fine. ### Language / Project Type / NetBeans Component Java (ant or maven tested) based application ### How to reproduce Create a sample application (eg: anagram game in NB Ant samples) with NB 21 (or 20) and installed JDK >= 17 (I've tested the problem with both 17 and 21). Keep (in case of anagram game) source level to 8, run profiler in "methods" mode, go to "focused (instrumented) mode" and select "selected classes" or "selected methods" to profile. Profile (run) project. Invoke the profiled selected class or method: you can see collected data in profiler. The running thread is catched and profiled. Switch source level to 11 and run the same steps with the profiler: all fine. Finally, repeat the same steps with source level to 11 or 21: failed! No classes/methods will be profiled and profiler cannot find any thread in thread selection. Some screenshots about settings: ![image](https://github.com/apache/netbeans/assets/5734834/2a666b76-9755-486b-afa1-49897769cbbd) ![image](https://github.com/apache/netbeans/assets/5734834/b089f863-975c-45b7-93aa-e550bf9dff38) ![image](https://github.com/apache/netbeans/assets/5734834/345eff1d-4348-4464-91ca-b69066504556) ### Did this work correctly in an earlier version? Apache NetBeans 16 or earlier ### Operating System FEDORA 39 ### JDK OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9, mixed mode, sharing) ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else Tested with vanilla NB 20 & 21: no customization & no external plugins. Tested with vanilla Fedora 39 builtin rpm java (17 & 21) packages too. Tested with external (Oracle, Adoptium) JDKs. The problem seems related to the inability of profiler to catch the running thread (IMHO). ### Are you willing to submit a pull request? No -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[I] PHP parser shows error when calling functions from const [netbeans]
terax6669 opened a new issue, #7322: URL: https://github.com/apache/netbeans/issues/7322 ### Apache NetBeans version Apache NetBeans 21 ### What happened Valid PHP code shows error: ![image](https://github.com/apache/netbeans/assets/19204073/26b277a2-b0b7-45e2-a1e1-1bcf7fd7889f) ### Language / Project Type / NetBeans Component PHP ### How to reproduce ```php 'is_bool', ]; private function verifyTypes(string $type, mixed $value, array &$invalidTypes, int $level = 0): bool { return isset(self::VALIDATION_FUNCTIONS[$type]) ? self::VALIDATION_FUNCTIONS[$type]($value) : $value instanceof $type; } } ``` ### Did this work correctly in an earlier version? No / Don't know ### Operating System macOS 14.4.1 ### JDK openjdk version "21.0.2" 2024-01-16 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Option + Shift + [Key] shortcuts problem on macOS [netbeans]
terax6669 commented on issue #7240: URL: https://github.com/apache/netbeans/issues/7240#issuecomment-2071954095 Trying to add a keybind for cmd+q quit NetBeans... maybe this is expected, but IMO when adding a keybind it should capture all input on the highest level (if possible, I know macOS has some system-level binds). Trying to add a keybind for `Ctrl+H` results in `Ctrl+BACK_SPACE`. Trying to add a keybind for `Ctrl+J` results in `Ctrl+ENTER`. It's a mess, hard to customize anything at all. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [PR] Micronaut: Method parameters should be resolvable in expression language [netbeans]
lahodaj commented on code in PR #7316: URL: https://github.com/apache/netbeans/pull/7316#discussion_r1575996846 ## enterprise/micronaut/src/org/netbeans/modules/micronaut/expression/ExpressionTree.java: ## @@ -564,42 +565,44 @@ public R accept(Scanner scanner, D data) { @Override protected void resolve(EvaluationContext ctx) { -List methods = null; +List elements = null; DeclaredType dt = null; if (callee == null) { -methods = ctx.getContextMethods(); +elements = ctx.getContextElements(); } else { TypeMirror calleeTM = callee.getTypeMirror(ctx); if (calleeTM.getKind() == TypeKind.DECLARED) { dt = (DeclaredType) calleeTM; -methods = ElementFilter.methodsIn(((TypeElement) dt.asElement()).getEnclosedElements()); +elements = ElementFilter.methodsIn(((TypeElement) dt.asElement()).getEnclosedElements()); } } -if (methods != null && !methods.isEmpty()) { +if (elements != null && !elements.isEmpty()) { List argTypes = arguments.stream().map(arg -> arg.getTypeMirror(ctx)).collect(Collectors.toList()); -for (ExecutableElement ee : methods) { -TypeMirror enclType = dt != null ? dt : ee.getEnclosingElement().asType(); -if (enclType.getKind() == TypeKind.DECLARED && identifier.contentEquals(ee.getSimpleName()) && ctx.getTrees().isAccessible(ctx.getScope(), ee, (DeclaredType) enclType)) { -ExecutableType et = (ExecutableType) ctx.getTypes().asMemberOf((DeclaredType) enclType, ee); -List paramTypes = et.getParameterTypes(); -if (ee.isVarArgs() && argTypes.size() >= paramTypes.size() || argTypes.size() == paramTypes.size()) { -boolean match = true; -Iterator paramsIt = paramTypes.iterator(); -TypeMirror param = paramsIt.hasNext() ? paramsIt.next() : null; -for (Iterator argsIt = argTypes.iterator(); match && argsIt.hasNext();) { -TypeMirror arg = argsIt.next(); -if (!ctx.getTypes().isAssignable(arg, param)) { -match = false; +for (Element e : elements) { Review Comment: FWIW - might be easier to use `ElementsFilter.methodsIn`. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists