svn commit: r46165 - /dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/ /release/netbeans/netbeans-vscode-ext/12.2.2/
Author: jtulach Date: Wed Feb 17 06:03:32 2021 New Revision: 46165 Log: Releasing (imperfect) NetBeans VSCode extension 12.2.2 Added: release/netbeans/netbeans-vscode-ext/12.2.2/ - copied from r46083, dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/ release/netbeans/netbeans-vscode-ext/12.2.2/apache-netbeans-java-12.2.2.vsix.asc - copied unchanged from r46084, dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/apache-netbeans-java-12.2.2.vsix.asc release/netbeans/netbeans-vscode-ext/12.2.2/netbeans-12.2.2-source.zip.asc - copied unchanged from r46084, dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/netbeans-12.2.2-source.zip.asc Removed: dev/netbeans/netbeans-vscode-ext/netbeans-vscode-ext-12.2.2/ - 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-5338) Update link to reporting issues
[ https://issues.apache.org/jira/browse/NETBEANS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomáš Procházka closed NETBEANS-5338. - > Update link to reporting issues > --- > > Key: NETBEANS-5338 > URL: https://issues.apache.org/jira/browse/NETBEANS-5338 > Project: NetBeans > Issue Type: Improvement >Affects Versions: 12.2 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Menu item Help > Report Issue and also exception dialog links directly to > list of issues in JIRA. > It would be better to link Reporting issues > (https://netbeans.apache.org/participate/report-issue.html) on NetBeans > website. > Page contains info how to report bug and what needs to be included in report. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Resolved] (NETBEANS-5338) Update link to reporting issues
[ https://issues.apache.org/jira/browse/NETBEANS-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomáš Procházka resolved NETBEANS-5338. --- Fix Version/s: 12.3 Resolution: Implemented PR was merged. > Update link to reporting issues > --- > > Key: NETBEANS-5338 > URL: https://issues.apache.org/jira/browse/NETBEANS-5338 > Project: NetBeans > Issue Type: Improvement >Affects Versions: 12.2 >Reporter: Tomáš Procházka >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Menu item Help > Report Issue and also exception dialog links directly to > list of issues in JIRA. > It would be better to link Reporting issues > (https://netbeans.apache.org/participate/report-issue.html) on NetBeans > website. > Page contains info how to report bug and what needs to be included in report. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [NETBEANS-5318] Confirmed projects are trusted in single IDE session.
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 754b2a0 [NETBEANS-5318] Confirmed projects are trusted in single IDE session. 754b2a0 is described below commit 754b2a0ed97e27163ab04036bfa39741b74a9bd3 Author: Svata Dedic AuthorDate: Mon Feb 15 16:28:35 2021 +0100 [NETBEANS-5318] Confirmed projects are trusted in single IDE session. --- .../org/netbeans/modules/gradle/ProjectTrust.java | 58 +++--- .../modules/gradle/api/execute/RunUtils.java | 5 +- 2 files changed, 53 insertions(+), 10 deletions(-) diff --git a/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java b/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java index adec605..114bfe7 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/ProjectTrust.java @@ -26,8 +26,10 @@ import java.security.InvalidKeyException; import java.security.Key; import java.security.NoSuchAlgorithmException; import java.util.Collections; +import java.util.HashSet; import java.util.List; import java.util.Random; +import java.util.Set; import java.util.prefs.Preferences; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; @@ -53,6 +55,11 @@ public class ProjectTrust { private final Key key; final Preferences projectTrust; final byte[] salt; + +/** + * Projects that are trusted just "transiently", for a single IDE session. + */ +private final Set temporaryTrustedIds = new HashSet<>(); ProjectTrust(Preferences prefs) { byte[] buf = prefs.getByteArray(KEY_SALT, null); @@ -65,7 +72,7 @@ public class ProjectTrust { projectTrust = prefs.node(NODE_PROJECT); key = new SecretKeySpec(salt, HMAC_SHA256); } - + /** * Returns true if the specified project is trusted. * @@ -73,6 +80,23 @@ public class ProjectTrust { * @return true if the given project is trusted. */ public boolean isTrusted(Project project) { +synchronized (this) { +if (temporaryTrustedIds.contains(getPathId(project))) { +return true; +} +} +return isTrustedPermanetly(project); +} + +/** + * Returns true if the specified project is trusted permanently. + * You should be probably using {@link #isTrusted} to avoid duplicate questions + * during one IDE run. + * + * @param project of the trust check. + * @return true if the given project is trusted. + */ +public boolean isTrustedPermanetly(Project project) { String pathId = getPathId(project); String projectId = projectTrust.get(pathId, null); if (projectId == null) { @@ -88,14 +112,19 @@ public class ProjectTrust { } return ret; } - + /** - * Marks the given project trusted, if it was not trusted before. + * Marks the given project trusted, if it was not trusted before. If {@code permanently} + * is true, the decision will be recorded for further IDE runs. + * * @param project the project to trust. */ -public void trustProject(Project project) { -if (!isTrusted(project)) { -String pathId = getPathId(project); +public void trustProject(Project project, boolean permanently) { +String pathId = getPathId(project); +synchronized (this) { +temporaryTrustedIds.add(pathId); +} +if (permanently && !isTrustedPermanetly(project)) { Path trustFile = getProjectTrustFile(project); byte[] rnd = new byte[16]; new Random().nextBytes(rnd); @@ -109,12 +138,27 @@ public class ProjectTrust { } /** - * Marks the given project not trusted. + * Marks the given project trusted, if it was not trusted before. The decision + * will be recorded persistently. + * + * @param project the project to trust. + */ +public void trustProject(Project project) { +trustProject(project, true); +} + +/** + * Marks the given project not trusted. The decision will be deleted also + * from the persistent storage and from the temporarily trusted projects. + * * @param project the project to remove trust from. */ public void distrustProject(Project project) { String pathId = getPathId(project); projectTrust.remove(pathId); +synchronized (this) { +temporaryTrustedIds.remove(pathId); +} Path trustFile = getProjectTrustFile(project); if (trustFile != null) { try { diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/RunUtils.java b/extide/gradle/src/org/netbeans/modules
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Description: A common line of code like this one {code:java} https://fonts.gstatic.com";>{code} is marked as "Bad value" with this phrase: _Bad value "preconnect" for attribute "rel" on element "link": The string "preconnect" is not a registered keyword._ _Syntax of list of link-type keywords:_ _A whitespace-separated list of link types listed as allowed on '' in the HTML specification or listed as an allowed on '' on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself._ Actually rel="preconnect" is valid code, as shown here [https://www.w3.org/TR/resource-hints/] so should be added to the validator. I wonder what's and where is the Microformats wiki the message is talking about... was: A common line of code like this one https://fonts.gstatic.com";> is marked as "Bad value" because the validator doesn't like the "preconnect" value for "rel". Actually rel="preconnect" is valid code, as shown here [https://www.w3.org/TR/resource-hints/] > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Editor >Affects Versions: 12.0 >Reporter: Riksoft >Priority: Minor > > A common line of code like this one > {code:java} > https://fonts.gstatic.com";>{code} > is marked as "Bad value" with this phrase: > _Bad value "preconnect" for attribute "rel" on element "link": The string > "preconnect" is not a registered keyword._ > _Syntax of list of link-type keywords:_ > _A whitespace-separated list of link types listed as allowed on '' in > the HTML specification or listed as an allowed on '' on the > Microformats wiki without duplicate keywords in the list. You can register > link types on the Microformats wiki yourself._ > Actually rel="preconnect" is valid code, as shown here > [https://www.w3.org/TR/resource-hints/] so should be added to the validator. > I wonder what's and where is the Microformats wiki the message is talking > about... > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (3875441 -> bdc741c)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 3875441 docs (DialogDisplayer notifyLater) small typo add bdc741c [NETBEANS-5353] Use cleanTest instead of rerun-tasks to force test to run. No new revisions were added by this update. Summary of changes: .../src/org/netbeans/modules/gradle/java/action-mapping.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Description: A common line of code like this one https://fonts.gstatic.com";> is marked as "Bad value" because the validator doesn't like the "preconnect" value for "rel". Actually rel="preconnect" is valid code, as shown here [https://www.w3.org/TR/resource-hints/] was: A common line of code like this one https://fonts.gstatic.com";> is marked as "Bad value" because the validator doesn't like the "preconnect" value for "rel". Actually rel="preconnect" is valid code, as shown here https://www.w3.org/TR/resource-hints/ > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Editor >Affects Versions: 12.0 >Reporter: Riksoft >Priority: Minor > > A common line of code like this one > https://fonts.gstatic.com";> > is marked as "Bad value" because the validator doesn't like the "preconnect" > value for "rel". > Actually rel="preconnect" is valid code, as shown here > [https://www.w3.org/TR/resource-hints/] -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Description: A common line of code like this one https://fonts.gstatic.com";> is marked as "Bad value" because the validator doesn't like the "preconnect" value for "rel". Actually rel="preconnect" is valid code, as shown here https://www.w3.org/TR/resource-hints/ > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Editor >Affects Versions: 12.0 >Reporter: Riksoft >Priority: Minor > > A common line of code like this one > https://fonts.gstatic.com";> > is marked as "Bad value" because the validator doesn't like the "preconnect" > value for "rel". > Actually rel="preconnect" is valid code, as shown here > https://www.w3.org/TR/resource-hints/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-jenkins-lib] branch master updated: try to build on several jdk
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 351a99b try to build on several jdk 351a99b is described below commit 351a99b9d0e54f886e9d27fa35c11c1f33948f6d Author: Eric Barboni AuthorDate: Tue Feb 16 17:37:01 2021 +0100 try to build on several jdk --- vars/asfStandardUtilitiesBuild.groovy | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/vars/asfStandardUtilitiesBuild.groovy b/vars/asfStandardUtilitiesBuild.groovy index 07f3083..3251aea 100644 --- a/vars/asfStandardUtilitiesBuild.groovy +++ b/vars/asfStandardUtilitiesBuild.groovy @@ -60,13 +60,14 @@ def call(Map params = [:]) { agent { node { label 'ubuntu' } } options { timeout(time: 120, unit: 'MINUTES') } steps{ - def jdklist = ['jdk_11_latest','jdk_12_latest','jdk_13_latest','jdk_14_latest','jdk_15_latest'] - for (ajdk in jdklist) { - stage("build on $ajdk") { - mavenBuild( ajdk, cmdline, mvnName, publishers,false) - } + script { + def jdklist = ['jdk_11_latest','jdk_12_latest','jdk_13_latest','jdk_14_latest','jdk_15_latest'] + for (ajdk in jdklist) { + stage("build on $ajdk") { + mavenBuild( ajdk, cmdline, mvnName, publishers,false) + } + } } - } } } - 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: Update asfStandardUtilitiesBuild.groovy
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 5d1e6f3 Update asfStandardUtilitiesBuild.groovy 5d1e6f3 is described below commit 5d1e6f3a678c9eea38d5c01aaddd99afd16f5e07 Author: Eric Barboni AuthorDate: Tue Feb 16 17:33:28 2021 +0100 Update asfStandardUtilitiesBuild.groovy try to build nbmplugin and sibling on several jdk --- vars/asfStandardUtilitiesBuild.groovy | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/vars/asfStandardUtilitiesBuild.groovy b/vars/asfStandardUtilitiesBuild.groovy index 3364679..07f3083 100644 --- a/vars/asfStandardUtilitiesBuild.groovy +++ b/vars/asfStandardUtilitiesBuild.groovy @@ -49,28 +49,23 @@ def call(Map params = [:]) { pollSCM('H/5 * * * * ') } stages{ -stage("Build with xvfb") { +stage("Build with jdk 8 ") { agent { node { label 'ubuntu' } } -options { timeout(time: 120, unit: 'MINUTES') } -when {expression { -return xvfb -} -} +options { timeout(time: 120, unit: 'MINUTES') } steps{ -wrap([$class: 'Xvfb', additionalOptions: '', assignedLabels: '', displayNameOffset: 0, installationName: 'Xvfb', parallelBuild: true, screen: '']) { -mavenBuild( jdk, cmdline, mvnName, publishers) -} +mavenBuild( 'jdk_1.8_latest', cmdline, mvnName, publishers,true) } } -stage("Build") { +stage("Build on recent jdk") { agent { node { label 'ubuntu' } } -options { timeout(time: 120, unit: 'MINUTES') } -when {expression { -return !xvfb -} -} +options { timeout(time: 120, unit: 'MINUTES') } steps{ -mavenBuild( jdk, cmdline, mvnName, publishers) + def jdklist = ['jdk_11_latest','jdk_12_latest','jdk_13_latest','jdk_14_latest','jdk_15_latest'] + for (ajdk in jdklist) { + stage("build on $ajdk") { + mavenBuild( ajdk, cmdline, mvnName, publishers,false) + } + } } } @@ -112,7 +107,7 @@ def call(Map params = [:]) { * @param publishers array of publishers to configure (need to be defined as we publisherStrategy: 'EXPLICIT') * @return the Jenkinsfile step representing a maven build */ -def mavenBuild(jdk, cmdline, mvnName, publishers) { +def mavenBuild(jdk, cmdline, mvnName, publishers,archive) { def localRepo = "../.maven_repositories/${env.EXECUTOR_NUMBER}" // ".repository" // //def settingsName = 'archiva-uid-jenkins' def mavenOpts = '-Xms1g -Xmx4g -Djava.awt.headless=true' @@ -129,7 +124,9 @@ def mavenBuild(jdk, cmdline, mvnName, publishers) { sh "mvn -V -B -U -e -DskipBrowserTests -Dmaven.test.failure.ignore=true $cmdline " sh "mv target/*-site.jar WEBSITE.zip" } -archiveArtifacts 'WEBSITE.zip' +if (archive) { + archiveArtifacts 'WEBSITE.zip' +} } def notifyBuild(String buildStatus) { - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Component/s: php - Editor php - Code Analysis > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug > Components: php - Code Analysis, php - Editor >Affects Versions: 12.0 >Reporter: Riksoft >Priority: Minor > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Priority: Minor (was: Major) > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug >Reporter: Riksoft >Priority: Minor > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Affects Version/s: 12.0 > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0 >Reporter: Riksoft >Priority: Minor > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5369) link rel preconnect marked as bad value
[ https://issues.apache.org/jira/browse/NETBEANS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Riksoft updated NETBEANS-5369: -- Summary: link rel preconnect marked as bad value (was: link rel preconnect) > link rel preconnect marked as bad value > --- > > Key: NETBEANS-5369 > URL: https://issues.apache.org/jira/browse/NETBEANS-5369 > Project: NetBeans > Issue Type: Bug >Reporter: Riksoft >Priority: Major > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5369) link rel preconnect
Riksoft created NETBEANS-5369: - Summary: link rel preconnect Key: NETBEANS-5369 URL: https://issues.apache.org/jira/browse/NETBEANS-5369 Project: NetBeans Issue Type: Bug Reporter: Riksoft -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-5318) Gradle priming build in VSCode is asking again and again.
[ https://issues.apache.org/jira/browse/NETBEANS-5318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5318: - Labels: pull-request-available (was: ) > Gradle priming build in VSCode is asking again and again. > - > > Key: NETBEANS-5318 > URL: https://issues.apache.org/jira/browse/NETBEANS-5318 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.3 > Environment: Ubuntu 20.04, GraalVM 21.0 Jdk 8. >Reporter: Martin Balin >Assignee: Svatopluk Dedic >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 10m > Remaining Estimate: 0h > > Running VSNetBeans 12.3.286 with GraalVM Micronaut ext. Create Gradle MN > project. > VSNB asks for Gradle priming build many times, message: > "NetBeans is about to invoke a Gradle build process of the project: demog. > Executing Gradle can be potentially un-safe as it allows arbitrary code > execution." > I always answered OK, but it was appearing again and again. > After that i invoked "Java: Compile workspace" and it built and also problem > with underlined "package" statement went away, this is great. > Should to be fixed for 12.3 final. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5368) Deadlock while performing build with ant
Georg Lodde created NETBEANS-5368: - Summary: Deadlock while performing build with ant Key: NETBEANS-5368 URL: https://issues.apache.org/jira/browse/NETBEANS-5368 Project: NetBeans Issue Type: Bug Components: projects - Ant Affects Versions: 12.2 Reporter: Georg Lodde DeadLockWatchDog::Info 16.02.2021 13:47:30,920 - parallel-Timer-0-521 Dump Of All Stack Traces "Thread-316"-742 BLOCKED 3eb00055 waiting on org.apache.tools.ant.AntClassLoader@208b152f locked by "Thread-312-738" at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1083) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at de.materna.view.build.ant.taskdefs.SignedForClient.setPermissions(SignedForClient.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.IntrospectionHelper$AttributeSetter.setObject(IntrospectionHelper.java:1488) at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:406) - locked at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:527) at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:463) at org.apache.tools.ant.Task.maybeConfigure(Task.java:203) at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:201) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:165) at org.apache.tools.ant.Task.perform(Task.java:349) at org.apache.tools.ant.taskdefs.Sequential$$Lambda$287/1616945790.accept(Unknown Source) - locked at java.util.Vector.forEach(Vector.java:1277) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67) at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) at sun.reflect.GeneratedMethodAccessor431.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.taskdefs.Sequential$$Lambda$287/1616945790.accept(Unknown Source) - locked at java.util.Vector.forEach(Vector.java:1277) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391) at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.taskdefs.Parallel$TaskRunnable.run(Parallel.java:454) at java.lang.Thread.run(Thread.java:748) "Thread-315"-741 BLOCKED 7f8d0a6e waiting on org.apache.tools.ant.AntClassLoader@208b152f locked by "Thread-312-738" at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1083) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at de.materna.view.build.ant.taskdefs.SignedForClient.setPermissions(SignedForClient.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tools.ant.IntrospectionHelper$AttributeSetter.setObject(IntrospectionHelper.java:1488) at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:406) - locked at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:527)
[netbeans-jenkins-lib] branch master updated: Update for 12.3 Beta 3
This is an automated email from the ASF dual-hosted git repository. geertjan 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 81a017c Update for 12.3 Beta 3 81a017c is described below commit 81a017c7d2a7bfaa092e08c1dfc094d1a78ebd66 Author: Geertjan Wielenga AuthorDate: Tue Feb 16 12:33:48 2021 +0100 Update for 12.3 Beta 3 --- meta/netbeansrelease.json | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index a05f0bd..ffeb079 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -375,7 +375,11 @@ "f2751c2c69a1b418610b066a22f3a27847ddd5e4": { "version": "beta2", "position": "2" -} +}, +"c3d4f6fa6c956cf1b5a35e8da4f44a96ab76f6a9": { +"version": "beta3", +"position": "3" +} }, "releasedate": { "day": "-", - 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 release123 updated (f2751c2 -> c3d4f6f)
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a change to branch release123 in repository https://gitbox.apache.org/repos/asf/netbeans.git. from f2751c2 Merge pull request #2715 from apache/delivery add e59eca1 [NETBEANS-5336] Replace jcenter() to mavenCentral() in Gradle Projects add 77a0647 [NETBEANS-5340] Prevent NPE on TaskNode when opening Gradle Projects add 38f7417 [NETBEANS-5161] Prevent IAE when resolving composite project dependencies add f6dfdf3 [NETBEANS-419] Fixed grammar in About dialog add 664e7ec Assure that the TerminatedEvent is sent only after the debuggee finishes. add cf30670 Change the Run code lens action to start through debugging with noDebug=true. add cb0f5db Extension debug types corrected. add 09d83f0 Merge pull request #2725 from entlicher/vscodeext_CodelensOutputFixes add 8cc918b Always do save modified files when used through LSP. We get all the changes through the protocol. add 76317c1 Merge pull request #2730 from entlicher/vscodeext_SaveModifiedFiles add af63abb Correct the breakpoint functionality in cpplite debugger. add ac5046d Merge pull request #2726 from entlicher/CPPLiteDebugBreakpoints add 0f36a3f Showing completions returned by annotation Processors in VS Code. add 3a750f5 Merge pull request #2736 from jlahoda/java-lsp-annotations add 944465b [NETBEANS-5338] Updated link to issue reportinh add d1278a7 Merge pull request #2738 from KacerCZ/netbeans-5338-update-issue-links add 0c8fcb3 Update the year in the NOTICE file to 2021 add e5adbc1 Merge pull request #2746 from lkishalmi/NOTICE-2021 add 1b7c405 VSNetBeans changelog update for 12.3 rel. add 208af43 Merge pull request #2751 from MartinBalin/vscode_changelog add d4cb4de Adding exports so that opening classfiles without sources works. add 6dd33b4 Merge pull request #2752 from jlahoda/decompile-on-jdk16 add 6d33c20 Removing delay after launch Project action terminates. add e076145 Merge pull request #2754 from sdedic/lsp/bugfix/after-run-delay add ac183a7 Keep only nbjavac's update center enabled add 6203bfe Make sure only 3rdparty update center remais enabled add fa85b51 Search just for the java.lsp.server name in the output add cd63747 Check just a few well known clusters add 0b1145e Merge pull request #2757 from JaroslavTulach/jtulach/OnlyEnableNbJavacCataglog add 1fdd127 [NETBEANS-5362] Update FlatLaf from 1.0-rc2 to 1.0 to fix NPE in Jvi plugin when showing popup add 573b2d9 Merge pull request #2760 from DevCharly/NETBEANS-5362 add 79ccf1d [NETBEANS-5055][NETBEANS-5109] Update to (Maven distributed) nbjavac 15.0.0.2 add 0536335 Merge pull request #2759 from matthiasblaesing/update-nbjavac add 40ad049 Fixing failing nb-javac tests. add 434a262 Merge pull request #2763 from dbalek/dbalek/fix-for-nb-javac-tests new c3d4f6f Merge pull request #2748 from apache/delivery The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: NOTICE | 2 +- .../org.netbeans.spi.viewmodel.NodeModel | 1 - .../org.netbeans.spi.debugger.ActionsProvider | 2 - ...tbeans.api.debugger.LazyDebuggerManagerListener | 2 - .../org.netbeans.api.debugger.Properties$Reader| 1 - .../modules/cpplite/debugger/Bundle.properties | 27 --- .../cpplite/debugger/CPPLiteActionsProvider.java | 144 +++ .../modules/cpplite/debugger/CPPLiteDebugger.java | 263 ++-- .../modules/cpplite/debugger/CPPThread.java| 3 + .../cpplite/debugger/DebuggerAnnotation.java | 37 ++- .../debugger/DebuggerBreakpointAnnotation.java | 115 +++-- .../breakpoints/BreakpointAnnotationListener.java | 111 - .../breakpoints/BreakpointAnnotationProvider.java | 269 + .../debugger/breakpoints/BreakpointModel.java | 21 +- .../debugger/breakpoints/BreakpointsReader.java| 40 +-- .../debugger/breakpoints/CPPLiteBreakpoint.java| 74 -- .../CPPLiteBreakpointActionProvider.java | 28 +-- .../debugger/breakpoints/LoadBreakpoints.java | 41 .../debugger/breakpoints/PersistenceManager.java | 2 + .../debuggingview/DebuggingViewSupportImpl.java| 2 +- .../cpplite/debugger/AbstractDebugTest.java| 111 + .../modules/cpplite/debugger/BreakpointsTest.java | 147 +++ .../modules/cpplite/debugger/StepTest.java | 69 +- extide/gradle/netbeans-gradle-tooling/build.gradle | 2 +- .../src/test/data/multi/build.gradle | 2 +- .../src/test/data/simple-with-tests/build.gr
[netbeans] 01/01: Merge pull request #2748 from apache/delivery
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch release123 in repository https://gitbox.apache.org/repos/asf/netbeans.git commit c3d4f6fa6c956cf1b5a35e8da4f44a96ab76f6a9 Merge: f2751c2 434a262 Author: Geertjan Wielenga AuthorDate: Tue Feb 16 12:27:46 2021 +0100 Merge pull request #2748 from apache/delivery Sync delivery to release123 for NB 12.3-beta3 NOTICE | 2 +- .../org.netbeans.spi.viewmodel.NodeModel | 1 - .../org.netbeans.spi.debugger.ActionsProvider | 2 - ...tbeans.api.debugger.LazyDebuggerManagerListener | 2 - .../org.netbeans.api.debugger.Properties$Reader| 1 - .../modules/cpplite/debugger/Bundle.properties | 27 --- .../cpplite/debugger/CPPLiteActionsProvider.java | 144 +++ .../modules/cpplite/debugger/CPPLiteDebugger.java | 263 ++-- .../modules/cpplite/debugger/CPPThread.java| 3 + .../cpplite/debugger/DebuggerAnnotation.java | 37 ++- .../debugger/DebuggerBreakpointAnnotation.java | 115 +++-- .../breakpoints/BreakpointAnnotationListener.java | 111 - .../breakpoints/BreakpointAnnotationProvider.java | 269 + .../debugger/breakpoints/BreakpointModel.java | 21 +- .../debugger/breakpoints/BreakpointsReader.java| 40 +-- .../debugger/breakpoints/CPPLiteBreakpoint.java| 74 -- .../CPPLiteBreakpointActionProvider.java | 28 +-- .../debugger/breakpoints/LoadBreakpoints.java | 41 .../debugger/breakpoints/PersistenceManager.java | 2 + .../debuggingview/DebuggingViewSupportImpl.java| 2 +- .../cpplite/debugger/AbstractDebugTest.java| 111 + .../modules/cpplite/debugger/BreakpointsTest.java | 147 +++ .../modules/cpplite/debugger/StepTest.java | 69 +- extide/gradle/netbeans-gradle-tooling/build.gradle | 2 +- .../src/test/data/multi/build.gradle | 2 +- .../src/test/data/simple-with-tests/build.gradle | 2 +- .../src/test/data/unresolvable/build.gradle| 2 +- .../modules/gradle/GradleModuleFileCache21.java| 2 +- .../modules/gradle/api/GradleBaseProject.java | 9 +- .../gradle/api/GradleBaseProjectBuilder.java | 38 +-- .../modules/gradle/api/GradleConfiguration.java| 6 +- .../modules/gradle/api/GradleDependency.java | 16 +- .../gradle/execute/navigator/TasksPanel.java | 7 +- .../gradle/newproject/multi-root.gradle.template | 2 +- .../gradle/newproject/single-build.gradle.template | 2 +- .../src/org/netbeans/api/debugger/Breakpoint.java | 2 +- java/java.lsp.server/build.xml | 6 +- .../modules/openide/loaders/Bundle.properties | 2 +- .../java.lsp.server/nbcode/integration/manifest.mf | 1 + .../nbcode/integration/nbproject/project.xml | 17 ++ .../netbeans/modules/nbcode/integration/layer.xml} | 22 +- .../integration/VerifyJustOneUpdateCenterTest.java | 48 .../nbcode/nbproject/platform.properties | 6 + .../lsp/server/debugging/NbSourceProvider.java | 13 +- .../java/lsp/server/debugging/NbThreads.java | 10 - .../debugging/launch/NbLaunchRequestHandler.java | 39 +-- .../launch/NbLaunchWithDebuggingDelegate.java | 13 + .../modules/java/lsp/server/protocol/Server.java | 5 +- .../server/protocol/TextDocumentServiceImpl.java | 26 +- .../lsp/server/protocol/WorkspaceServiceImpl.java | 67 - .../java/lsp/server/protocol/ServerTest.java | 71 +- java/java.lsp.server/vscode/CHANGELOG.md | 10 + java/java.lsp.server/vscode/package-lock.json | 6 +- java/java.lsp.server/vscode/package.json | 4 +- java/java.lsp.server/vscode/src/extension.ts | 17 +- .../vscode/src/test/suite/extension.test.ts| 24 +- .../modules/java/source/save/CasualDiff.java | 2 +- java/libs.javacapi/external/binaries-list | 2 +- ...cense.txt => nb-javac-15.0.0.2-api-license.txt} | 2 +- java/libs.javacapi/nbproject/project.xml | 2 +- java/libs.javacimpl/external/binaries-list | 2 +- ...l-license.txt => nb-javac-15.0.0.2-license.txt} | 2 +- java/libs.javacimpl/nbproject/project.xml | 2 +- .../src/org/netbeans/core/Bundle_nb.properties | 2 +- nb/ide.launcher/netbeans.conf | 3 +- nb/updatecenters/extras/nbjavac.api/manifest.mf| 2 +- .../extras/nbjavac.api/nbproject/project.xml | 4 +- .../modules/ext/nb-javac-15-api.jar.external | 6 - .../modules/ext/nb-javac-15.0.0.2-api.jar.external | 5 + nb/updatecenters/extras/nbjavac.impl/manifest.mf | 2 +- .../extras/nbjavac.impl/nbproject/project.xml | 4 +- .../modules/ext/nb-javac-15-impl.jar.external | 6 - .../ext/nb-javac-15.0.0.2-impl.jar.external| 5 + nb/updatecenters/licenseinfo.xml
[netbeans] branch delivery updated: Fixing failing nb-javac tests.
This is an automated email from the ASF dual-hosted git repository. geertjan 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 40ad049 Fixing failing nb-javac tests. new 434a262 Merge pull request #2763 from dbalek/dbalek/fix-for-nb-javac-tests 40ad049 is described below commit 40ad0491ffd7dd640c09c17e5d6008aeec1e944e Author: Dusan Balek AuthorDate: Tue Feb 16 11:21:40 2021 +0100 Fixing failing nb-javac tests. --- .../src/org/netbeans/modules/java/source/save/CasualDiff.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java b/java/java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java index edbce4c..657cb7f 100644 --- a/java/java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java +++ b/java/java.source.base/src/org/netbeans/modules/java/source/save/CasualDiff.java @@ -1422,7 +1422,7 @@ public class CasualDiff { // check that it is not enum constant. If so, match it in special way if ((oldT.mods.flags & Flags.ENUM) != 0) { JCModifiers mods = oldT.getModifiers(); -int startPos = mods.pos != Position.NOPOS ? getOldPos(mods) : getOldPos(parent); +int startPos = mods.pos != Position.NOPOS ? getOldPos(mods) : getOldPos(oldT); localPointer = diffAnnotationsLists(mods.getAnnotations(), newT.getModifiers().getAnnotations(), startPos, localPointer); - 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-5125) NullPointerException in MultiPassCompileWorker
[ https://issues.apache.org/jira/browse/NETBEANS-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285109#comment-17285109 ] Ben Oesch commented on NETBEANS-5125: - I got the very same exception like [~s42]. I was updating an import statement, that Netbeans missed to adapt when refactoring. Background Scanning started afterwards and threw this exception. > NullPointerException in MultiPassCompileWorker > -- > > Key: NETBEANS-5125 > URL: https://issues.apache.org/jira/browse/NETBEANS-5125 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.2 >Reporter: Tomáš Hurýn >Priority: Major > Attachments: gestures.txt, messages.txt, nb-javac-15-api.jar, > nb-javac-15-impl.jar, soap.zip > > > Steps to reproduce: > * right click on main maven project and select Clean and build > * when build successfully completes scanning starts and throws an Exception > On NB 12.1. works fine without any errors. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists