[jira] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485613#comment-17485613 ] Jean-Marc Borer commented on NETBEANS-5292: --- [~taps] Ok, but then it should be clearly stated. It is not according to https://netbeans.apache.org/download/nb126/nb126.html > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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: Application deployment support to locally running Payara Server docker container (#3330)
This is an automated email from the ASF dual-hosted git repository. jgauravgupta 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 8774f8d Application deployment support to locally running Payara Server docker container (#3330) 8774f8d is described below commit 8774f8d75a938de684f44d20133951e75323f245 Author: Gaurav Gupta AuthorDate: Wed Feb 2 12:19:15 2022 +0530 Application deployment support to locally running Payara Server docker container (#3330) * FISH-511 Web Application deployment support to locally running Payara Server docker container * FISH-511 Javadoc format fix --- .../modules/payara/common/CommonServerSupport.java | 13 +- .../modules/payara/common/PayaraInstance.java | 83 - .../modules/payara/common/ui/Bundle.properties | 8 +- .../modules/payara/common/ui/InstancePanel.form| 87 ++ .../modules/payara/common/ui/InstancePanel.java| 103 .../common/wizards/AddDomainLocationPanel.java | 3 + .../wizards/AddDomainLocationVisualPanel.form | 97 --- .../wizards/AddDomainLocationVisualPanel.java | 132 +++-- .../payara/common/wizards/Bundle.properties| 5 + .../common/wizards/ServerWizardIterator.java | 36 +- .../netbeans/modules/payara/spi/PayaraModule.java | 3 + .../payara/jakartaee/Hk2DeploymentManager.java | 16 ++- .../payara/jakartaee/Hk2OptionalFactory.java | 2 +- .../org-netbeans-modules-payara-tooling.sig| 6 + .../payara/tooling/admin/RunnerHttpDeploy.java | 17 ++- .../modules/payara/tooling/data/PayaraServer.java | 22 .../payara/tooling/data/PayaraServerEntity.java| 39 ++ 17 files changed, 568 insertions(+), 104 deletions(-) diff --git a/enterprise/payara.common/src/org/netbeans/modules/payara/common/CommonServerSupport.java b/enterprise/payara.common/src/org/netbeans/modules/payara/common/CommonServerSupport.java index ef917a0..cc4746e 100644 --- a/enterprise/payara.common/src/org/netbeans/modules/payara/common/CommonServerSupport.java +++ b/enterprise/payara.common/src/org/netbeans/modules/payara/common/CommonServerSupport.java @@ -36,6 +36,8 @@ import java.io.File; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socket; +import java.nio.file.Path; +import java.nio.file.Paths; import java.util.*; import java.util.Map.Entry; import java.util.concurrent.*; @@ -1147,7 +1149,16 @@ public class CommonServerSupport } if (path.startsWith("file:")) { // NOI18N path = path.substring(5); -path = (new File(path)).getAbsolutePath(); +if (getInstance().isDocker() +&& getInstance().getHostPath() != null +&& !getInstance().getHostPath().isEmpty() +&& getInstance().getContainerPath() != null +&& !getInstance().getContainerPath().isEmpty()) { +Path relativePath = Paths.get(getInstance().getContainerPath()).relativize(Paths.get(path)); +path = Paths.get(getInstance().getHostPath(), relativePath.toString()).toString(); +} else { +path = (new File(path)).getAbsolutePath(); +} } String enabledKey = "servers.server.server.application-ref." diff --git a/enterprise/payara.common/src/org/netbeans/modules/payara/common/PayaraInstance.java b/enterprise/payara.common/src/org/netbeans/modules/payara/common/PayaraInstance.java index 8f73e3d..84f45ac 100644 --- a/enterprise/payara.common/src/org/netbeans/modules/payara/common/PayaraInstance.java +++ b/enterprise/payara.common/src/org/netbeans/modules/payara/common/PayaraInstance.java @@ -354,11 +354,25 @@ public class PayaraInstance implements ServerInstanceImplementation, } } +@Deprecated +public static PayaraInstance create(String displayName, +String installRoot, String payaraRoot, String domainsDir, +String domainName, int httpPort, int adminPort, +String userName, String password, String target, String url, +PayaraInstanceProvider pip) { +return create(displayName, +installRoot, payaraRoot, domainsDir, +domainName, httpPort, adminPort, +userName, password, +false, null, null, +target, url, +pip); +} + /** - * Creates a PayaraInstance object for a server installation. This + * Creates a PayaraInstance object for a server installation.This * instance should be added to the the provider registry if the caller wants - * it
[jira] [Updated] (NETBEANS-6177) Netbeans not send STOP command to xdebug
[ https://issues.apache.org/jira/browse/NETBEANS-6177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6177: - Labels: pull-request-available (was: ) > Netbeans not send STOP command to xdebug > > > Key: NETBEANS-6177 > URL: https://issues.apache.org/jira/browse/NETBEANS-6177 > Project: NetBeans > Issue Type: Bug > Components: php - Debugger >Affects Versions: 12.3, 12.4, 12.5, 12.6 > Environment: PHP 8.0.12 (cli) (built: Oct 22 2021 12:34:48) ( NTS ) > Copyright (c) The PHP Group > Zend Engine v4.0.12, Copyright (c) Zend Technologies > with Zend OPcache v8.0.12, Copyright (c), by Zend Technologies > with Xdebug v3.1.1, Copyright (c) 2002-2021, by Derick Rethans >Reporter: Joseph Marques >Assignee: Junichi Yamamoto >Priority: Minor > Labels: pull-request-available > Attachments: xdebug-netbeans-12.2.log, xdebug-netbeans-12.5.log > > Time Spent: 10m > Remaining Estimate: 0h > > Netbeans not sending "stop" command to gdb/xdebug when click on "finish > debbuger session" button while debugging and stopped in breakpoint, so script > continue to the end, ignoring all other breakpoints. > The expected behavior is to stop debbuger immediately when click on "finish > debbuger session" button while stopped on breakpoint. > In netbeans 12.2 it works ok, but when tried on 12.4 and 12.5, this problem > happens. > See attachment logs. > > How to reproduce: with breakpoint setted on "echo" line, while debbuging and > stopped in the breakpoint, click on "Finish Debbuger Session" button: > {code:java} > echo 'exit'; > exit; > {code} > Result: > Expected (Netbeans 12.2): stop without print 'exit' on the console. > Error (Netbeans 12.5): print 'exit' on the console and exit (or execute all > code after echo line if exists). > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-5292) nb-javac is source of several issues
[ https://issues.apache.org/jira/browse/NETBEANS-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485551#comment-17485551 ] Thomas Schapitz commented on NETBEANS-5292: --- [~jmborer] Running on JDK 8 can no longer be supported, starting from NB 12.6, this has been addressed by NETBEANS-6349. The Minimum required JDK is now 11. But I usually recommand to switch directly to 17. > nb-javac is source of several issues > > > Key: NETBEANS-5292 > URL: https://issues.apache.org/jira/browse/NETBEANS-5292 > Project: NetBeans > Issue Type: Bug > Components: java - Compiler, java - Editor, java - Hints, platform - > Action Items >Affects Versions: 11.3, 12.2, 12.4 > Environment: Gradle 6.8.1 > Possibly any JDK version 11 > nb-javac installed >Reporter: Netbeans User 2019 >Priority: Critical > Labels: hints, nbjavac, nbjavac-impl.jar > > There are several issue reporting NullPointerException and in logs even > several related to hints (In context of Tools > Options > Editor > Hints). > So my suggestions are: > 1) to be deactivated all hints and retested with and with and without > nb-javac as seems that many issue like this is connected nb-javac, but It > could be even possible that hints are not revised at all from start and even > it is possible that could be ticked to run by import from prior version of > Netbeans, but it could be unsupported in new version. > 2) turn off of nb-javac does not fix issues like these, because it seems that > that states is ignored and nb-javac is still somehow in use ... so only > option is to uninstalled completely (so to see in notification request for > installation) - so it has to be fixed that if it is inactivated should not be > used > 3) to be added even new feature to reset all Hints to default > 4) seems that even some of such failure (even reported as race condition) > that leads to cases that it is not finished indexing so particular classes > are not index so even not visible by dialog to of types and in java editor is > represented as errors and there is not way to removed that reds, because > there are no way to tell to Apache Netbeans that such class is existing and > it is correct. > 5) "Background scanning of projects..." is even running for minutes with > nb-javac installed > Even if it is not done in minor version I would like to see it in major > version fixed. > To me it seems that nb-javac brings more issue than save -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Closed] (NETBEANS-6347) Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.
[ https://issues.apache.org/jira/browse/NETBEANS-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Schapitz closed NETBEANS-6347. - > Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6. > --- > > Key: NETBEANS-6347 > URL: https://issues.apache.org/jira/browse/NETBEANS-6347 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 12.5, 12.6 >Reporter: Thomas Schapitz >Assignee: Svatopluk Dedic >Priority: Critical > Labels: pull-request-available > Fix For: NB13 > > Attachments: dialog-hint.jpg, image-2021-12-31-10-27-08-275.png, > image-2021-12-31-10-30-58-143.png, image-2022-01-13-19-09-32-623.png, > image-2022-01-13-19-27-19-230.png > > Time Spent: 3.5h > Remaining Estimate: 0h > > The following hardcopy illustrates the problem. > It *is* possible, to add a new definition, but afterwards, it is no longer > possible to maintain values for the goals & profiles, as has been the case up > to version 12.3 > And it isn't possible to activate the definition, it get's created in > disabled state. (Prior to 12.4, it wasn't possible to disable a definition) > Furthermore, at least on Windows 10 / JDK 17, one may observe, that the > alignment of the buttons with the list is botched, as the last one, "Disable" > gets clipped, because the listbox default hight dictates the length. > !image-2021-12-31-10-30-58-143.png! > > This is how it looked like up to 12.3: > !image-2021-12-31-10-27-08-275.png! > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6347) Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.
[ https://issues.apache.org/jira/browse/NETBEANS-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485547#comment-17485547 ] Thomas Schapitz commented on NETBEANS-6347: --- It actually hadn't. This explains it. So I'll close the issue as fixed. > Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6. > --- > > Key: NETBEANS-6347 > URL: https://issues.apache.org/jira/browse/NETBEANS-6347 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 12.5, 12.6 >Reporter: Thomas Schapitz >Assignee: Svatopluk Dedic >Priority: Critical > Labels: pull-request-available > Fix For: NB13 > > Attachments: dialog-hint.jpg, image-2021-12-31-10-27-08-275.png, > image-2021-12-31-10-30-58-143.png, image-2022-01-13-19-09-32-623.png, > image-2022-01-13-19-27-19-230.png > > Time Spent: 3.5h > Remaining Estimate: 0h > > The following hardcopy illustrates the problem. > It *is* possible, to add a new definition, but afterwards, it is no longer > possible to maintain values for the goals & profiles, as has been the case up > to version 12.3 > And it isn't possible to activate the definition, it get's created in > disabled state. (Prior to 12.4, it wasn't possible to disable a definition) > Furthermore, at least on Windows 10 / JDK 17, one may observe, that the > alignment of the buttons with the list is botched, as the last one, "Disable" > gets clipped, because the listbox default hight dictates the length. > !image-2021-12-31-10-30-58-143.png! > > This is how it looked like up to 12.3: > !image-2021-12-31-10-27-08-275.png! > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6347) Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6.
[ https://issues.apache.org/jira/browse/NETBEANS-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Schapitz resolved NETBEANS-6347. --- Resolution: Fixed > Adding Global Goal Definitions for Maven is broken for 12.5 + 12.6. > --- > > Key: NETBEANS-6347 > URL: https://issues.apache.org/jira/browse/NETBEANS-6347 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 12.5, 12.6 >Reporter: Thomas Schapitz >Assignee: Svatopluk Dedic >Priority: Critical > Labels: pull-request-available > Fix For: NB13 > > Attachments: dialog-hint.jpg, image-2021-12-31-10-27-08-275.png, > image-2021-12-31-10-30-58-143.png, image-2022-01-13-19-09-32-623.png, > image-2022-01-13-19-27-19-230.png > > Time Spent: 3.5h > Remaining Estimate: 0h > > The following hardcopy illustrates the problem. > It *is* possible, to add a new definition, but afterwards, it is no longer > possible to maintain values for the goals & profiles, as has been the case up > to version 12.3 > And it isn't possible to activate the definition, it get's created in > disabled state. (Prior to 12.4, it wasn't possible to disable a definition) > Furthermore, at least on Windows 10 / JDK 17, one may observe, that the > alignment of the buttons with the list is botched, as the last one, "Disable" > gets clipped, because the listbox default hight dictates the length. > !image-2021-12-31-10-30-58-143.png! > > This is how it looked like up to 12.3: > !image-2021-12-31-10-27-08-275.png! > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Comment Edited] (NETBEANS-6345) Project platform libraries missing from project compiler classpath
[ https://issues.apache.org/jira/browse/NETBEANS-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17480407#comment-17480407 ] Arnaud Kleinveld edited comment on NETBEANS-6345 at 2/1/22, 11:20 PM: -- Tried your ant suggestions but at no avail. Then I enable debug verbosity level in the java/ant section of Netbeans options. !image-2022-01-22-16-53-54-699.png|width=533,height=349! This generated a lot of output and I see Ant detecting JDK 11. Which is the Netbeans JRE it also runs Ant on I guess. {quote}Detected Java version: 11 in: /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-2.fc34.x86_64 {quote} This is further a grep of javac on the produced output. {quote}Setting project property: javac.debug -> true Setting project property: default.javac.source -> 11 Setting project property: default.javac.target -> 11 Override ignored for property "default.javac.source" Override ignored for property "default.javac.target" Setting project property: javac.test.classpath -> :build/jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/junit-4.13.2.jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/hamcrest-core-1.3.jar Setting project property: javac.processorpath -> Setting project property: javac.compilerargs -> Setting project property: javac.source -> 1.8 Setting project property: javac.deprecation -> false Override ignored for property "javac.debug" Setting project property: javac.classpath -> Setting project property: javac.target -> 1.8 Setting project property: javac.test.processorpath -> :build/jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/junit-4.13.2.jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/hamcrest-core-1.3.jar Property "platforms.JDK_1.8.javac" has not been set Setting project property: platform.javac.tmp -> ${platforms.JDK_1.8.javac} Condition true; setting platform.javac to /usr/lib/jvm/java-1.8.0-openjdk/bin/javac Setting project property: platform.javac -> /usr/lib/jvm/java-1.8.0-openjdk/bin/javac Override ignored for property "platform.javac" Setting project property: javac.fork -> false Override ignored for property "javac.processorpath" Override ignored for property "javac.test.processorpath" -init-macrodef-javac-with-processors: +Datatype [http://www.netbeans.org/ns/j2ee-ejbjarproject/2:javac] org.apache.tools.ant.taskdefs.MacroInstance creating macro [http://www.netbeans.org/ns/j2ee-ejbjarproject/2:javac] -init-macrodef-javac-without-processors: -init-macrodef-javac: Override ignored for property "javac.compilerargs" {quote} Everything seems to been have set correctly and I fail to find the java configuration that worked before. If I remember well it was Netbeans running on 1.8 which would fix this compiling issue but introducing new errors as 1.8 is no longer supported with Netbeans 12.6. was (Author: JIRAUSER282855): Tried your ant suggestions but at no avail. Then I enable debug verbosity level in the java/ant section of Netbeans options. !image-2022-01-22-16-53-54-699.png|width=533,height=349! This generated a lot of output and I see Ant detecting JDK 11. Which is the Netbeans JRE it also runs Ant on I guess. {quote}Detected Java version: 11 in: /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-2.fc34.x86_64 {quote} This is further a grep of javac on the produced output. {quote}Setting project property: javac.debug -> true Setting project property: default.javac.source -> 11 Setting project property: default.javac.target -> 11 Override ignored for property "default.javac.source" Override ignored for property "default.javac.target" Setting project property: javac.test.classpath -> :build/jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/junit-4.13.2.jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/hamcrest-core-1.3.jar Setting project property: javac.processorpath -> Setting project property: javac.compilerargs -> Setting project property: javac.source -> 1.8 Setting project property: javac.deprecation -> false Override ignored for property "javac.debug" Setting project property: javac.classpath -> Setting project property: javac.target -> 1.8 Setting project property: javac.test.processorpath -> :build/jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/junit-4.13.2.jar:/usr/local/netbeans-12.6/netbeans/platform/modules/ext/hamcrest-core-1.3.jar Property "platforms.JDK_1.8.javac" has not been set Setting project property: platform.javac.tmp -> ${platforms.JDK_1.8.javac} Condition true; setting platform.javac to /usr/lib/jvm/java-1.8.0-openjdk/bin/javac Setting project property: platform.javac -> /usr/lib/jvm/java-1.8.0-openjdk/bin/javac Override ignored for property "platform.javac" Setting project property: javac.fork -> false Override ignored for property "javac.processorpath" Override ignored for property "javac.test.processorpath" -init-macrodef-javac-with-processors: +Datatype
[jira] [Commented] (NETBEANS-4080) Support .pug file extension
[ https://issues.apache.org/jira/browse/NETBEANS-4080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485402#comment-17485402 ] Sergey Podobry commented on NETBEANS-4080: -- There is a workaround: # Tools > Options > Miscellaneous > Files # Click on "New" next to File extension. # Type "pug" # Associated type MIME (text/jade) # Ok # "*.pug" files will use jade formatting and styling now (after restart) Source: https://github.com/pugjs/pug/issues/2781#issuecomment-295360714 > Support .pug file extension > --- > > Key: NETBEANS-4080 > URL: https://issues.apache.org/jira/browse/NETBEANS-4080 > Project: NetBeans > Issue Type: Bug > Components: javascript - Jade >Affects Versions: 11.3 >Reporter: Jan Drees >Priority: Minor > > I tried to get into writing pug (formerly Jade) code, but noticed that > Netbeans does not provide syntax highlighting for .pug files. It appears that > the necessary code for highlighting is already in place, since highlighting > works out of the box when I change the file extension to .jade. > Considering that jade had to be renamed to pug back in mid-2016, I am a > little surprised that the new file extension .pug was not added as an alias > for .jade files (or vice versa) already. Am I missing something here? -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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 release121 updated: Ensure javaee.wildfly is offline buildable
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch release121 in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/release121 by this push: new a4d40d9 Ensure javaee.wildfly is offline buildable new 1bd4774 Merge pull request #3548 from ebarboni/release121rebuild a4d40d9 is described below commit a4d40d97c73b334359cb608e75c5fe71a7caa274 Author: Matthias Bläsing AuthorDate: Fri Oct 2 21:33:28 2020 +0200 Ensure javaee.wildfly is offline buildable --- enterprise/javaee.wildfly/licenseinfo.xml |3 + .../resources/{javaee_8.xsd => javaee_7.xsd} | 684 - .../modules/javaee/wildfly/resources/javaee_8.xsd |7 +- .../wildfly/resources/jboss-common_6_0_1.xsd |7 +- .../javaee/wildfly/resources/jboss-common_8_1.xsd |7 +- .../javaee/wildfly/resources/jboss-web_14_1.xsd|7 +- .../javaee/wildfly/resources/jboss-web_7_3_1.xsd |6 +- .../modules/javaee/wildfly/resources/jsp_2_2.xsd | 400 ++ .../javaee/wildfly/resources/web-common_4_0.xsd| 1474 9 files changed, 2248 insertions(+), 347 deletions(-) diff --git a/enterprise/javaee.wildfly/licenseinfo.xml b/enterprise/javaee.wildfly/licenseinfo.xml index 8e7121e..0fc504e 100644 --- a/enterprise/javaee.wildfly/licenseinfo.xml +++ b/enterprise/javaee.wildfly/licenseinfo.xml @@ -21,11 +21,14 @@ --> + src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd src/org/netbeans/modules/javaee/wildfly/resources/javaee_web_services_client_1_4.xsd + src/org/netbeans/modules/javaee/wildfly/resources/jsp_2_2.xsd src/org/netbeans/modules/javaee/wildfly/resources/jsp_2_3.xsd src/org/netbeans/modules/javaee/wildfly/resources/web-app_4_0.xsd src/org/netbeans/modules/javaee/wildfly/resources/web-common_3_1.xsd + src/org/netbeans/modules/javaee/wildfly/resources/web-common_4_0.xsd src/org/netbeans/modules/javaee/wildfly/resources/web-fragment_4_0.xsd diff --git a/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd b/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd similarity index 94% copy from enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd copy to enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd index 2996054..9b20d7e 100644 --- a/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd +++ b/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd @@ -4,14 +4,14 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema; elementFormDefault="qualified" attributeFormDefault="unqualified" -version="8"> +version="7"> DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - - Copyright (c) 2009-2017 Oracle and/or its affiliates. All rights reserved. - + + Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved. + The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You @@ -20,20 +20,20 @@ https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html or packager/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. - + When distributing the software, include this License Header Notice in each file and include the License file at packager/legal/LICENSE.txt. - + GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. - + Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" - + Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] @@ -45,7 +45,7 @@ and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. - + @@ -55,25 +55,25 @@ The following definitions that appear in the common shareable schema(s) of Java EE deployment descriptors should be
[jira] [Commented] (NETBEANS-6419) Help Online Support and Docs does not work
[ https://issues.apache.org/jira/browse/NETBEANS-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485371#comment-17485371 ] Kenneth Fogel commented on NETBEANS-6419: - I'm using Windows 11. The upgrade attempt from Win 10 destabilized my machine so I re-installed as a fresh install and all has been well. Ken > Help Online Support and Docs does not work > -- > > Key: NETBEANS-6419 > URL: https://issues.apache.org/jira/browse/NETBEANS-6419 > Project: NetBeans > Issue Type: Bug > Components: platform - Help System >Affects Versions: 12.6 >Reporter: Kenneth Fogel >Priority: Major > > When I select Help Online Support and Docs I get an error message in a popup > that says: > Cannot open file > "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help\index.html" cannot be > opened: > Folder : "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help" doesn't exist. > It is appending the location where I installed NetBeans to what should have > been a URL. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6419) Help Online Support and Docs does not work
[ https://issues.apache.org/jira/browse/NETBEANS-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485369#comment-17485369 ] Michael Bien commented on NETBEANS-6419: Thank you for verifying. That is what I suspected. Are you using windows 10 or something more exotic? > Help Online Support and Docs does not work > -- > > Key: NETBEANS-6419 > URL: https://issues.apache.org/jira/browse/NETBEANS-6419 > Project: NetBeans > Issue Type: Bug > Components: platform - Help System >Affects Versions: 12.6 >Reporter: Kenneth Fogel >Priority: Major > > When I select Help Online Support and Docs I get an error message in a popup > that says: > Cannot open file > "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help\index.html" cannot be > opened: > Folder : "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help" doesn't exist. > It is appending the location where I installed NetBeans to what should have > been a URL. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6419) Help Online Support and Docs does not work
[ https://issues.apache.org/jira/browse/NETBEANS-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485366#comment-17485366 ] Kenneth Fogel commented on NETBEANS-6419: - Hi, When I looked at the Web Browser setting it showed and going to Help->Online Docs it tried to open: "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help". When I explicitly set the browser that on my machine is Microsoft Edge it properly invoked Edge and opened the web page. This appears to be an issue with determining the default browser. This is now a less significant issue because I can tell my students to explicitly select the browser. Ken > Help Online Support and Docs does not work > -- > > Key: NETBEANS-6419 > URL: https://issues.apache.org/jira/browse/NETBEANS-6419 > Project: NetBeans > Issue Type: Bug > Components: platform - Help System >Affects Versions: 12.6 >Reporter: Kenneth Fogel >Priority: Major > > When I select Help Online Support and Docs I get an error message in a popup > that says: > Cannot open file > "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help\index.html" cannot be > opened: > Folder : "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help" doesn't exist. > It is appending the location where I installed NetBeans to what should have > been a URL. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Comment Edited] (NETBEANS-6418) On Windows 11 Copy does not work to external applications
[ https://issues.apache.org/jira/browse/NETBEANS-6418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485360#comment-17485360 ] Eduardo Quintanilla edited comment on NETBEANS-6418 at 2/1/22, 4:44 PM: It happens with NetBeans 12.6 running in Windows 10 and JDK 17 to me from time to time but never consistently enough to create a sample project with the issue or try to debug the source code. was (Author: eduardo quintanilla): It happens with Windows 10 to me from time to time but never consistently enough to create a sample project with the issue or try to debug the source code. > On Windows 11 Copy does not work to external applications > - > > Key: NETBEANS-6418 > URL: https://issues.apache.org/jira/browse/NETBEANS-6418 > Project: NetBeans > Issue Type: Bug > Components: editor - Other >Affects Versions: 12.6 > Environment: Intel i9 > 32 G Ram > Windows 11 > Java 17 >Reporter: Kenneth Fogel >Priority: Major > > The Copy command or Ctrl-C will copy whatever is selected so that it can be > pasted into a file opened in NetBeans. It does not work if you are copying to > an external program such as NotePad++ or MS Word. These programs show that > there is nothing to paste. > However, if you Cut or Ctrl-X the selection then it can be pasted into an > external program. > I have seen this behaviour in earlier versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6418) On Windows 11 Copy does not work to external applications
[ https://issues.apache.org/jira/browse/NETBEANS-6418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485360#comment-17485360 ] Eduardo Quintanilla commented on NETBEANS-6418: --- It happens with Windows 10 to me from time to time but never consistently enough to create a sample project with the issue or try to debug the source code. > On Windows 11 Copy does not work to external applications > - > > Key: NETBEANS-6418 > URL: https://issues.apache.org/jira/browse/NETBEANS-6418 > Project: NetBeans > Issue Type: Bug > Components: editor - Other >Affects Versions: 12.6 > Environment: Intel i9 > 32 G Ram > Windows 11 > Java 17 >Reporter: Kenneth Fogel >Priority: Major > > The Copy command or Ctrl-C will copy whatever is selected so that it can be > pasted into a file opened in NetBeans. It does not work if you are copying to > an external program such as NotePad++ or MS Word. These programs show that > there is nothing to paste. > However, if you Cut or Ctrl-X the selection then it can be pasted into an > external program. > I have seen this behaviour in earlier versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6418) On Windows 11 Copy does not work to external applications
[ https://issues.apache.org/jira/browse/NETBEANS-6418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485357#comment-17485357 ] Kenneth Fogel commented on NETBEANS-6418: - This problem has existed for some time. Although I have not used NetBeans for more than 6 months, I have returned to it for an evening course I am giving. It is intermittent and when it occurs it is only rebooting that alleviates it. I will try and track what other programs I am using to see if there is a repeatable pattern. Windows has a setting to keep a list of all things copied, cut, or pasted. I did test it with the setting on and off and still unable to Copy and Paste, only Cut and Paste worked. Ken > On Windows 11 Copy does not work to external applications > - > > Key: NETBEANS-6418 > URL: https://issues.apache.org/jira/browse/NETBEANS-6418 > Project: NetBeans > Issue Type: Bug > Components: editor - Other >Affects Versions: 12.6 > Environment: Intel i9 > 32 G Ram > Windows 11 > Java 17 >Reporter: Kenneth Fogel >Priority: Major > > The Copy command or Ctrl-C will copy whatever is selected so that it can be > pasted into a file opened in NetBeans. It does not work if you are copying to > an external program such as NotePad++ or MS Word. These programs show that > there is nothing to paste. > However, if you Cut or Ctrl-X the selection then it can be pasted into an > external program. > I have seen this behaviour in earlier versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6419) Help Online Support and Docs does not work
[ https://issues.apache.org/jira/browse/NETBEANS-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485351#comment-17485351 ] Kenneth Fogel commented on NETBEANS-6419: - I will review the settings. The problem occurs after a fresh install. Ken > Help Online Support and Docs does not work > -- > > Key: NETBEANS-6419 > URL: https://issues.apache.org/jira/browse/NETBEANS-6419 > Project: NetBeans > Issue Type: Bug > Components: platform - Help System >Affects Versions: 12.6 >Reporter: Kenneth Fogel >Priority: Major > > When I select Help Online Support and Docs I get an error message in a popup > that says: > Cannot open file > "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help\index.html" cannot be > opened: > Folder : "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help" doesn't exist. > It is appending the location where I installed NetBeans to what should have > been a URL. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Closed] (NETBEANS-6404) netbeans IDE 12.6 slowness, IDE popup mentioned it as bug
[ https://issues.apache.org/jira/browse/NETBEANS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-6404. -- Resolution: Incomplete > netbeans IDE 12.6 slowness, IDE popup mentioned it as bug > - > > Key: NETBEANS-6404 > URL: https://issues.apache.org/jira/browse/NETBEANS-6404 > Project: NetBeans > Issue Type: Bug >Reporter: orangeS >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Closed] (NETBEANS-6404) netbeans IDE 12.6 slowness, IDE popup mentioned it as bug
[ https://issues.apache.org/jira/browse/NETBEANS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-6404. -- Resolution: Fixed > netbeans IDE 12.6 slowness, IDE popup mentioned it as bug > - > > Key: NETBEANS-6404 > URL: https://issues.apache.org/jira/browse/NETBEANS-6404 > Project: NetBeans > Issue Type: Bug >Reporter: orangeS >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Reopened] (NETBEANS-6404) netbeans IDE 12.6 slowness, IDE popup mentioned it as bug
[ https://issues.apache.org/jira/browse/NETBEANS-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien reopened NETBEANS-6404: > netbeans IDE 12.6 slowness, IDE popup mentioned it as bug > - > > Key: NETBEANS-6404 > URL: https://issues.apache.org/jira/browse/NETBEANS-6404 > Project: NetBeans > Issue Type: Bug >Reporter: orangeS >Priority: Major > -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6406) same bg col for files from same project is broken
[ https://issues.apache.org/jira/browse/NETBEANS-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485350#comment-17485350 ] Michael Bien commented on NETBEANS-6406: we made some changes to that code (due to other reasons) in NB 13. Would be interesting to see if the issue persists. > same bg col for files from same project is broken > - > > Key: NETBEANS-6406 > URL: https://issues.apache.org/jira/browse/NETBEANS-6406 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor > Environment: Win 7 X64 - JDK 17.0.1 Hotspot. >Reporter: dev >Priority: Minor > > I have two projects, "myproject_web", and "myproject_core". The option "same > background color for files from the same project" doesn't work (99% of times) > for me. I'm using 12.6, but had the same issue with the previous 12.0 as > well(cannot remember about 11, etc...) > The issue is mostly belong to these two project, where other project will > have unique bg color as expected. I mostly work with these two projects. > Sometimes it works I've found. During the startup, as soon as the UI is up, > and IDE is checking for projects(as background work), if I open up the > "projects" window, then it will colorize one project's file as expected, but > by default all will be gray. > I usually keep the files open of these projects before closing the IDE, so > when IDE is up, there are over 20 files open usually from those projects, > multi-tabbed. > Thank you. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6407) Font size changes in Project tab
[ https://issues.apache.org/jira/browse/NETBEANS-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485347#comment-17485347 ] Michael Bien commented on NETBEANS-6407: next time when that happens could you check if you see any exception in the log? If yes attach the full log to the issue. I would also recommend to upgrade to NB 12.6 and JDK 17 to so that we don't chase an already fixed bug. another idea: instead of setting --laf nimbus, try changing the look and feel in the options, it has nimbus too. Maybe its some weird race condition. > Font size changes in Project tab > > > Key: NETBEANS-6407 > URL: https://issues.apache.org/jira/browse/NETBEANS-6407 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.5 > Environment: Ubuntu 20.04.3 LTS, OpenJDK 14.0.2 >Reporter: Pavel_K >Priority: Major > Attachments: Screenshot from 2022-01-22 11-16-19.png, Screenshot from > 2022-01-22 11-21-22.png > > > In my netbeans configuration I use the following options: > {code:java} > netbeans_default_options=". --fontsize 16 --laf Nimbus > -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd" > {code} > NetBeans 12.5 works with such settings well, almost always. Why almost? > Because sometimes (~ 25% time) when I start NetBeans font size in Project tab > is small: > !Screenshot from 2022-01-22 11-16-19.png! > So, I have to close current instance of NetBeans and start it again, until I > get the following result: > !Screenshot from 2022-01-22 11-21-22.png! > Such behaviour is surprising because same machine, same OS, same JDK and same > NB configuration, but result changes. I understand that this bug is difficult > to find but it is really annoying to close NB and restart NB again. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Closed] (NETBEANS-6397) Error occurs when Java module info is added
[ https://issues.apache.org/jira/browse/NETBEANS-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith closed NETBEANS-6397. -- Resolution: Not A Problem > Error occurs when Java module info is added > --- > > Key: NETBEANS-6397 > URL: https://issues.apache.org/jira/browse/NETBEANS-6397 > Project: NetBeans > Issue Type: Bug > Environment: Windows 10 Enterprise, version 1809, > Apache NetBeans IDE 12.2, > Default Java platform: JDK14, > Project Java platform: JDK17. >Reporter: Oleksij Lupandin >Priority: Major > Attachments: netbeans-ide-log.txt, netbeans-ui-0001.png > > > 1. Create a Java modular project (File / New Project… / Java with Ant / Java > Modular Project / Next / Choose platform JDK17 / Finish). > 2. Try to add a module (Right-click on the project in its pane / New / > Module... / Set module name "moduleA" / Finish). > Expected result: module moduleA appears in the project tree. > Actual result: moduleA does not appear in the project tree, Unexpected > Exception occurs: > !netbeans-ui-0001.png! > IDE log is attached. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6397) Error occurs when Java module info is added
[ https://issues.apache.org/jira/browse/NETBEANS-6397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485341#comment-17485341 ] Neil C Smith commented on NETBEANS-6397: Only NetBeans 12.6+ supports JDK 17. > Error occurs when Java module info is added > --- > > Key: NETBEANS-6397 > URL: https://issues.apache.org/jira/browse/NETBEANS-6397 > Project: NetBeans > Issue Type: Bug > Environment: Windows 10 Enterprise, version 1809, > Apache NetBeans IDE 12.2, > Default Java platform: JDK14, > Project Java platform: JDK17. >Reporter: Oleksij Lupandin >Priority: Major > Attachments: netbeans-ide-log.txt, netbeans-ui-0001.png > > > 1. Create a Java modular project (File / New Project… / Java with Ant / Java > Modular Project / Next / Choose platform JDK17 / Finish). > 2. Try to add a module (Right-click on the project in its pane / New / > Module... / Set module name "moduleA" / Finish). > Expected result: module moduleA appears in the project tree. > Actual result: moduleA does not appear in the project tree, Unexpected > Exception occurs: > !netbeans-ui-0001.png! > IDE log is attached. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6419) Help Online Support and Docs does not work
[ https://issues.apache.org/jira/browse/NETBEANS-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485338#comment-17485338 ] Michael Bien commented on NETBEANS-6419: interesting. It works for me on linux. Do the other links work? What happens if you right click on a html file and press "view"? Does that open in a browser? Does changing the web browser setting in tools->options->general fix it? > Help Online Support and Docs does not work > -- > > Key: NETBEANS-6419 > URL: https://issues.apache.org/jira/browse/NETBEANS-6419 > Project: NetBeans > Issue Type: Bug > Components: platform - Help System >Affects Versions: 12.6 >Reporter: Kenneth Fogel >Priority: Major > > When I select Help Online Support and Docs I get an error message in a popup > that says: > Cannot open file > "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help\index.html" cannot be > opened: > Folder : "C:\dev\NetBeans-12.6\https:\netbeans.apache.org\help" doesn't exist. > It is appending the location where I installed NetBeans to what should have > been a URL. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6424) Getting Started - Testing - Failed
[ https://issues.apache.org/jira/browse/NETBEANS-6424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485331#comment-17485331 ] Michael Bien commented on NETBEANS-6424: Hi, on first glance it looks like you are missing a test method. add one and mark it with the {code:java} @Test {code} annotation. Once you have a test method, NetBeans should be able to run it. Btw if you think something is wrong with the tutorial, you can contribute a fix - even If you are new to all this. Scroll down and press "See this page in GitHub." where you can edit it. > Getting Started - Testing - Failed > -- > > Key: NETBEANS-6424 > URL: https://issues.apache.org/jira/browse/NETBEANS-6424 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit >Affects Versions: 12.6 > Environment: *Product Version:* Apache NetBeans IDE 12.6 > *Java:* 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 > *Runtime:* Java(TM) SE Runtime Environment 1.8.0_25-b17 > *System:* Mac OS X version 10.15.7 running on x86_64; UTF-8; de_DE (nb) >Reporter: Paul >Assignee: Paul >Priority: Trivial > Labels: beginner, documentation, test > Fix For: 12.6 > > Attachments: JUnit 4 _ Harmcrest 1.jpg, NB Test - public void > testAcrostic.jpg, Run Test File-1.jpg, Run Test File-1_Fault.jpg > > Original Estimate: 168h > Remaining Estimate: 168h > > I am a newbie. I am trying to test my 1st app. I am learning by using: > h4. Java SE Learning Trail, Getting Started - Testing and Debugging the > Application. > Following the instruction dos not work: "In {{{}LibClassTest.java{}}}, delete > the body of the *{{public void testAcrostic()}}* method, and ..." the > "testAcrostic" {color:#ff}is not displayed at all{color}. > The inserted lines result in the error message : {color:#ff}1. No > runnable method{color}. > See screenshots attached. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6418) On Windows 11 Copy does not work to external applications
[ https://issues.apache.org/jira/browse/NETBEANS-6418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485329#comment-17485329 ] Neil C Smith commented on NETBEANS-6418: Please reopen this one in GitHub issues. If there's anything useful in IDE log, please post that there. Having tried to check for this bug when others have reported on Windows 10 I couldn't replicate, and also can't replicate with new Windows 11 machine, so it's not a universal problem. > On Windows 11 Copy does not work to external applications > - > > Key: NETBEANS-6418 > URL: https://issues.apache.org/jira/browse/NETBEANS-6418 > Project: NetBeans > Issue Type: Bug > Components: editor - Other >Affects Versions: 12.6 > Environment: Intel i9 > 32 G Ram > Windows 11 > Java 17 >Reporter: Kenneth Fogel >Priority: Major > > The Copy command or Ctrl-C will copy whatever is selected so that it can be > pasted into a file opened in NetBeans. It does not work if you are copying to > an external program such as NotePad++ or MS Word. These programs show that > there is nothing to paste. > However, if you Cut or Ctrl-X the selection then it can be pasted into an > external program. > I have seen this behaviour in earlier versions. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6420) GUI bug, Find toolbar
[ https://issues.apache.org/jira/browse/NETBEANS-6420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485328#comment-17485328 ] Neil C Smith commented on NETBEANS-6420: This is possibly a JDK bug anyway. And "major" never implied that in itself. > GUI bug, Find toolbar > - > > Key: NETBEANS-6420 > URL: https://issues.apache.org/jira/browse/NETBEANS-6420 > Project: NetBeans > Issue Type: Bug > Environment: This seems to be related to a recent upgrade from > Windows 10 pro to Windows 11 pro. The problem was not present in Windows 10. > This behavior was noted in Netbeans 12.5, and now in 12.6. > > *Product Version:* Apache NetBeans IDE 12.6 > *Java:* 16.0.1; Java HotSpot(TM) 64-Bit Server VM 16.0.1+9-24 > *Runtime:* Java(TM) SE Runtime Environment 16.0.1+9-24 > *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) > *User directory:* C:\Users\tkirb\AppData\Roaming\NetBeans\12.6 > *Cache directory:* C:\Users\tkirb\AppData\Local\NetBeans\Cache\12.6 >Reporter: Thomas Kirby >Priority: Major > Fix For: 12.6 > > Attachments: Netbeans-Jira-Find.png > > > Problem with Find toolbar (see attached image). The icons for Match Case, > Whole Word, and Regular Expression are not showing the current state of those > settings. When enabled, they should be highlighted, but are not. This happens > for both clicking the controls and using the keyboard shortcuts. The > functions seem to be active, but the user has no confirmation of the current > settings. This happens for any file that supports the Find toolbar (e.g. > txt, c, php, etc.). -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6429) Widen the options for editing global maven goals
[ https://issues.apache.org/jira/browse/NETBEANS-6429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485324#comment-17485324 ] Neil C Smith commented on NETBEANS-6429: We're in the process of moving to GitHub issues in parallel with NetBeans 13 release. I suggest you post this there. > Widen the options for editing global maven goals > > > Key: NETBEANS-6429 > URL: https://issues.apache.org/jira/browse/NETBEANS-6429 > Project: NetBeans > Issue Type: Improvement > Components: apisupport - Maven >Reporter: Thomas Schapitz >Priority: Minor > > Things I'd like to see - support for (in order of preference): > * renaming a definition > * duplicating an existing definition > * a broader selection of the command line options to chose from (see > [https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html,] not all of them > make sense - especially not the ineffective ones; -D, -N & -P are > already supported by the controls present. It is also possible to work around > this, by prefixing some of them in the 'Execute Goals:' entry field. But > duplicating the "Global Execution Options" Control from the previous Panel > would probably the most generic solution, and maybe even the one requiring > the least work. and the easiest to understand by newbies) > * Expand the option, to filter availability of the goals from just the > packaging (in order of preference - to) groupId, artifactId, name, buildDir, > parent.groupId, parent.artfactId, parent.name. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Closed] (NETBEANS-6430) Java Class Refactor (Rename) fails
[ https://issues.apache.org/jira/browse/NETBEANS-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Neil C Smith closed NETBEANS-6430. -- Resolution: Won't Fix > Java Class Refactor (Rename) fails > -- > > Key: NETBEANS-6430 > URL: https://issues.apache.org/jira/browse/NETBEANS-6430 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 12.6 > Environment: Windows: > Edition Windows 11 Home > Version 21H2 > Installed on 14/01/2022 > OS build 22000.438 > Serial number MP21B589 > Experience Windows Feature Experience Pack 1000.22000.438.0 > Java: > openjdk version "1.8.0_312" > OpenJDK Runtime Environment Corretto-8.312.07.1 (build 1.8.0_312-b07) > OpenJDK 64-Bit Server VM Corretto-8.312.07.1 (build 25.312-b07, mixed mode) >Reporter: Andrew Chapman >Priority: Minor > > Existing Java EE project. Renaming a class throws the following exception. > > SEVERE [org.openide.util.Exceptions] > java.lang.IllegalArgumentException: Copying to 2066 is greater then its size > (1399). > at > org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:6116) > at > org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:6095) > at > org.netbeans.modules.java.source.save.CasualDiff.diffPrecedingComments(CasualDiff.java:4427) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5510) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5451) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5378) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5349) > at > org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4184) > at > org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:1102) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5557) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5451) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5378) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5349) > at > org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4184) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:594) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5530) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5451) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5378) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5361) > at > org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:350) > at > org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920) > at > org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:676) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) > 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$MultiUserTaskAction.run(ParserManager.java:166) > at > org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138) > 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:83) > 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.api.java.source.JavaSource.runModificationTask(JavaSource.java:684) > at >
[jira] [Commented] (NETBEANS-6430) Java Class Refactor (Rename) fails
[ https://issues.apache.org/jira/browse/NETBEANS-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485323#comment-17485323 ] Neil C Smith commented on NETBEANS-6430: Java support in 12.6 requires running on JDK 11. NetBeans 13 as a whole requires JDK 11. > Java Class Refactor (Rename) fails > -- > > Key: NETBEANS-6430 > URL: https://issues.apache.org/jira/browse/NETBEANS-6430 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 12.6 > Environment: Windows: > Edition Windows 11 Home > Version 21H2 > Installed on 14/01/2022 > OS build 22000.438 > Serial number MP21B589 > Experience Windows Feature Experience Pack 1000.22000.438.0 > Java: > openjdk version "1.8.0_312" > OpenJDK Runtime Environment Corretto-8.312.07.1 (build 1.8.0_312-b07) > OpenJDK 64-Bit Server VM Corretto-8.312.07.1 (build 25.312-b07, mixed mode) >Reporter: Andrew Chapman >Priority: Minor > > Existing Java EE project. Renaming a class throws the following exception. > > SEVERE [org.openide.util.Exceptions] > java.lang.IllegalArgumentException: Copying to 2066 is greater then its size > (1399). > at > org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:6116) > at > org.netbeans.modules.java.source.save.CasualDiff.copyTo(CasualDiff.java:6095) > at > org.netbeans.modules.java.source.save.CasualDiff.diffPrecedingComments(CasualDiff.java:4427) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5510) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5451) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5378) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5349) > at > org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4184) > at > org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:1102) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5557) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5451) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5378) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5349) > at > org.netbeans.modules.java.source.save.CasualDiff.diffList(CasualDiff.java:4184) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:594) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl0(CasualDiff.java:5530) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTreeImpl(CasualDiff.java:5451) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5378) > at > org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:5361) > at > org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:350) > at > org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:920) > at > org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1332) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:676) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663) > 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$MultiUserTaskAction.run(ParserManager.java:166) > at > org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138) > 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:83) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) > at >
[jira] [Closed] (NETBEANS-6428) NoSuchMethodError: 'void com.sun.tools.javac.util.Log.in .dump files when running NetBeans with JDK17.0.1+12-LTS-39
[ https://issues.apache.org/jira/browse/NETBEANS-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-6428. -- Resolution: Fixed well, the issue is fixed/closed. You are just running an old version of NB :) It should work fine in 12.6. NetBeans 13 should be out soon too. I am going to close this but feel free to reopen it if you see it while running current versions. > NoSuchMethodError: 'void com.sun.tools.javac.util.Log.in .dump files > when running NetBeans with JDK17.0.1+12-LTS-39 > - > > Key: NETBEANS-6428 > URL: https://issues.apache.org/jira/browse/NETBEANS-6428 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.4 >Reporter: James >Priority: Major > Attachments: NetBeans_Logs.txt > > > This is the same issue reported in NETBEANS-5775 - that one is listed as > fixed/closed but this has just started happening for me last week. I'm not > sure which fields to paste in the exception text so I will attach. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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 delivery updated: [jackpot] DefaultRuleUtilities::referencedIn fix for single variable matching.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 1572a44 [jackpot] DefaultRuleUtilities::referencedIn fix for single variable matching. new fd384f0 Merge pull request #3540 from mbien/referencedIn-fix 1572a44 is described below commit 1572a44fd4b0b22accd8b5de50b527affdb80585 Author: Michael Bien AuthorDate: Sat Jan 29 22:04:23 2022 +0100 [jackpot] DefaultRuleUtilities::referencedIn fix for single variable matching. --- .../hints/declarative/conditionapi/Matcher.java| 20 +- .../declarative/conditionapi/isReferencedIn.hint | 30 + .../declarative/conditionapi/isReferencedIn.test | 75 ++ 3 files changed, 122 insertions(+), 3 deletions(-) diff --git a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Matcher.java b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Matcher.java index 3e2f58a..d87e171 100644 --- a/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Matcher.java +++ b/java/java.hints.declarative/src/org/netbeans/modules/java/hints/declarative/conditionapi/Matcher.java @@ -21,6 +21,7 @@ package org.netbeans.modules.java.hints.declarative.conditionapi; import com.sun.source.tree.Tree; import com.sun.source.util.TreePath; +import com.sun.source.util.Trees; import org.netbeans.api.java.source.support.ErrorAwareTreePathScanner; import java.util.Collection; import java.util.LinkedList; @@ -90,26 +91,39 @@ public final class Matcher { return result[0]; } +@SuppressWarnings("BoxedValueEquality") public boolean referencedIn(@NonNull Variable variable, @NonNull Variable in) { -final Element e = ctx.ctx.getInfo().getTrees().getElement(ctx.getSingleVariable(variable)); +final Trees trees = ctx.ctx.getInfo().getTrees(); +final Element e = trees.getElement(ctx.getSingleVariable(variable)); if (e == null) { //TODO: check also error return false; } for (TreePath tp : ctx.getVariable(in)) { + +if (e.equals(trees.getElement(tp))) { +return true; +} + boolean occurs = new ErrorAwareTreePathScanner() { +private boolean found = false; @Override public Boolean scan(Tree tree, Void p) { +if (found) { +return true; // fast path +} + if (tree == null) { return false; } TreePath currentPath = new TreePath(getCurrentPath(), tree); -Element currentElement = ctx.ctx.getInfo().getTrees().getElement(currentPath); +Element currentElement = trees.getElement(currentPath); if (e.equals(currentElement)) { -return true; //TODO: throwing an exception might be faster... +found = true; +return true; } return super.scan(tree, p); diff --git a/java/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isReferencedIn.hint b/java/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isReferencedIn.hint new file mode 100644 index 000..41e917e --- /dev/null +++ b/java/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isReferencedIn.hint @@ -0,0 +1,30 @@ +/* + * 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. + */ + +int $a = 0; +int $b = $c; :: !referencedIn($a, $c) +=> +int $b = $c; +;; + +int $a = 1; +java.util.Arrays.asList($args$); :: !referencedIn($a, $args$) +=> +java.util.Arrays.asList($args$); +;; diff --git a/java/java.hints.declarative/test/unit/src/org/netbeans/modules/java/hints/declarative/conditionapi/isReferencedIn.test
[netbeans] branch delivery updated: [#3511] workaround for extends/implements panel not showing any results.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/delivery by this push: new 3231d64 [#3511] workaround for extends/implements panel not showing any results. new 4153d97 Merge pull request #3543 from mbien/show-finals-workaround_delivery 3231d64 is described below commit 3231d6421dd653eb93ff7032c330beb792f5ea01 Author: Michael Bien AuthorDate: Mon Jan 31 13:04:42 2022 +0100 [#3511] workaround for extends/implements panel not showing any results. - this is not a clean fix, it only improves the situation by making the wizzard actually usable - logic should not use Class.forName since it doesn't know anything about the opened projects or used JDKs - proper fix would either require calling ElementHandle.resolve off EDT and getting CompiltaionInfo from somewhere or to add modifiers to ElementHandle itself which would be a fairly large change --- .../java/project/ui/ExtensionAndImplementationVisualPanel.java | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/java/java.project.ui/src/org/netbeans/modules/java/project/ui/ExtensionAndImplementationVisualPanel.java b/java/java.project.ui/src/org/netbeans/modules/java/project/ui/ExtensionAndImplementationVisualPanel.java index fd856fa..d9854e3 100644 --- a/java/java.project.ui/src/org/netbeans/modules/java/project/ui/ExtensionAndImplementationVisualPanel.java +++ b/java/java.project.ui/src/org/netbeans/modules/java/project/ui/ExtensionAndImplementationVisualPanel.java @@ -240,14 +240,15 @@ public class ExtensionAndImplementationVisualPanel extends JPanel implements Doc } private boolean isNotFinalExceptionType(ElementHandle typeHandle) { +// TODO: this should not use Class.forName! try { Class clazz = Class.forName(typeHandle.getQualifiedName()); return typeHandle.getKind() == ElementKind.CLASS && Exception.class.isAssignableFrom(clazz) && !Modifier.isFinal(clazz.getModifiers()); } catch (ClassNotFoundException ex) { +return true; // we don't know } -return false; } private boolean isInterface(ElementHandle typeHandle) { @@ -255,12 +256,13 @@ public class ExtensionAndImplementationVisualPanel extends JPanel implements Doc } private boolean isNotFinalClass(ElementHandle typeHandle) { +// TODO: this should not use Class.forName! try { Class clazz = Class.forName(typeHandle.getQualifiedName()); return typeHandle.getKind() == ElementKind.CLASS && !Modifier.isFinal(clazz.getModifiers()); } catch (ClassNotFoundException ex) { +return true; // we don't know } -return false; } private void browseInterfacesButtonActionPerformed(ActionEvent evt) { - 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] [Closed] (NETBEANS-6432) Implement all abstract methods (hint bulb)
[ https://issues.apache.org/jira/browse/NETBEANS-6432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-6432. -- Fix Version/s: 13 (was: 12.6) Resolution: Duplicate this is already fixed in NB 13. As workaround start NB on JDK11+. > Implement all abstract methods (hint bulb) > -- > > Key: NETBEANS-6432 > URL: https://issues.apache.org/jira/browse/NETBEANS-6432 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 12.5 >Reporter: Burhan EMRE >Priority: Blocker > Fix For: 13 > > > --- > >Log Session: Tuesday, February 1, 2022 10:47:34 AM EET > >System Info: > Product Version = Apache NetBeans IDE 12.6 > Operating System = Windows 10 version 10.0 running on amd64 > Java; VM; Vendor = 1.8.0_191; Java HotSpot(TM) 64-Bit Server VM > 25.191-b12; Oracle Corporation > Runtime = Java(TM) SE Runtime Environment 1.8.0_191-b12 > Java Home = C:\Program Files\Java\jdk1.8.0_191\jre > System Locale; Encoding = en_US (nb); Cp1252 > Home Directory = C:\Users\Paratoner-WS > Current Directory = C:\Program Files\NetBeans-12.6 > User Directory = > C:\Users\Paratoner-WS\AppData\Roaming\NetBeans\12.6 > Cache Directory = > C:\Users\Paratoner-WS\AppData\Local\NetBeans\Cache\12.6 > Installation = C:\Program Files\NetBeans-12.6\netbeans\nb > C:\Program Files\NetBeans-12.6\netbeans\ergonomics > C:\Program Files\NetBeans-12.6\netbeans\ide > C:\Program Files\NetBeans-12.6\netbeans\extide > C:\Program Files\NetBeans-12.6\netbeans\java > C:\Program Files\NetBeans-12.6\netbeans\apisupport > C:\Program Files\NetBeans-12.6\netbeans\webcommon > C:\Program > Files\NetBeans-12.6\netbeans\websvccommon > C:\Program Files\NetBeans-12.6\netbeans\enterprise > C:\Program Files\NetBeans-12.6\netbeans\profiler > C:\Program Files\NetBeans-12.6\netbeans\harness > C:\Program Files\NetBeans-12.6\netbeans\cpplite > C:\Program Files\NetBeans-12.6\netbeans\groovy > C:\Program Files\NetBeans-12.6\netbeans\javafx > C:\Program Files\NetBeans-12.6\netbeans\platform > Boot & Ext. Classpath = C:\Program > Files\Java\jdk1.8.0_191\jre\lib\resources.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\rt.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\sunrsasign.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\jsse.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\jce.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\charsets.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\jfr.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\classes;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\access-bridge-64.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\cldrdata.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\dnsns.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\jaccess.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\jfxrt.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\localedata.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\nashorn.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\sunec.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\sunjce_provider.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\sunmscapi.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\sunpkcs11.jar;C:\Program > Files\Java\jdk1.8.0_191\jre\lib\ext\zipfs.jar > Application Classpath = C:\Program > Files\NetBeans-12.6\netbeans\platform\lib\boot.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\lib\org-openide-modules.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\lib\org-openide-util.jar;C:\Program > Files\Java\jdk1.8.0_191\lib\dt.jar;C:\Program > Files\Java\jdk1.8.0_191\lib\tools.jar > Startup Classpath = C:\Program > Files\NetBeans-12.6\netbeans\platform\core\asm-9.2.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\core\asm-commons-9.2.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\core\asm-tree-9.2.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\core\core-base.jar;C:\Program > Files\NetBeans-12.6\netbeans\platform\core\core.jar;C:\Program >
[jira] [Created] (NETBEANS-6433) Trying to use the insert code option and the toString method
Emilia Olivera created NETBEANS-6433: Summary: Trying to use the insert code option and the toString method Key: NETBEANS-6433 URL: https://issues.apache.org/jira/browse/NETBEANS-6433 Project: NetBeans Issue Type: Bug Components: cnd - Code Completion, javascript - Editor Affects Versions: 12.6 Reporter: Emilia Olivera Attempted to add a string to the method and when attempting to add, there space remained blank and instead showed an error in the application. 2022-02-01T09:36:03 1643726163274 3626 700 148 UI_USER_CONFIGURATION UI_USER_CONFIGURATION org.netbeans.modules.uihandler.Bundle Mac OS X, 10.16, x86_64 OpenJDK 64-Bit Server VM, 25.282-b08, OpenJDK Runtime Environment, 1.8.0_282-b08 Apache NetBeans IDE 12.6 NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer; Please provide a description of the problem or the steps to reproduce * -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-jenkins-lib] branch master updated: fix missing 12.0 release date
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 8731b80 fix missing 12.0 release date 8731b80 is described below commit 8731b807aaf646a5da6474666cbddc3a011acf44 Author: Eric Barboni AuthorDate: Tue Feb 1 12:26:26 2022 +0100 fix missing 12.0 release date --- meta/netbeansrelease.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index 1da3a7b..335867b 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -259,9 +259,9 @@ } }, "releasedate": { -"day": "-", -"month": "-", -"year": "-" +"day": "04", +"month": "06", +"year": "2020" }, "previousreleasedate": { "day": "24", - 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 release120 updated: Ensure javaee.wildfly is offline buildable
This is an automated email from the ASF dual-hosted git repository. skygo pushed a commit to branch release120 in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/release120 by this push: new 1de2f64 Ensure javaee.wildfly is offline buildable new 73c1285 Merge pull request #3542 from ebarboni/release120rebuild 1de2f64 is described below commit 1de2f64f8642a895477b5fb4ee26eab8d2dfd529 Author: Matthias Bläsing AuthorDate: Fri Oct 2 21:33:28 2020 +0200 Ensure javaee.wildfly is offline buildable --- enterprise/javaee.wildfly/licenseinfo.xml |3 + .../resources/{javaee_8.xsd => javaee_7.xsd} | 684 - .../modules/javaee/wildfly/resources/javaee_8.xsd |7 +- .../wildfly/resources/jboss-common_6_0_1.xsd |7 +- .../javaee/wildfly/resources/jboss-common_8_1.xsd |7 +- .../javaee/wildfly/resources/jboss-web_14_1.xsd|7 +- .../javaee/wildfly/resources/jboss-web_7_3_1.xsd |6 +- .../modules/javaee/wildfly/resources/jsp_2_2.xsd | 400 ++ .../javaee/wildfly/resources/web-common_4_0.xsd| 1474 9 files changed, 2248 insertions(+), 347 deletions(-) diff --git a/enterprise/javaee.wildfly/licenseinfo.xml b/enterprise/javaee.wildfly/licenseinfo.xml index 8e7121e..0fc504e 100644 --- a/enterprise/javaee.wildfly/licenseinfo.xml +++ b/enterprise/javaee.wildfly/licenseinfo.xml @@ -21,11 +21,14 @@ --> + src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd src/org/netbeans/modules/javaee/wildfly/resources/javaee_web_services_client_1_4.xsd + src/org/netbeans/modules/javaee/wildfly/resources/jsp_2_2.xsd src/org/netbeans/modules/javaee/wildfly/resources/jsp_2_3.xsd src/org/netbeans/modules/javaee/wildfly/resources/web-app_4_0.xsd src/org/netbeans/modules/javaee/wildfly/resources/web-common_3_1.xsd + src/org/netbeans/modules/javaee/wildfly/resources/web-common_4_0.xsd src/org/netbeans/modules/javaee/wildfly/resources/web-fragment_4_0.xsd diff --git a/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd b/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd similarity index 94% copy from enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd copy to enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd index 2996054..9b20d7e 100644 --- a/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_8.xsd +++ b/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/resources/javaee_7.xsd @@ -4,14 +4,14 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema; elementFormDefault="qualified" attributeFormDefault="unqualified" -version="8"> +version="7"> DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - - Copyright (c) 2009-2017 Oracle and/or its affiliates. All rights reserved. - + + Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved. + The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You @@ -20,20 +20,20 @@ https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html or packager/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. - + When distributing the software, include this License Header Notice in each file and include the License file at packager/legal/LICENSE.txt. - + GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. - + Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" - + Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] @@ -45,7 +45,7 @@ and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. - + @@ -55,25 +55,25 @@ The following definitions that appear in the common shareable schema(s) of Java EE deployment descriptors should be
[jira] [Created] (NETBEANS-6432) Implement all abstract methods (hint bulb)
Burhan EMRE created NETBEANS-6432: - Summary: Implement all abstract methods (hint bulb) Key: NETBEANS-6432 URL: https://issues.apache.org/jira/browse/NETBEANS-6432 Project: NetBeans Issue Type: Bug Components: cnd - Editor Affects Versions: 12.5 Reporter: Burhan EMRE Fix For: 12.6 --- >Log Session: Tuesday, February 1, 2022 10:47:34 AM EET >System Info: Product Version = Apache NetBeans IDE 12.6 Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_191; Java HotSpot(TM) 64-Bit Server VM 25.191-b12; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.8.0_191-b12 Java Home = C:\Program Files\Java\jdk1.8.0_191\jre System Locale; Encoding = en_US (nb); Cp1252 Home Directory = C:\Users\Paratoner-WS Current Directory = C:\Program Files\NetBeans-12.6 User Directory = C:\Users\Paratoner-WS\AppData\Roaming\NetBeans\12.6 Cache Directory = C:\Users\Paratoner-WS\AppData\Local\NetBeans\Cache\12.6 Installation = C:\Program Files\NetBeans-12.6\netbeans\nb C:\Program Files\NetBeans-12.6\netbeans\ergonomics C:\Program Files\NetBeans-12.6\netbeans\ide C:\Program Files\NetBeans-12.6\netbeans\extide C:\Program Files\NetBeans-12.6\netbeans\java C:\Program Files\NetBeans-12.6\netbeans\apisupport C:\Program Files\NetBeans-12.6\netbeans\webcommon C:\Program Files\NetBeans-12.6\netbeans\websvccommon C:\Program Files\NetBeans-12.6\netbeans\enterprise C:\Program Files\NetBeans-12.6\netbeans\profiler C:\Program Files\NetBeans-12.6\netbeans\harness C:\Program Files\NetBeans-12.6\netbeans\cpplite C:\Program Files\NetBeans-12.6\netbeans\groovy C:\Program Files\NetBeans-12.6\netbeans\javafx C:\Program Files\NetBeans-12.6\netbeans\platform Boot & Ext. Classpath = C:\Program Files\Java\jdk1.8.0_191\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_191\jre\classes;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\zipfs.jar Application Classpath = C:\Program Files\NetBeans-12.6\netbeans\platform\lib\boot.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\lib\org-openide-modules.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.8.0_191\lib\dt.jar;C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar Startup Classpath = C:\Program Files\NetBeans-12.6\netbeans\platform\core\asm-9.2.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\asm-commons-9.2.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\asm-tree-9.2.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\core-base.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\core.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program Files\NetBeans-12.6\netbeans\platform\core\org-openide-filesystems.jar;C:\Program Files\NetBeans-12.6\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Program Files\NetBeans-12.6\netbeans\nb\core\locale\core_nb.jar --- INFO