[netbeans-jackpot30] branch master updated: Fixing tests.
This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git The following commit(s) were added to refs/heads/master by this push: new 13e22c1 Fixing tests. 13e22c1 is described below commit 13e22c19c583f2ca687f951c64aab9f3f271c0fc Author: Jan Lahoda AuthorDate: Sat Jun 18 07:27:24 2022 +0200 Fixing tests. --- cmdline/maven/tests/fail-on-warnings2/golden | 9 + cmdline/maven/tests/fail-on-warnings2/pom.xml | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cmdline/maven/tests/fail-on-warnings2/golden b/cmdline/maven/tests/fail-on-warnings2/golden index bea3cf1..91c448d 100644 --- a/cmdline/maven/tests/fail-on-warnings2/golden +++ b/cmdline/maven/tests/fail-on-warnings2/golden @@ -1,12 +1,5 @@ ${basedir}/src/main/java/test/App.java:24: warning: [Convert_to_Lambda_or_Member_Reference] This anonymous inner class creation can be turned into a lambda expression. Runnable r = new Runnable() { public void run() { } }; ^ -[ERROR] Failed to execute goal org.apache.netbeans.modules.jackpot30:jackpot30-maven-plugin:13.0:analyze (default-cli) on project maven-test: jackpo30 failed. -> [Help 1] -[ERROR] -[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. -[ERROR] Re-run Maven using the -X switch to enable full debug logging. -[ERROR] -[ERROR] For more information about the errors and possible solutions, please read the following articles: -[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException -result: 1 \ No newline at end of file +result: 0 \ No newline at end of file diff --git a/cmdline/maven/tests/fail-on-warnings2/pom.xml b/cmdline/maven/tests/fail-on-warnings2/pom.xml index 0dadded..19c02d8 100644 --- a/cmdline/maven/tests/fail-on-warnings2/pom.xml +++ b/cmdline/maven/tests/fail-on-warnings2/pom.xml @@ -47,6 +47,7 @@ ${jackpot.plugin.version} jackpot-settings.xml + 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] branch master updated: Update asm from 9.2 to 9.3 (#3954)
This is an automated email from the ASF dual-hosted git repository. pepness 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 624fb161a2 Update asm from 9.2 to 9.3 (#3954) 624fb161a2 is described below commit 624fb161a2f6768f5e829fd28e7c2b47e0df6cb1 Author: José Contreras AuthorDate: Fri Jun 17 21:19:21 2022 + Update asm from 9.2 to 9.3 (#3954) --- harness/apisupport.harness/build.xml | 4 ++-- java/lib.jshell.agent/nbproject/project.properties | 2 +- nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps | 6 +++--- nbbuild/templates/common.xml | 6 +++--- .../external/{asm-9.2-license.txt => asm-9.3-license.txt}| 4 ++-- platform/libs.asm/external/binaries-list | 6 +++--- platform/libs.asm/nbproject/project.properties | 8 platform/libs.asm/nbproject/project.xml | 12 ++-- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/harness/apisupport.harness/build.xml b/harness/apisupport.harness/build.xml index eef8ea339f..19ca3c1da1 100644 --- a/harness/apisupport.harness/build.xml +++ b/harness/apisupport.harness/build.xml @@ -39,13 +39,13 @@ -81A03F76019C67362299C40E0BA13405F5467BFF org.ow2.asm:asm:9.2 +8E6300EF51C1D801A7ED62D07CD221ACA3A90640 org.ow2.asm:asm:9.3 - + diff --git a/java/lib.jshell.agent/nbproject/project.properties b/java/lib.jshell.agent/nbproject/project.properties index de4c0e921c..04dcbe4696 100644 --- a/java/lib.jshell.agent/nbproject/project.properties +++ b/java/lib.jshell.agent/nbproject/project.properties @@ -21,5 +21,5 @@ javac.compilerargs=-Xlint -Xlint:-serial extra.module.files=modules/ext/nb-custom-jshell-probe.jar,modules/ext/nb-mod-jshell-probe.jar jnlp.indirect.jars=modules/ext/nb-custom-jshell-probe.jar,modules/ext/nb-mod-jshell-probe.jar -agentsrc.asm.cp=${libs.asm.dir}/core/asm-9.2.jar +agentsrc.asm.cp=${libs.asm.dir}/core/asm-9.3.jar agentsrc.jshell.cp=${nb_all}/java/libs.jshell.compile/external/jshell-9.jar diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps index 121755049e..637aaea636 100644 --- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps +++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps @@ -81,9 +81,9 @@ extide/gradle/external/gradle-7.4-bin.zip platform/libs.testng/external/jcommand extide/gradle/external/gradle-7.4-bin.zip platform/o.apache.commons.io/external/commons-io-2.6.jar extide/gradle/external/gradle-7.4-bin.zip enterprise/cloud.oracle/external/jsr305-3.0.2.jar extide/gradle/external/gradle-7.4-bin.zip platform/o.apache.commons.codec/external/commons-codec-1.15.jar -extide/gradle/external/gradle-7.4-bin.zip platform/libs.asm/external/asm-9.2.jar -extide/gradle/external/gradle-7.4-bin.zip platform/libs.asm/external/asm-commons-9.2.jar -extide/gradle/external/gradle-7.4-bin.zip platform/libs.asm/external/asm-tree-9.2.jar +extide/gradle/external/gradle-7.4-bin.zip platform/libs.asm/external/asm-9.3.jar +extide/gradle/external/gradle-7.4-bin.zip platform/libs.asm/external/asm-commons-9.3.jar +extide/gradle/external/gradle-7.4-bin.zip platform/libs.asm/external/asm-tree-9.3.jar extide/gradle/external/gradle-7.4-bin.zip platform/libs.batik.read/external/xml-apis-1.4.01.jar # These are the endorsed version of the javaee apis and create libraries, so they are better kept separate diff --git a/nbbuild/templates/common.xml b/nbbuild/templates/common.xml index 33917eb809..b8f4d3e431 100644 --- a/nbbuild/templates/common.xml +++ b/nbbuild/templates/common.xml @@ -79,10 +79,10 @@ - - + + - + diff --git a/platform/libs.asm/external/asm-9.2-license.txt b/platform/libs.asm/external/asm-9.3-license.txt similarity index 96% rename from platform/libs.asm/external/asm-9.2-license.txt rename to platform/libs.asm/external/asm-9.3-license.txt index c66790f734..b6dc389dab 100644 --- a/platform/libs.asm/external/asm-9.2-license.txt +++ b/platform/libs.asm/external/asm-9.3-license.txt @@ -1,6 +1,6 @@ Name: OW2 ASM -Version: 9.2 -Files: asm-tree-9.2.jar asm-commons-9.2.jar asm-9.2.jar +Version: 9.3 +Files: asm-tree-9.3.jar asm-commons-9.3.jar asm-9.3.jar License: BSD-INRIA Origin: OW2 Consortium URL: https://repository.ow2.org/nexus/content/repositories/releases/org/ow2/asm/ diff --git a/platform/libs.asm/external/binaries-list b/platform/libs.asm/external/binaries-list index 043d3bc479..ad6ac67771 100755 ---
[netbeans-jenkins-lib] branch master updated: remove non existing target
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 e5690bf remove non existing target e5690bf is described below commit e5690bfc1fd5cd9cb648d333f2b2c3bab57ef182 Author: Eric Barboni AuthorDate: Fri Jun 17 23:12:53 2022 +0200 remove non existing target --- vars/asfMainNetBeansBuild.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy index 587121b..1bad890 100644 --- a/vars/asfMainNetBeansBuild.groovy +++ b/vars/asfMainNetBeansBuild.groovy @@ -368,7 +368,6 @@ def doParallelClusters(cconfigs) { def localRepo = ".repository" def netbeansbase = "build-${clustername}-temp/nbbuild" -sh "ant -f build-${clustername}-temp/build.xml getallmavencoordinates -Dmetabuild.branch=${branch}" withMaven(maven:tooling.myMaven,jdk:tooling.jdktool,publisherStrategy: 'EXPLICIT',mavenLocalRepo: localRepo,options:[artifactsPublisher(disabled: true)]) { sh "mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=org.apache.netbeans.utilities:nb-repository-plugin:${repopluginversion} -Dmaven.repo.local=${env.WORKSPACE}/.repository -DremoteRepositories=apache.snapshots.httpshttps://repository.apache.org/snapshots; - 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: Improve stability of gradle build info extraction
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing 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 7e5e8f3484 Improve stability of gradle build info extraction new e2d8fdf156 Merge pull request #4222 from matthiasblaesing/gradle_improvements 7e5e8f3484 is described below commit 7e5e8f34848c0b5fcffe2b2db883566f28c573a9 Author: Matthias Bläsing AuthorDate: Sun Jun 12 21:02:17 2022 +0200 Improve stability of gradle build info extraction While trying to work with the gradle projects from liferay-portal it was observed, that loading failed with an exception. There are two problems: 1. The liferay build provides incomplete implementation of JavaExec, which do not support setting the standard input 2. The generated UnsupportedOperation exception carries a null message, rendering the @NonNull annotation in GradleReport invalid and causing NullPointerExceptions in use sites. Fixes: 1. Setting stdin is changed to be a best-effort operation. It is assumed that, if the setter fails, the access to stdin is not expected and thus does not need to be wired. 2. If a null message is passed into GradleReport, it is replaced with an empty string. --- .../modules/gradle/tooling/NetBeansRunSinglePlugin.java | 16 +--- .../src/org/netbeans/modules/gradle/GradleReport.java| 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java index b3041bfb52..2ca9b4335d 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java +++ b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java @@ -19,19 +19,21 @@ package org.netbeans.modules.gradle.tooling; -import java.util.ArrayList; import static java.util.Arrays.asList; +import org.gradle.api.logging.Logger; +import org.gradle.api.logging.Logging; +import org.gradle.api.logging.LogLevel; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.tasks.JavaExec; import org.gradle.api.tasks.SourceSetContainer; import org.gradle.process.CommandLineArgumentProvider; - /** * * @author Laszlo Kishalmi */ class NetBeansRunSinglePlugin implements Plugin { +private static final Logger LOG = Logging.getLogger(NetBeansRunSinglePlugin.class); private static final String RUN_SINGLE_TASK = "runSingle"; private static final String RUN_SINGLE_MAIN = "runClassName"; @@ -59,7 +61,15 @@ class NetBeansRunSinglePlugin implements Plugin { } }); } -je.setStandardInput(System.in); +try { +je.setStandardInput(System.in); +} catch (RuntimeException ex) { +if(LOG.isEnabled(LogLevel.DEBUG)) { +LOG.debug("Failed to set STDIN for Plugin: " + je.toString(), ex); +} else { +LOG.info("Failed to set STDIN for Plugin: " + je.toString()); +} +} if (project.hasProperty(RUN_SINGLE_CWD)) { je.setWorkingDir(project.property(RUN_SINGLE_CWD).toString()); } diff --git a/extide/gradle/src/org/netbeans/modules/gradle/GradleReport.java b/extide/gradle/src/org/netbeans/modules/gradle/GradleReport.java index 18a646c31b..f6aabe0db0 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/GradleReport.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/GradleReport.java @@ -46,7 +46,7 @@ public final class GradleReport { this.errorClass = errorClass; this.location = location; this.line = line; -this.message = message; +this.message = message == null ? "" : message; this.causedBy = causedBy; } - 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: more test on drafter
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.git The following commit(s) were added to refs/heads/master by this push: new aa735cb34b more test on drafter aa735cb34b is described below commit aa735cb34b5d3f72c9c21df3bee94a59f9a33679 Author: Eric Barboni AuthorDate: Fri Jun 17 20:03:30 2022 +0200 more test on drafter --- .github/release-drafter.yml | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 0838ad2a95..63592bd348 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -19,8 +19,15 @@ categories: - title: 'API Changes' labels: - 'API Change' -include-labels: - - 'API Change' + - title: 'UI Changes' +labels: + - 'UI' + - title: 'Gradle' +labels: + - 'Gradle' + - title: 'Maven' +labels: + - 'Maven' template: | ## What’s Changed - 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 (88ee9836ea -> 19bb89443f)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git from 88ee9836ea Apache NetBeans version 14 to issue Template ctd new 5b822a305e Try to generate to test security new f2d3648260 remove goal new 158f58d400 create a new ant task to generate skeleton new 3bb76f7feb fix closing new 53cf3c794c remove useless set creation new 19bb89443f Merge pull request #4194 from ebarboni/mvntest The 7158 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: .github/workflows/main.yml | 3 - .../nbbuild/extlibs/MavenSkeletonProject.java | 212 + .../nbbuild/extlibs/VerifyLibsAndLicenses.java | 40 ++-- nbbuild/build.xml | 24 +-- 4 files changed, 238 insertions(+), 41 deletions(-) create mode 100644 nbbuild/antsrc/org/netbeans/nbbuild/extlibs/MavenSkeletonProject.java - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-website] branch master updated: Update index.asciidoc
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-website.git The following commit(s) were added to refs/heads/master by this push: new 1531994c6 Update index.asciidoc 1531994c6 is described below commit 1531994c6375237eaa6def711fa3f4e571bc79e9 Author: Geertjan Wielenga AuthorDate: Fri Jun 17 17:56:28 2022 +0200 Update index.asciidoc --- netbeans.apache.org/src/content/download/nb14/index.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbeans.apache.org/src/content/download/nb14/index.asciidoc b/netbeans.apache.org/src/content/download/nb14/index.asciidoc index e4e2dd57c..d4705e442 100644 --- a/netbeans.apache.org/src/content/download/nb14/index.asciidoc +++ b/netbeans.apache.org/src/content/download/nb14/index.asciidoc @@ -33,7 +33,7 @@ for important requirements for download pages for Apache projects. :toc-title: :icons: font -Apache NetBeans 14 was released on June 9, 2022. link:https://github.com/apache/netbeans/pulls?q=is%3Apr+milestone%3ANB14+is%3Aclosed[Go here on GitHub] for a list of fixed issues for Apache NetBeans 14. +Apache NetBeans 14 was released on June 9, 2022. link:https://github.com/apache/netbeans/releases/tag/14[Go here on GitHub] for a list of fixed issues for Apache NetBeans 14. NOTE: It's mandatory to link to the source. It's optional to link to the binaries. - 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-website] branch master updated: Update nb14.asciidoc
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-website.git The following commit(s) were added to refs/heads/master by this push: new 3920d5630 Update nb14.asciidoc 3920d5630 is described below commit 3920d56308df4652183e017f2efbd7d3e8ac4678 Author: Geertjan Wielenga AuthorDate: Fri Jun 17 17:56:10 2022 +0200 Update nb14.asciidoc --- netbeans.apache.org/src/content/download/nb14/nb14.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc b/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc index e4e2dd57c..d4705e442 100644 --- a/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc +++ b/netbeans.apache.org/src/content/download/nb14/nb14.asciidoc @@ -33,7 +33,7 @@ for important requirements for download pages for Apache projects. :toc-title: :icons: font -Apache NetBeans 14 was released on June 9, 2022. link:https://github.com/apache/netbeans/pulls?q=is%3Apr+milestone%3ANB14+is%3Aclosed[Go here on GitHub] for a list of fixed issues for Apache NetBeans 14. +Apache NetBeans 14 was released on June 9, 2022. link:https://github.com/apache/netbeans/releases/tag/14[Go here on GitHub] for a list of fixed issues for Apache NetBeans 14. NOTE: It's mandatory to link to the source. It's optional to link to the binaries. - 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: Apache NetBeans version 14 to issue Template ctd
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.git The following commit(s) were added to refs/heads/master by this push: new 88ee9836ea Apache NetBeans version 14 to issue Template ctd 88ee9836ea is described below commit 88ee9836ea48f9a4246cf7687949048ebf7a8bc5 Author: Eric Barboni AuthorDate: Fri Jun 17 12:51:36 2022 +0200 Apache NetBeans version 14 to issue Template ctd --- .github/ISSUE_TEMPLATE/netbeans_bug_report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml index 1fdfc73fc8..df6e340190 100644 --- a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml @@ -27,8 +27,8 @@ body: Latest releases are always available from https://netbeans.apache.org/download/ multiple: false options: -- "Apache NetBeans 13" -#- "Apache NetBeans 14 release candidate" +- "Apache NetBeans 14" +#- "Apache NetBeans 15 release candidate" - "Apache NetBeans latest daily build" validations: required: true - 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: add Apache NetBeans version 14 to issue Template
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.git The following commit(s) were added to refs/heads/master by this push: new feaf0ecced add Apache NetBeans version 14 to issue Template feaf0ecced is described below commit feaf0ecced1586d3e4eb36ca9e09f97007f2ffcd Author: Eric Barboni AuthorDate: Fri Jun 17 12:47:56 2022 +0200 add Apache NetBeans version 14 to issue Template --- .github/ISSUE_TEMPLATE/netbeans_bug_report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml index 1260f1faf5..1fdfc73fc8 100644 --- a/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/netbeans_bug_report.yml @@ -64,6 +64,7 @@ body: multiple: false options: - "No" +- "Apache NetBeans 14" - "Apache NetBeans 13" - "Apache NetBeans 12.6" - "Apache NetBeans 12.5" - 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