[jira] [Comment Edited] (NETBEANS-4314) java/maven dependency graph extremely slow
[ https://issues.apache.org/jira/browse/NETBEANS-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199196#comment-17199196 ] Max Calderoni edited comment on NETBEANS-4314 at 9/21/20, 6:56 AM: --- Same behavior on macOS Catalina. Steps to reproduce: * clone [https://github.com/jenkinsci/ci.jenkins.io-runner] * open pom.xml in the editor * click on Graph NetBeans takes close to 400% of the CPU and takes more than 15 minutes (did not wait for completion, forced quit) [^messages.log] was (Author: max_asf): Same behavior on macOS Catalina. Steps to reproduce: * clone [https://github.com/jenkinsci/ci.jenkins.io-runner] * open pom.xml in the editor * click on Graph NetBeans takes close to 400% of the CPU and takes more than 15 minutes (did wait for completion, forced quit) [^messages.log] > java/maven dependency graph extremely slow > -- > > Key: NETBEANS-4314 > URL: https://issues.apache.org/jira/browse/NETBEANS-4314 > Project: NetBeans > Issue Type: Bug >Reporter: Bernd Wahlen >Priority: Major > Attachments: messages.log > > > when selecting graph in maven pom.xml, UI hangs for about 10 minues in > medium-sized (~70 dependencies) project. Experienced this issue for for long > time and still in 11.3, but definitely not in nb8. And btw graph calculation > is using only 1 cpu core. > environment: ubuntu 20.04 lts / adopt 14.0.1 / nb 11.3 via snap / i3-6100 -- 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] [Comment Edited] (NETBEANS-4314) java/maven dependency graph extremely slow
[ https://issues.apache.org/jira/browse/NETBEANS-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199196#comment-17199196 ] Max Calderoni edited comment on NETBEANS-4314 at 9/21/20, 6:55 AM: --- Same behavior on macOS Catalina. Steps to reproduce: * clone [https://github.com/jenkinsci/ci.jenkins.io-runner] * open pom.xml in the editor * click on Graph NetBeans takes close to 400% of the CPU and takes more than 15 minutes (did wait for completion, forced quit) [^messages.log] was (Author: max_asf): Same behavior on macOS Catalina. Steps to reproduce: * clone [https://github.com/jenkinsci/ci.jenkins.io-runner] * open pom.xml in the editor * click on Graph NetBeans will take close to 400% of the CPU and takes more than 15 minutes (did wait for completion, forced quit) [^messages.log] > java/maven dependency graph extremely slow > -- > > Key: NETBEANS-4314 > URL: https://issues.apache.org/jira/browse/NETBEANS-4314 > Project: NetBeans > Issue Type: Bug >Reporter: Bernd Wahlen >Priority: Major > Attachments: messages.log > > > when selecting graph in maven pom.xml, UI hangs for about 10 minues in > medium-sized (~70 dependencies) project. Experienced this issue for for long > time and still in 11.3, but definitely not in nb8. And btw graph calculation > is using only 1 cpu core. > environment: ubuntu 20.04 lts / adopt 14.0.1 / nb 11.3 via snap / i3-6100 -- 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] [Commented] (NETBEANS-4314) java/maven dependency graph extremely slow
[ https://issues.apache.org/jira/browse/NETBEANS-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199196#comment-17199196 ] Max Calderoni commented on NETBEANS-4314: - Same behavior on macOS Catalina. Steps to reproduce: * clone [https://github.com/jenkinsci/ci.jenkins.io-runner] * open pom.xml in the editor * click on Graph NetBeans will take close to 400% of the CPU and takes more than 15 minutes (did wait for completion, forced quit) [^messages.log] > java/maven dependency graph extremely slow > -- > > Key: NETBEANS-4314 > URL: https://issues.apache.org/jira/browse/NETBEANS-4314 > Project: NetBeans > Issue Type: Bug >Reporter: Bernd Wahlen >Priority: Major > Attachments: messages.log > > > when selecting graph in maven pom.xml, UI hangs for about 10 minues in > medium-sized (~70 dependencies) project. Experienced this issue for for long > time and still in 11.3, but definitely not in nb8. And btw graph calculation > is using only 1 cpu core. > environment: ubuntu 20.04 lts / adopt 14.0.1 / nb 11.3 via snap / i3-6100 -- 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-4314) java/maven dependency graph extremely slow
[ https://issues.apache.org/jira/browse/NETBEANS-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Max Calderoni updated NETBEANS-4314: Attachment: messages.log > java/maven dependency graph extremely slow > -- > > Key: NETBEANS-4314 > URL: https://issues.apache.org/jira/browse/NETBEANS-4314 > Project: NetBeans > Issue Type: Bug >Reporter: Bernd Wahlen >Priority: Major > Attachments: messages.log > > > when selecting graph in maven pom.xml, UI hangs for about 10 minues in > medium-sized (~70 dependencies) project. Experienced this issue for for long > time and still in 11.3, but definitely not in nb8. And btw graph calculation > is using only 1 cpu core. > environment: ubuntu 20.04 lts / adopt 14.0.1 / nb 11.3 via snap / i3-6100 -- 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: Change platform/autoupdate.ui/arch.xml arch-what question
This is an automated email from the ASF dual-hosted git repository. jtulach 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 5f8ef28 Change platform/autoupdate.ui/arch.xml arch-what question new 811ccc5 Merge pull request #2368 from hectorespert/autoupdate-ui-doc 5f8ef28 is described below commit 5f8ef287b740e6783c5ad16048ed4141bb9cf00f Author: Hector Espert AuthorDate: Mon Sep 14 18:03:55 2020 +0200 Change platform/autoupdate.ui/arch.xml arch-what question --- platform/autoupdate.ui/arch.xml | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/platform/autoupdate.ui/arch.xml b/platform/autoupdate.ui/arch.xml index 206f1c2..5b1a0be 100644 --- a/platform/autoupdate.ui/arch.xml +++ b/platform/autoupdate.ui/arch.xml @@ -49,12 +49,12 @@ --> - The AutoUpdate UI module contains user visible elements (actions in menu, - dialogs), that allow any users to download new, or existing modules from - a pre-registered or manually registered update centers. In addition - the module also provides an API to allow other modules to - invoke pieces of the user related work flow (dialogs, wizards) directly - at moments independent on the rest of the provided UI. + The module contains user visible elements (actions in menu, + dialogs), that allow any users to download new, or existing modules from + a pre-registered or manually registered update centers. In addition + the module also provides an API to allow other modules to + invoke pieces of the user related work flow (dialogs, wizards) directly + at moments independent on the rest of the provided UI. @@ -142,11 +142,9 @@ --> - - this module exposes bits of its UI and user related workflow actions + This module exposes bits of its UI and user related workflow actions (related to installing, upgrading, etc.) by providing an API calls for other modules to invoke bits of here-in available functionality. - - 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 (5a2ad9e -> 90ccfb5)
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 5a2ad9e [NETBEANS-3600] Added Gradle wrapper distribution change detection. add 90ccfb5 [NETBEANS-4823] Fixed CCE in Gradle Options Dialog. Added hashCode() and equals() mathod to GradleDistribution No new revisions were added by this update. Summary of changes: .../api/execute/GradleDistributionManager.java | 33 ++ .../modules/gradle/options/SettingsPanel.java | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) - 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-4825) Update Spring license version
Jose created NETBEANS-4825: -- Summary: Update Spring license version Key: NETBEANS-4825 URL: https://issues.apache.org/jira/browse/NETBEANS-4825 Project: NetBeans Issue Type: Improvement Affects Versions: 12.1 Reporter: Jose Assignee: Jose Fix For: 12.2 Update Spring license version Before: Apache-2.0-spring3.2.7=Apache Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) with Spring addendums, version 3.2.7 Apache-2.0-spring4.0.1=Apache Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) with Spring addendums, version 4.0.1 Apache-2.0-spring5.2.2=Apache Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) with Spring addendums, version 5.2.2 After: Apache-2.0-spring3.2.18=Apache Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) with Spring addendums, version 3.2.18 Apache-2.0-spring4.3.29=Apache Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) with Spring addendums, version 4.3.29 Apache-2.0-spring5.2.9=Apache Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt) with Spring addendums, version 5.2.9 -- 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-4824) General Availability for javadoc 15
Jose created NETBEANS-4824: -- Summary: General Availability for javadoc 15 Key: NETBEANS-4824 URL: https://issues.apache.org/jira/browse/NETBEANS-4824 Project: NetBeans Issue Type: Improvement Components: java - Javadoc Affects Versions: 12.1 Reporter: Jose Assignee: Jose Fix For: 12.2 Update link to javadoc 15 now that is in general availability Before: https://download.java.net/java/early_access/jdk15/docs/api/ After: https://docs.oracle.com/en/java/javase/15/docs/api/ -- 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-4823) ClassCastException saving GradleSettings
Laszlo Kishalmi created NETBEANS-4823: - Summary: ClassCastException saving GradleSettings Key: NETBEANS-4823 URL: https://issues.apache.org/jira/browse/NETBEANS-4823 Project: NetBeans Issue Type: Bug Components: projects - Gradle Reporter: Laszlo Kishalmi Assignee: Laszlo Kishalmi Applying Ok on Options dialog results a ClassCast exception as the GradleDistribution is set as a String in the version ComboBox. -- 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-4822) variable variable gives incorrect warning of multiple assignment
Jonathan Mills created NETBEANS-4822: Summary: variable variable gives incorrect warning of multiple assignment Key: NETBEANS-4822 URL: https://issues.apache.org/jira/browse/NETBEANS-4822 Project: NetBeans Issue Type: Bug Components: php - Editor Affects Versions: 12.1 Environment: Windows 10. This is observed in NetBeans 11.0, 11.3, 12.0 and 12.1. Reporter: Jonathan Mills The code {{https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated: [NETBEANS-3600] Added Gradle wrapper distribution change detection.
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 5a2ad9e [NETBEANS-3600] Added Gradle wrapper distribution change detection. 5a2ad9e is described below commit 5a2ad9e3fc45ff05ffcb82ca179f2804e337bcb9 Author: Laszlo Kishalmi AuthorDate: Sun Sep 13 07:23:15 2020 -0700 [NETBEANS-3600] Added Gradle wrapper distribution change detection. --- .../modules/gradle/GradleProjectCache.java | 7 +-- .../api/execute/GradleDistributionManager.java | 38 +++ .../execute/GradleDistributionProviderImpl.java| 55 -- 3 files changed, 85 insertions(+), 15 deletions(-) diff --git a/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java b/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java index b02ba62..db8a44c 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/GradleProjectCache.java @@ -96,7 +96,7 @@ public final class GradleProjectCache { private static final Map> SUB_PROJECT_DIR_CACHE = new ConcurrentHashMap<>(); // Increase this number if new info is gathered from the projects. -private static final int COMPATIBLE_CACHE_VERSION = 13; +private static final int COMPATIBLE_CACHE_VERSION = 14; private GradleProjectCache() { } @@ -446,8 +446,9 @@ public final class GradleProjectCache { assert gp.getQuality().betterThan(FALLBACK) : "Never attempt to cache FALLBACK projects."; //NOi18N //TODO: Make it possible to handle external file set as cache. GradleFiles gf = new GradleFiles(gp.getBaseProject().getProjectDir(), true); - -ProjectCacheEntry entry = new ProjectCacheEntry(new StoredProjectInfo(data), gp, gf.getProjectFiles()); +Set cacheInvalidators = new HashSet<>(gf.getProjectFiles()); +if (gf.hasWrapper()) cacheInvalidators.add(gf.getWrapperProperties()); +ProjectCacheEntry entry = new ProjectCacheEntry(new StoredProjectInfo(data), gp, cacheInvalidators); File cacheFile = new File(getCacheDir(gp), INFO_CACHE_FILE_NAME); if (!cacheFile.exists()) { cacheFile.getParentFile().mkdirs(); diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java index c72190b..55ca548 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java @@ -58,6 +58,7 @@ import org.json.simple.parser.ParseException; import org.netbeans.api.progress.ProgressHandle; import org.netbeans.api.progress.ProgressHandleFactory; import org.netbeans.modules.gradle.api.NbGradleProject; +import org.netbeans.modules.gradle.spi.GradleFiles; import org.openide.awt.Notification; import org.openide.awt.NotificationDisplayer; import org.openide.util.Exceptions; @@ -201,7 +202,31 @@ public final class GradleDistributionManager { * the Gradle distribution cannot be determined form it. */ public GradleDistribution distributionFromWrapper(File gradleProjectRoot) throws IOException, URISyntaxException { -File wrapperProps = new File(gradleProjectRoot, "gradle/wrapper/gradle-wrapper.properties"); //NOI18N +URI uri = getWrapperDistributionURI(gradleProjectRoot); +Matcher m = DIST_VERSION_PATTERN.matcher(uri.getPath()); +if (m.matches()) { +String version = m.group(1); +return new GradleDistribution(distributionBaseDir(uri, version), uri, version); +} else { +throw new URISyntaxException(uri.getPath(), "Cannot get the Gradle distribution version from the URI"); //NOI18N +} +} + +/** + * Retrieves a normalized URI for the Gradle Wrapper distribution for the + * given root project directory. + * + * @param rootDir the root project directory + * @return the normalized URI of the Gradle wrapper distribution. + * @throws IOException if there is no gradle-wrapper.properties + * or it cannot be read. + * @throws URISyntaxException if the distributionUrl is missing + * or cannot be resolved to a valid URI. + */ +public static URI getWrapperDistributionURI(File rootDir) throws IOException, URISyntaxException { +URI ret; + +File wrapperProps = new File(rootDir, GradleFiles.WRAPPER_PROPERTIES); if (wrapperProps.isFile() && wrapperProps.canRead()) { Properties wrapper = new Properties(); try (FileInputStream is = new FileInputStream(wrapperProps)) { @@ -211,13 +236,9 @@ public final c
[jira] [Resolved] (NETBEANS-4820) Fix Spring Web MVC 5.2.9 integration
[ https://issues.apache.org/jira/browse/NETBEANS-4820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hector Espert resolved NETBEANS-4820. - Resolution: Fixed > Fix Spring Web MVC 5.2.9 integration > > > Key: NETBEANS-4820 > URL: https://issues.apache.org/jira/browse/NETBEANS-4820 > Project: NetBeans > Issue Type: Bug > Components: projects - Libraries >Affects Versions: Next >Reporter: Jose >Assignee: Jose >Priority: Minor > Fix For: Next > > Attachments: Spring-5.2.9-after.png, Spring-5.2.9-before.png > > Time Spent: 10m > Remaining Estimate: 0h > > The Spring Web MVC 5.2.9 library has a wrong classpath and library name. -- 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: Fix Spring Web MVC 5.2.9 integration
This is an automated email from the ASF dual-hosted git repository. hectorespert 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 90c1a8e Fix Spring Web MVC 5.2.9 integration new c62fb59 Merge pull request #2380 from pepness/fix-spring-5.2.9 90c1a8e is described below commit 90c1a8ef3fbc10e22c4496826fb6a8570671e7af Author: Jose Contreras AuthorDate: Sat Sep 19 20:01:02 2020 -0500 Fix Spring Web MVC 5.2.9 integration --- .../org/netbeans/modules/spring/webmvc/resources/Bundle.properties| 2 +- .../netbeans/modules/spring/webmvc/resources/spring-webmvc-5.0.xml| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/Bundle.properties b/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/Bundle.properties index 43a638f..f7fe4b8 100644 --- a/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/Bundle.properties +++ b/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/Bundle.properties @@ -23,6 +23,6 @@ OpenIDE-Module-Long-Description=Provides support for extending a web project wit Templates/SpringFramework/AbstractController.java=Abstract Controller Templates/SpringFramework/SimpleFormController.java=Simple Form Controller Templates/SpringFramework/index.jsp=View page -spring-webmvc5=Spring Web MVC 5.2.2 +spring-webmvc5=Spring Web MVC 5.2.9 spring-webmvc4=Spring Web MVC 4.3.25 spring-webmvc3=Spring Web MVC 3.2.18 diff --git a/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/spring-webmvc-5.0.xml b/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/spring-webmvc-5.0.xml index b6e01ab..eebf64b 100644 --- a/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/spring-webmvc-5.0.xml +++ b/enterprise/spring.webmvc/src/org/netbeans/modules/spring/webmvc/resources/spring-webmvc-5.0.xml @@ -25,7 +25,7 @@ org.netbeans.modules.spring.webmvc.resources.Bundle classpath - jar:nbinst://org.netbeans.libs.springframework/modules/ext/spring-5/spring-webmvc-5.2.2.RELEASE.jar!/ + jar:nbinst://org.netbeans.libs.springframework/modules/ext/spring-5/spring-webmvc-5.2.9.RELEASE.jar!/ src @@ -36,7 +36,7 @@ maven-dependencies -org.springframework:spring-webmvc:5.2.2.RELEASE:jar +org.springframework:spring-webmvc:5.2.9.RELEASE:jar - 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