[netbeans] branch delivery updated (8fee76adf5 -> edb745340d)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git from 8fee76adf5 Made Gradle JavaCompilerProcessorFactory work in absence of a ClasspathProvider add edb745340d Use Project Dictated JVM for Gradle Discovery (#4985) No new revisions were added by this update. Summary of changes: .../gradle/GradleJavaCompatProblemsProvider.java | 90 ++ .../modules/gradle/GradleProjectConnection.java| 61 +-- .../api/execute/GradleDistributionManager.java | 29 ++- .../gradle/execute/GradleDaemonExecutor.java | 1 - .../modules/gradle/spi/execute/package-info.java | 43 --- 5 files changed, 133 insertions(+), 91 deletions(-) copy ide/languages.diff/src/org/netbeans/modules/languages/diff/DiffLanguageHierarchy.java => extide/gradle/src/org/netbeans/modules/gradle/spi/execute/package-info.java (58%) - 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 (44ab4540a4 -> 8fee76adf5)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git from 44ab4540a4 [#4865] Register JDPA and Java Compiler Output on Project level add 8fee76adf5 Made Gradle JavaCompilerProcessorFactory work in absence of a ClasspathProvider No new revisions were added by this update. Summary of changes: .../gradle/java/output/JavaCompilerProcessorFactory.java | 16 ++-- 1 file changed, 10 insertions(+), 6 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
[netbeans] branch delivery updated (bc6c461930 -> 44ab4540a4)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git from bc6c461930 #4965: Fix issues with gradle pre-6.4 (#4995) add 44ab4540a4 [#4865] Register JDPA and Java Compiler Output on Project level No new revisions were added by this update. Summary of changes: .../modules/gradle/java/output/LookupProviders.java| 14 +- 1 file changed, 1 insertion(+), 13 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
[netbeans] branch delivery updated (5d3fe96b33 -> bc6c461930)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git from 5d3fe96b33 Fix #5015: Fix Gradle/broken task dependency and serialization (#5022) add bc6c461930 #4965: Fix issues with gradle pre-6.4 (#4995) No new revisions were added by this update. Summary of changes: .../org/netbeans/modules/gradle/tooling/GradleInternalAdapter.java | 4 ++-- .../org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java| 4 +++- .../src/org/netbeans/modules/gradle/api/GradleBaseProjectTest.java | 5 + 3 files changed, 10 insertions(+), 3 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
[netbeans] branch delivery updated: Fix #5015: Fix Gradle/broken task dependency and serialization (#5022)
This is an automated email from the ASF dual-hosted git repository. lkishalmi 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 5d3fe96b33 Fix #5015: Fix Gradle/broken task dependency and serialization (#5022) 5d3fe96b33 is described below commit 5d3fe96b339153d1bdcecb0aa38208520021c686 Author: Svatopluk Dedic AuthorDate: Fri Dec 2 19:20:07 2022 +0100 Fix #5015: Fix Gradle/broken task dependency and serialization (#5022) * Avoid failing on broken tasks during dependency inspection * Corrected bad check for primitive class that passed also generated proxies (fixes #5015) --- .../modules/gradle/tooling/NbProjectInfoBuilder.java | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java index fbd02232a9..0c50fbfd40 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java +++ b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java @@ -330,11 +330,16 @@ class NbProjectInfoBuilder { } private String dependenciesAsString(Task t, TaskDependency td) { -Set deps = td.getDependencies(t); -if (deps.isEmpty()) { +try { +Set deps = td.getDependencies(t); +if (deps.isEmpty()) { +return ""; +} +return deps.stream().map(Task::getPath).collect(Collectors.joining(",")); +} catch (LinkageError | RuntimeException ex) { +LOG.warn("Error getting dependencies for task {}: {}", t.getName(), ex.getLocalizedMessage(), ex); return ""; } -return deps.stream().map(Task::getPath).collect(Collectors.joining(",")); } private void detectConfigurationArtifacts(NbProjectInfoModel model) { @@ -503,13 +508,7 @@ class NbProjectInfoBuilder { return false; } String n = c.getName(); -if (n.indexOf('.') == -1) { -return true; -} else if (n.startsWith("java.lang.")) { -return true; -} - -return false; +return c.isPrimitive() || n.startsWith("java.lang."); } /** - 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: Fixed some Gradle introspection problems wit pre-6.1 Gradle Versions
This is an automated email from the ASF dual-hosted git repository. lkishalmi 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 648564ff47 Fixed some Gradle introspection problems wit pre-6.1 Gradle Versions 648564ff47 is described below commit 648564ff47d5a70c4e03ce781e407b5d6f547131 Author: Laszlo Kishalmi AuthorDate: Sun Nov 27 08:37:10 2022 -0800 Fixed some Gradle introspection problems wit pre-6.1 Gradle Versions --- .../gradle/tooling/NbProjectInfoBuilder.java | 95 +- .../gradle/api/GradleBaseProjectBuilder.java | 2 +- 2 files changed, 57 insertions(+), 40 deletions(-) diff --git a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java index dae86ef964..fbd02232a9 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java +++ b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NbProjectInfoBuilder.java @@ -91,7 +91,6 @@ import org.gradle.api.logging.Logging; import org.gradle.api.plugins.ExtensionAware; import org.gradle.api.plugins.ExtensionContainer; import org.gradle.api.plugins.ExtensionsSchema.ExtensionSchema; -import org.gradle.api.plugins.JavaPlatformPlugin; import org.gradle.api.provider.Provider; import org.gradle.api.reflect.HasPublicType; import org.gradle.api.reflect.TypeOf; @@ -105,7 +104,7 @@ import org.gradle.jvm.JvmLibrary; import org.gradle.language.base.artifact.SourcesArtifact; import org.gradle.language.java.artifact.JavadocArtifact; import org.gradle.plugin.use.PluginId; -import org.gradle.util.VersionNumber; +import org.gradle.util.GradleVersion; import org.netbeans.modules.gradle.tooling.internal.NbProjectInfo; /** @@ -176,8 +175,9 @@ class NbProjectInfoBuilder { "war" })); +private static final GradleVersion GRADLE_VERSION = GradleVersion.current().getBaseVersion(); + final Project project; -final VersionNumber gradleVersion; final GradleInternalAdapter adapter; public static final class ValueAndType { @@ -197,9 +197,7 @@ class NbProjectInfoBuilder { NbProjectInfoBuilder(Project project) { this.project = project; -this.gradleVersion = VersionNumber.parse(project.getGradle().getGradleVersion()); -// checked that version 7.6.0 > 7.6.0-rc-1 in the VersionNumber order -this.adapter = sinceGradleOrDefault("7.6.0-rc-1", () -> new GradleInternalAdapter.Gradle76(project), () -> new GradleInternalAdapter(project)); +this.adapter = sinceGradleOrDefault("7.6", () -> new GradleInternalAdapter.Gradle76(project), () -> new GradleInternalAdapter(project)); } private NbProjectInfoModel model = new NbProjectInfoModel(); @@ -864,7 +862,7 @@ class NbProjectInfoBuilder { model.getInfo().put("project_subProjects", sp); Map ib = new HashMap<>(); -LOG.lifecycle("Gradle Version: {}", gradleVersion); +LOG.lifecycle("Gradle Version: {}", GradleVersion.current()); sinceGradle("3.1", () -> { for(IncludedBuild p: project.getGradle().getIncludedBuilds()) { LOG.lifecycle("Include Build: {}", p.getName()); @@ -1016,36 +1014,44 @@ class NbProjectInfoBuilder { } if (Boolean.TRUE.equals(available.get(langId))) { model.getInfo().put(propBase + lang, storeSet(getProperty(sourceSet, langId, "srcDirs"))); -DirectoryProperty dirProp = (DirectoryProperty)getProperty(sourceSet, langId, "classesDirectory"); -if (dirProp != null) { -File outDir; - -if (dirProp.isPresent()) { -outDir = dirProp.get().getAsFile(); -} else { -// kotlin plugin uses some weird late binding, so it has the output item, but it cannot be resolved to a -// concrete file path at this time. Let's make an approximation from -Path candidate = null; -if (base != null) { -Path prefix = base.resolve(langId); -// assume the language has just one output dir in the source set: -for (int i = 0; i < outPaths.size(); i++) { -Path p = outPaths.get(i); -if
[netbeans] branch delivery created (now 321935444b)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a change to branch delivery in repository https://gitbox.apache.org/repos/asf/netbeans.git at 321935444b Merge pull request #4937 from apache/delivery No new revisions were added by this update. - 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: Use Project Dictated JVM for Gradle Discovery (#4985)
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 33c80743ea Use Project Dictated JVM for Gradle Discovery (#4985) 33c80743ea is described below commit 33c80743eac96d9967a6d878288cf51119ab18bc Author: Laszlo Kishalmi AuthorDate: Mon Dec 5 20:11:25 2022 -0800 Use Project Dictated JVM for Gradle Discovery (#4985) --- .../gradle/GradleJavaCompatProblemsProvider.java | 90 ++ .../modules/gradle/GradleProjectConnection.java| 61 +-- .../api/execute/GradleDistributionManager.java | 29 ++- .../gradle/execute/GradleDaemonExecutor.java | 1 - .../modules/gradle/spi/execute/package-info.java | 35 + 5 files changed, 154 insertions(+), 62 deletions(-) diff --git a/extide/gradle/src/org/netbeans/modules/gradle/GradleJavaCompatProblemsProvider.java b/extide/gradle/src/org/netbeans/modules/gradle/GradleJavaCompatProblemsProvider.java index 52c7d2e382..66711bb0bd 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/GradleJavaCompatProblemsProvider.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/GradleJavaCompatProblemsProvider.java @@ -21,17 +21,23 @@ package org.netbeans.modules.gradle; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStream; import java.util.Collection; import java.util.Collections; +import java.util.Properties; import org.netbeans.api.project.Project; import org.netbeans.modules.gradle.api.NbGradleProject; import org.netbeans.modules.gradle.api.execute.GradleDistributionManager; import org.netbeans.modules.gradle.api.execute.GradleDistributionManager.GradleDistribution; import org.netbeans.modules.gradle.spi.execute.GradleDistributionProvider; +import org.netbeans.modules.gradle.spi.execute.GradleJavaPlatformProvider; import org.netbeans.spi.project.ProjectServiceProvider; import org.netbeans.spi.project.ui.ProjectProblemsProvider; import static org.netbeans.spi.project.ui.ProjectProblemsProvider.PROP_PROBLEMS; -import org.openide.util.NbBundle; import org.openide.util.NbBundle.Messages; /** @@ -71,26 +77,82 @@ public final class GradleJavaCompatProblemsProvider implements ProjectProblemsPr "# {1} - Supported Java Version", "# {2} - Required Gradle Version", "# {3} - Forced Gradle Version", -"TXT_JavaVersionMismatch=The IDE is running on Java {0} that is not supported by Gradle {2}.\n" -+ "The IDE will attempt to use Gradle {3} to gather the project information.\n\n" -+ "Either upgrade your Gradle version on your project or run the IDE on " -+ "Java {1} to avoid this problem!" +"TXT_JavaVersionMismatch=The Java version: {0}, that is seletced for the project " ++ "is not supported by Gradle {2}." ++ "The IDE will attempt to use Gradle {3} to gather the project information." ++ "Possible solutions:" ++ "Upgrade your Gradle version on your project" ++ "Select Java Platform {1} (or below), on Build>Compile settings, to avoid this problem!" ++ "" }) @Override public Collection getProblems() { +GradleDistribution dist = getGradleDistribution(); +int javaVersion = getJavaVersion(); +if (!dist.isCompatibleWithJava(javaVersion)) { +GradleDistribution compatDist = GradleDistributionManager.get(dist.getGradleUserHome()).defaultDistribution(); +ProjectProblem problem = ProjectProblem.createWarning( +Bundle.LBL_JavaVersionMismatch(), +Bundle.TXT_JavaVersionMismatch(javaVersion, dist.lastSupportedJava(),dist.getVersion(), compatDist.getVersion())); +return Collections.singleton(problem); +} +return Collections.emptySet(); +} + +private GradleDistribution getGradleDistribution() { +GradleDistribution dist = null; GradleDistributionProvider pvd = project.getLookup().lookup(GradleDistributionProvider.class); if (pvd != null) { -GradleDistribution dist = pvd.getGradleDistribution(); -if ((dist != null) && !dist.isCompatibleWithSystemJava()) { -String javaVersion = System.getProperty("java.specification.version", System.getProperty("java.version")); //NOI18N -GradleDistribution compatDist = GradleDistributionManager.get(dist.getGradleUserHome()).defaultDistribution(); -ProjectProblem problem = ProjectProblem.createWarning( -
[netbeans-website] branch master updated: Rename index.asciidoc to index.adoc
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 fade2d3cd Rename index.asciidoc to index.adoc fade2d3cd is described below commit fade2d3cd83ce196e04af18d9f67d052a50d8fa4 Author: Geertjan Wielenga AuthorDate: Mon Dec 5 14:33:57 2022 +0100 Rename index.asciidoc to index.adoc --- .../src/content/download/nb16/{index.asciidoc => index.adoc} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/netbeans.apache.org/src/content/download/nb16/index.asciidoc b/netbeans.apache.org/src/content/download/nb16/index.adoc similarity index 100% rename from netbeans.apache.org/src/content/download/nb16/index.asciidoc rename to netbeans.apache.org/src/content/download/nb16/index.adoc - 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: Download page NetBeans 16
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 1efcf0cf9 Download page NetBeans 16 1efcf0cf9 is described below commit 1efcf0cf99112b0817971639f671992f5e5c5b57 Author: Geertjan Wielenga AuthorDate: Mon Dec 5 14:33:13 2022 +0100 Download page NetBeans 16 --- .../src/content/download/nb16/index.asciidoc | 130 + 1 file changed, 130 insertions(+) diff --git a/netbeans.apache.org/src/content/download/nb16/index.asciidoc b/netbeans.apache.org/src/content/download/nb16/index.asciidoc new file mode 100644 index 0..692acf6d6 --- /dev/null +++ b/netbeans.apache.org/src/content/download/nb16/index.asciidoc @@ -0,0 +1,130 @@ + + 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. + + + +NOTE: +See https://www.apache.org/dev/release-download-pages.html +for important requirements for download pages for Apache projects. + + += Downloading Apache NetBeans 16 +:jbake-type: page_noaside +:jbake-tags: download +:jbake-status: published +:keywords: Apache NetBeans 16 Download +:description: Apache NetBeans 16 Download +:toc: left +:toc-title: +:icons: font + +// check version above +:netbeans-version: 16 +:url-download-keychecksum: https://downloads.apache.org/netbeans/ +:url-download: https://www.apache.org/dyn/closer.cgi/netbeans/ + + +url-download depends of release status archived or not +https://archive.apache.org/dist/netbeans/ (//archived) +https://www.apache.org/dyn/closer.cgi/netbeans/ (//current) + +url-download-keychecksum depends of release status archived or not +https://archive.apache.org/dist/netbeans/ (//archived) +https://downloads.apache.org/netbeans/ (//current) + + +Apache NetBeans {netbeans-version} was released on November 30, 2022. link:https://github.com/apache/netbeans/releases/tag/{netbeans-version}[Go here on GitHub] for a list of fixed issues for Apache NetBeans {netbeans-version}. + + +NOTE: It's mandatory to link to the source. It's optional to link to the binaries. +NOTE: It's mandatory to link against https://www.apache.org for the sums & keys. https is recommended. +NOTE: It's NOT recommended to link to github. + +Apache NetBeans {netbeans-version} is available for download from your closest Apache mirror. + +- Binaries: +link:{url-download}netbeans/{netbeans-version}/netbeans-{netbeans-version}-bin.zip[netbeans-{netbeans-version}-bin.zip] (link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-bin.zip.sha512[SHA-512], +link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-bin.zip.asc[PGP ASC]) + +- Installers: + +* link:{url-download}netbeans-installers/{netbeans-version}/Apache-NetBeans-{netbeans-version}-bin-windows-x64.exe[Apache-NetBeans-{netbeans-version}-bin-windows-x64.exe] (link:{url-download-keychecksum}netbeans-installers/{netbeans-version}/Apache-NetBeans-{netbeans-version}-bin-windows-x64.exe.sha512[SHA-512], +link:{url-download-keychecksum}netbeans-installers/{netbeans-version}/Apache-NetBeans-{netbeans-version}-bin-windows-x64.exe.asc[PGP ASC]) +* link:{url-download}netbeans-installers/{netbeans-version}/Apache-NetBeans-{netbeans-version}-bin-macosx.dmg[Apache-NetBeans-{netbeans-version}-bin-macosx.dmg] (link:{url-download-keychecksum}netbeans-installers/{netbeans-version}/Apache-NetBeans-{netbeans-version}-bin-macosx.dmg.sha512[SHA-512], +link:{url-download-keychecksum}netbeans-installers/{netbeans-version}/Apache-NetBeans-{netbeans-version}-bin-macosx.dmg.asc[PGP ASC]) + +- Source: link:{url-download}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip[netbeans-{netbeans-version}-source.zip] (link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip.sha512[SHA-512], +link:{url-download-keychecksum}netbeans/{netbeans-version}/netbeans-{netbeans-version}-source.zip.asc[PGP ASC]) + + +NOTE: Using https below is highly recommended. + +Officially, it is important that
svn commit: r58490 - /dev/netbeans/netbeans-installers/16/ /release/netbeans/netbeans-installers/16/
Author: neilcsmith Date: Mon Dec 5 13:29:12 2022 New Revision: 58490 Log: Release Apache NetBeans 16 RPM package Added: release/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm - copied unchanged from r58489, dev/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm release/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm.asc - copied unchanged from r58489, dev/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm.asc release/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm.sha512 - copied unchanged from r58489, dev/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm.sha512 Removed: dev/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm dev/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm.asc dev/netbeans/netbeans-installers/16/apache-netbeans-16-0.noarch.rpm.sha512 - 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
svn commit: r58489 - /dev/netbeans/netbeans-nbpackage/1.0-beta2/ /release/netbeans/netbeans-nbpackage/ /release/netbeans/netbeans-nbpackage/1.0-beta2/
Author: neilcsmith Date: Mon Dec 5 13:22:16 2022 New Revision: 58489 Log: Release Apache NetBeans NBPackage v1.0-beta2 Added: release/netbeans/netbeans-nbpackage/ release/netbeans/netbeans-nbpackage/1.0-beta2/ - copied from r58488, dev/netbeans/netbeans-nbpackage/1.0-beta2/ Removed: dev/netbeans/netbeans-nbpackage/1.0-beta2/ - 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: spi.java.hints: remove unused byte buddy dependency.
This is an automated email from the ASF dual-hosted git repository. mbien 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 4ca6cda5c9 spi.java.hints: remove unused byte buddy dependency. new 3c3f5f82d9 Merge pull request #5029 from mbien/remove-bytebuddy-dep 4ca6cda5c9 is described below commit 4ca6cda5c9a70493c6a72917820b9ea4715c1e69 Author: Michael Bien AuthorDate: Tue Nov 29 06:38:05 2022 +0100 spi.java.hints: remove unused byte buddy dependency. --- java/spi.java.hints/external/binaries-list | 17 -- .../external/byte-buddy-1.10.6-license.txt | 238 - java/spi.java.hints/nbproject/project.properties | 1 - java/spi.java.hints/nbproject/project.xml | 4 - .../modules/java/hints/spiimpl/Utilities.java | 16 -- 5 files changed, 276 deletions(-) diff --git a/java/spi.java.hints/external/binaries-list b/java/spi.java.hints/external/binaries-list deleted file mode 100644 index 3d8ec731af..00 --- a/java/spi.java.hints/external/binaries-list +++ /dev/null @@ -1,17 +0,0 @@ -# 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. -1A745B7EF012EA7B96D7D6F1FAE5AFAC11FCEE3D net.bytebuddy:byte-buddy:1.10.6 diff --git a/java/spi.java.hints/external/byte-buddy-1.10.6-license.txt b/java/spi.java.hints/external/byte-buddy-1.10.6-license.txt deleted file mode 100644 index 21be18df01..00 --- a/java/spi.java.hints/external/byte-buddy-1.10.6-license.txt +++ /dev/null @@ -1,238 +0,0 @@ -Name: Byte Buddy -Version: 1.10.6 -Description: Code Generation Library -License: Apache-2.0+BSD-INRIA -Origin: Byte Buddy -URL: https://github.com/raphw/byte-buddy - - Apache License - Version 2.0, January 2004 -http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original
[netbeans] branch master updated: enable branch protection for master.
This is an automated email from the ASF dual-hosted git repository. mbien 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 8c266b9fbb enable branch protection for master. new 5f14ef63b5 Merge pull request #4785 from mbien/asf-repo-settings 8c266b9fbb is described below commit 8c266b9fbb4451e5041157f1a1f7c0f0825bc8c2 Author: Michael Bien AuthorDate: Thu Oct 13 13:12:32 2022 +0200 enable branch protection for master. --- .asf.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 5a795c4fd0..acf7b7bf61 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -14,6 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +# doc: https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features + github: description: "Apache NetBeans" homepage: https://netbeans.apache.org/ @@ -31,6 +33,10 @@ github: squash: true merge: true rebase: true + protected_branches: +# no force push to master +master: {} + notifications: commits: commits@netbeans.apache.org issues: notificati...@netbeans.apache.org - 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: bump large file warning from 1 to 5MB.
This is an automated email from the ASF dual-hosted git repository. mbien 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 4a0f97ca11 bump large file warning from 1 to 5MB. new be973c80a8 Merge pull request #4949 from mbien/defaults-bump-file-size-warn-limit 4a0f97ca11 is described below commit 4a0f97ca1142afc52a51c6d156a468cf33494ff2 Author: Michael Bien AuthorDate: Wed Nov 9 03:40:39 2022 +0100 bump large file warning from 1 to 5MB. --- ide/csl.api/src/org/netbeans/modules/csl/spi/GsfUtilities.java | 7 ++- .../openide.loaders/src/org/openide/text/DataEditorSupport.java| 4 ++-- .../unit/src/org/openide/text/FileSizeThreshholdExceptionTest.java | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ide/csl.api/src/org/netbeans/modules/csl/spi/GsfUtilities.java b/ide/csl.api/src/org/netbeans/modules/csl/spi/GsfUtilities.java index 35d7cda4af..e00de36b2b 100644 --- a/ide/csl.api/src/org/netbeans/modules/csl/spi/GsfUtilities.java +++ b/ide/csl.api/src/org/netbeans/modules/csl/spi/GsfUtilities.java @@ -251,6 +251,11 @@ public final class GsfUtilities { return getDocument(fileObject, openIfNecessary, false); } +/** + * see org.openide.text.DataEditorSupport#BIG_FILE_THRESHOLD_MB + */ +private static final long BIG_FILE_THRESHOLD_MB = Integer.getInteger("org.openide.text.big.file.size", 5) * 1024 * 1024; + /** * Load the document for the given fileObject. * @param fileObject the file whose document we want to obtain @@ -275,7 +280,7 @@ public final class GsfUtilities { // (see issue http://www.netbeans.org/issues/show_bug.cgi?id=148702 ) // but for many cases, the user probably doesn't want really large files as indicated // by the skipLarge parameter). -if (fileObject.getSize () > 1024 * 1024) { +if (fileObject.getSize () > BIG_FILE_THRESHOLD_MB) { return null; } } diff --git a/platform/openide.loaders/src/org/openide/text/DataEditorSupport.java b/platform/openide.loaders/src/org/openide/text/DataEditorSupport.java index adbd1b6d70..a05c8c757b 100644 --- a/platform/openide.loaders/src/org/openide/text/DataEditorSupport.java +++ b/platform/openide.loaders/src/org/openide/text/DataEditorSupport.java @@ -837,9 +837,9 @@ public class DataEditorSupport extends CloneableEditorSupport { } /** - * default threshold for big file to warn user (default is 1MB) + * default threshold for big file to warn user (default is 5MB) */ -private final transient long BIG_FILE_THRESHOLD_MB = Integer.getInteger("org.openide.text.big.file.size", 1) * 1024 * 1024; +private final transient long BIG_FILE_THRESHOLD_MB = Integer.getInteger("org.openide.text.big.file.size", 5) * 1024 * 1024; /** Obtains the input stream. * @exception IOException if an I/O error occurs diff --git a/platform/openide.loaders/test/unit/src/org/openide/text/FileSizeThreshholdExceptionTest.java b/platform/openide.loaders/test/unit/src/org/openide/text/FileSizeThreshholdExceptionTest.java index 8c2f2b472c..7b38ac821a 100644 --- a/platform/openide.loaders/test/unit/src/org/openide/text/FileSizeThreshholdExceptionTest.java +++ b/platform/openide.loaders/test/unit/src/org/openide/text/FileSizeThreshholdExceptionTest.java @@ -126,7 +126,7 @@ public class FileSizeThreshholdExceptionTest extends NbTestCase { public void testThreshholdDefaultValue() throws Exception { System.getProperties().remove(BIG_FILE_PROP); -doTestThreshholdValue(1); +doTestThreshholdValue(5); } public void testThreshholdNotDefaultValue() throws Exception { - 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 (865fee2f2c -> 6e86f172bc)
This is an automated email from the ASF dual-hosted git repository. mbien pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git from 865fee2f2c Cleanup few remaining raw type List warnings.. (#5004) new bb3ec45866 migrate test harness job. new 2f34fe1135 migrate ergonomics job. new f774160096 migrate groovy job. new ea665ad34a migrate nb modules job. new f749981c48 migrate build-all-tests job. new eae0656445 migrate GraalVM tests job. new c79bc95d89 migrate versioning job new 348db25e43 migrate VSCode Extension job new dcbcb35873 migrate mysql db job. new fa4cc9d55a migrate LSP tests job. new 82fc912097 migrate last platform-src build step + cleanup of travis files. new f61c2c9265 add JDK 19 build to the matrix. new 040a042177 version bump to 11, dev builds, timeouts and other improvements. new 6e86f172bc Merge pull request #4817 from mbien/ci-migrate-jobs-2 The 7769 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 | 635 --- .travis.yml | 250 -- nbbuild/travis/ant.sh| 60 nbbuild/travis/hide-logs.sh | 28 -- nbbuild/travis/print-junit-report.sh | 63 nbbuild/travis/scripting.sh | 64 6 files changed, 579 insertions(+), 521 deletions(-) delete mode 100644 .travis.yml delete mode 100755 nbbuild/travis/ant.sh delete mode 100755 nbbuild/travis/hide-logs.sh delete mode 100755 nbbuild/travis/print-junit-report.sh delete mode 100755 nbbuild/travis/scripting.sh - 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