[jira] [Commented] (NETBEANS-5393) Micronaut projects cannot be launched on non-default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-5393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17294346#comment-17294346 ] Svatopluk Dedic commented on NETBEANS-5393: --- The issue has been fixed; according to Git, the fix was released with Micronaut 2.3.4 > Micronaut projects cannot be launched on non-default JDK > > > Key: NETBEANS-5393 > URL: https://issues.apache.org/jira/browse/NETBEANS-5393 > Project: NetBeans > Issue Type: Bug > Components: projects - Maven >Affects Versions: 12.2 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Major > > When using different than system-default JDK, Micronaut projects that > reference Micronaut's parent pom ( {{io.micronaut:micronaut-parent}}) cannot > be executed. > For example if the system-default JDK is JDK 8, while the Micronaut project > targets JDK11, the project compiles fine using JDK11 compiler, but will be > run by JDK8 (the system-default on the PATH) runtime. > This is caused by Micronaut's parent-pom, that prescribes to run {{java}} and > disables use of {{exec.executable}} project/commandline property. A possible > workaround would be to launch with {{PATH}} prepended with the selected JDK > platform, which can have adverse effects on maven execution itself and other > tools forked from the build process (different java than before the fix in > IDE). > I will try to get Micronaut project fix this, possibly apply the above > workaround if Micronaut either rejects, or takes long to deliver the fix. -- 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-1849) Checkmark for Active plugins not working
[ https://issues.apache.org/jira/browse/NETBEANS-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17294022#comment-17294022 ] Premek Vyhnal commented on NETBEANS-1849: - This issue was one of my first impressions of netbeans coming back after years.. It looks like java plugin it is not enabled, but the Enable button is also grayed out. On first start when enabling the JavaSE plugin this window is currently displayed. If JDK9 would be recommended I'd probably do that !Screenshot from 2021-03-02 23-20-19.png! > Checkmark for Active plugins not working > > > Key: NETBEANS-1849 > URL: https://issues.apache.org/jira/browse/NETBEANS-1849 > Project: NetBeans > Issue Type: Bug > Components: ide - Features On Demand, ide - UI >Affects Versions: 10.0 >Reporter: Charles George >Assignee: Anton Kravets >Priority: Trivial > Labels: easyfix > Fix For: Next > > Attachments: Screenshot from 2021-03-02 23-20-19.png > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > Tools>Plugins>Installed is not properly reporting which plugins are active. > Specifically, after activating the Groovy and Java SE plugins there is no > green checkmark next to them. This seems to work, however, for Base IDE and > Tools. -- 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-1849) Checkmark for Active plugins not working
[ https://issues.apache.org/jira/browse/NETBEANS-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Premek Vyhnal updated NETBEANS-1849: Attachment: Screenshot from 2021-03-02 23-20-19.png > Checkmark for Active plugins not working > > > Key: NETBEANS-1849 > URL: https://issues.apache.org/jira/browse/NETBEANS-1849 > Project: NetBeans > Issue Type: Bug > Components: ide - Features On Demand, ide - UI >Affects Versions: 10.0 >Reporter: Charles George >Assignee: Anton Kravets >Priority: Trivial > Labels: easyfix > Fix For: Next > > Attachments: Screenshot from 2021-03-02 23-20-19.png > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > Tools>Plugins>Installed is not properly reporting which plugins are active. > Specifically, after activating the Groovy and Java SE plugins there is no > green checkmark next to them. This seems to work, however, for Base IDE and > Tools. -- 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] [Assigned] (NETBEANS-5389) Maven parent POM VM parameters ignored
[ https://issues.apache.org/jira/browse/NETBEANS-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic reassigned NETBEANS-5389: - Assignee: Svatopluk Dedic > Maven parent POM VM parameters ignored > -- > > Key: NETBEANS-5389 > URL: https://issues.apache.org/jira/browse/NETBEANS-5389 > Project: NetBeans > Issue Type: Improvement > Components: projects - Maven >Affects Versions: 12.2 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Major > > During development of a Micronaut-based project, I have realized that launch > of the application gets *different parameters* when run from the IDE, and > from the commandline. > In absence of an action mapping, the IDE attempts to parse out VM parametrs > and application parameters from the pom.xml, but does not use *effective POM* > model. > Micronaut incidentally generates their project's boilerplate so that it > references > {code:java} > > io.micronaut > micronaut-parent > 2.3.3 > > {code} > > as the parent POM. The micronaut parent, in turn, defines > > {code:java} > > org.codehaus.mojo > exec-maven-plugin > ${exec-maven-plugin.version} > > java > > -classpath > > -XX:TieredStopAtLevel=1 > -Dcom.sun.management.jmxremote > ${exec.mainClass} > > > > {code} > But IDE will not pick the VM arguments from here to the Run action, the > Project Customizer, (and subsquently to the created action mappings). > > > -- 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-tools] branch master updated: Fix mirror URL generator
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-tools.git The following commit(s) were added to refs/heads/master by this push: new a31d317 Fix mirror URL generator a31d317 is described below commit a31d317685f632d29b9113d749aae04bb055b073 Author: Matthias Bläsing AuthorDate: Tue Mar 2 19:51:42 2021 +0100 Fix mirror URL generator - fix path to original updates.xml.gz files - add netbeans.hash.code to URL --- proxy-chooser/classes/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy-chooser/classes/config.php b/proxy-chooser/classes/config.php index 27aaffd..810e7f6 100644 --- a/proxy-chooser/classes/config.php +++ b/proxy-chooser/classes/config.php @@ -7,11 +7,11 @@ $CONFIG = array( "mirrorCacheFile" => __DIR__ . "/../data/mirrors.list", // Path to the updates.xml - will be passed through sprintf, first parameter // is the netbeans version. It is expected, that updates.xml -"updatesPattern" => __DIR__ . '/../../uc/%1$s/updates.xml.gz', +"updatesPattern" => '/var/www/html/uc/%1$s/updates.xml.gz', // Location where the generated updates files are cached (first parameter // is netbeans version, second parameter is the chosen proxy) "cachePattern" => __DIR__ . '/../data/%1$s/%2$s/updates.xml.gz', // Pattern for Update Center URL, parameter 1 is the request host, // parameter 2 is the chosen mirror -"updateCenterUrl" => 'https://%1$s/uc-proxy-chooser/version/updates.xml.gz?mirror=%2$s' +"updateCenterUrl" => 'https://%1$s/uc-proxy-chooser/version/updates.xml.gz?{$netbeans.hash.code}=%2$s' ); - 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-tools] branch master updated: Provide an optimized update.xml.gz generation, that allows choosing the apache mirror to use
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-tools.git The following commit(s) were added to refs/heads/master by this push: new 775f29c Provide an optimized update.xml.gz generation, that allows choosing the apache mirror to use new c12157a Merge pull request #43 from matthiasblaesing/proxy-chooser 775f29c is described below commit 775f29ce5cdeccfdca84a5333931a12fb76b82be Author: Matthias Bläsing AuthorDate: Mon Apr 13 21:10:38 2020 +0200 Provide an optimized update.xml.gz generation, that allows choosing the apache mirror to use --- .gitignore |2 +- proxy-chooser/.gitignore |3 + proxy-chooser/.htaccess | 10 + proxy-chooser/README.md | 111 ++ proxy-chooser/classes/.htaccess |1 + proxy-chooser/classes/ApacheMirrors.php | 136 ++ proxy-chooser/classes/CountryCodes.php | 61 + proxy-chooser/classes/IP2Location.php| 2261 ++ proxy-chooser/classes/apache_proxy_countries.csv | 56 + proxy-chooser/classes/config.php | 17 + proxy-chooser/data/.htaccess |1 + proxy-chooser/mirror-list.php| 89 + proxy-chooser/nbproject/project.properties |8 + proxy-chooser/nbproject/project.xml |9 + proxy-chooser/tools/.htaccess|1 + proxy-chooser/tools/download-ip2location.sh | 33 + proxy-chooser/updates.php| 308 +++ 17 files changed, 3106 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 61bf37e..a0a7bed 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,4 @@ /translations/*/dist/ /translations/*/nbproject/private/ /translations/*/nbproject/genfiles.properties -/pp3/module/Application/external/osgi-jar-parser/target +/pp3/module/Application/external/osgi-jar-parser/target \ No newline at end of file diff --git a/proxy-chooser/.gitignore b/proxy-chooser/.gitignore new file mode 100644 index 000..728080b --- /dev/null +++ b/proxy-chooser/.gitignore @@ -0,0 +1,3 @@ +/nbproject/private/ +/data/* +!/data/.htaccess \ No newline at end of file diff --git a/proxy-chooser/.htaccess b/proxy-chooser/.htaccess new file mode 100644 index 000..0e9895c --- /dev/null +++ b/proxy-chooser/.htaccess @@ -0,0 +1,10 @@ +Options -Indexes + +# Enable proxy chooser +RewriteEngine on +RewriteCond "%{REQUEST_URI}" "/uc-proxy-chooser/[^/]*/updates.xml(.gz)?" +RewriteRule !/uc-proxy-chooser/[^/]*/updates.xml(.gz)?$ ./updates.php$1 [L] + + +Deny from all + \ No newline at end of file diff --git a/proxy-chooser/README.md b/proxy-chooser/README.md new file mode 100644 index 000..d8b4bf1 --- /dev/null +++ b/proxy-chooser/README.md @@ -0,0 +1,111 @@ + + +Proxy Chooser for Apache NetBeans += + +The updates.xml.gz files that are created at build time from the netbeans build +system contain relative references to the NBMs. Access to the NBMs is then +dispatched into the mirror network of apache via + +https://www.apache.org/dyn/closer.lua + +There are at least two problems with this approach: + +- closer.lua is hit many times and can cause blocks because this is detected as + abuse of the the download system +- closer.lua resolves to many different proxies, which collides with company + policies, that require whitelisting of external downloads. + +This PHP script uses the updates.xml.gz file of the Apache NetBeans releases +to produce an updates.xml.gz file with absolute links, that all point to the +same download mirror server and does not cause further closer.lua calls. + +In addition the script allows to request a fixed mirror to be used. + +Sample invocations: + +https://netbeans-vm1.apache.org/uc-proxy-chooser/12.2/updates.xml.gz + +This call generates the updates.xml.gz with a mirror that is randomly chosen +from the list of mirrors associated with the country that is detected based on +the request IP address. + +https://netbeans-vm1.apache.org/uc-proxy-chooser/12.2/updates.xml.gz?mirror=ftp.tudelft.nl + +This call generates the updates.xml.gz with the mirror ftp.tudelft.nl. The +parameter "mirror" takes the hostname of the desired mirror. + +https://netbeans-vm1.apache.org/uc-proxy-chooser/12.2/updates.xml.gz?mirror=doesnotexist + +If the mirror is not found in the mirror list the ASF provides, a http status +400 is generated. As body data the list of accepted values is returned. + +https://netbeans-vm1.apache.org/uc-proxy-chooser/12.2/updates.xml.gz?mirror=BASE + +This forces the delivery of the base file with relative links. + +Prerequisites +- + +- php-bcmath + +Installation + + +The base directory is assumed to be `/var/www/html/uc` in that
svn commit: r46420 [1/2] - in /dev/netbeans/netbeans/12.3-installers: ./ Apache-NetBeans-12.3-bin-linux-x64.sh Apache-NetBeans-12.3-bin-linux-x64.sh.asc Apache-NetBeans-12.3-bin-linux-x64.sh.sha512
Author: neilcsmith Date: Tue Mar 2 17:16:17 2021 New Revision: 46420 Log: Apache NetBeans 12.3 Linux installer vote Added: dev/netbeans/netbeans/12.3-installers/ dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.asc dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.sha512 Added: dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh == --- dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh (added) +++ dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh Tue Mar 2 17:16:17 2021 @@ -0,0 +1,1561270 @@ +#!/bin/sh +# +# 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. +# + +ARG_JAVAHOME="--javahome" +ARG_VERBOSE="--verbose" +ARG_OUTPUT="--output" +ARG_EXTRACT="--extract" +ARG_JAVA_ARG_PREFIX="-J" +ARG_TEMPDIR="--tempdir" +ARG_CLASSPATHA="--classpath-append" +ARG_CLASSPATHP="--classpath-prepend" +ARG_HELP="--help" +ARG_SILENT="--silent" +ARG_NOSPACECHECK="--nospacecheck" +ARG_LOCALE="--locale" + +USE_DEBUG_OUTPUT=0 +PERFORM_FREE_SPACE_CHECK=1 +SILENT_MODE=0 +EXTRACT_ONLY=0 +SHOW_HELP_ONLY=0 +LOCAL_OVERRIDDEN=0 +APPEND_CP= +PREPEND_CP= +LAUNCHER_APP_ARGUMENTS= +LAUNCHER_JVM_ARGUMENTS= +ERROR_OK=0 +ERROR_TEMP_DIRECTORY=2 +ERROR_TEST_JVM_FILE=3 +ERROR_JVM_NOT_FOUND=4 +ERROR_JVM_UNCOMPATIBLE=5 +ERROR_EXTRACT_ONLY=6 +ERROR_INPUTOUPUT=7 +ERROR_FREESPACE=8 +ERROR_INTEGRITY=9 +ERROR_MISSING_RESOURCES=10 +ERROR_JVM_EXTRACTION=11 +ERROR_JVM_UNPACKING=12 +ERROR_VERIFY_BUNDLED_JVM=13 + +VERIFY_OK=1 +VERIFY_NOJAVA=2 +VERIFY_UNCOMPATIBLE=3 + +MSG_ERROR_JVM_NOT_FOUND="nlu.jvm.notfoundmessage" +MSG_ERROR_USER_ERROR="nlu.jvm.usererror" +MSG_ERROR_JVM_UNCOMPATIBLE="nlu.jvm.uncompatible" +MSG_ERROR_INTEGRITY="nlu.integrity" +MSG_ERROR_FREESPACE="nlu.freespace" +MSG_ERROP_MISSING_RESOURCE="nlu.missing.external.resource" +MSG_ERROR_TMPDIR="nlu.cannot.create.tmpdir" + +MSG_ERROR_EXTRACT_JVM="nlu.cannot.extract.bundled.jvm" +MSG_ERROR_UNPACK_JVM_FILE="nlu.cannot.unpack.jvm.file" +MSG_ERROR_VERIFY_BUNDLED_JVM="nlu.error.verify.bundled.jvm" + +MSG_RUNNING="nlu.running" +MSG_STARTING="nlu.starting" +MSG_EXTRACTING="nlu.extracting" +MSG_PREPARE_JVM="nlu.prepare.jvm" +MSG_JVM_SEARCH="nlu.jvm.search" +MSG_ARG_JAVAHOME="nlu.arg.javahome" +MSG_ARG_VERBOSE="nlu.arg.verbose" +MSG_ARG_OUTPUT="nlu.arg.output" +MSG_ARG_EXTRACT="nlu.arg.extract" +MSG_ARG_TEMPDIR="nlu.arg.tempdir" +MSG_ARG_CPA="nlu.arg.cpa" +MSG_ARG_CPP="nlu.arg.cpp" +MSG_ARG_DISABLE_FREE_SPACE_CHECK="nlu.arg.disable.space.check" +MSG_ARG_LOCALE="nlu.arg.locale" +MSG_ARG_SILENT="nlu.arg.silent" +MSG_ARG_HELP="nlu.arg.help" +MSG_USAGE="nlu.msg.usage" + +isSymlink= + +entryPoint() { +initSymlinkArgument + CURRENT_DIRECTORY=`pwd` + LAUNCHER_NAME=`echo $0` + parseCommandLineArguments "$@" + initializeVariables + setLauncherLocale + debugLauncherArguments "$@" + if [ 1 -eq $SHOW_HELP_ONLY ] ; then + showHelp + fi + +message "$MSG_STARTING" +createTempDirectory + checkFreeSpace "$TOTAL_BUNDLED_FILES_SIZE" "$LAUNCHER_EXTRACT_DIR" + +extractJVMData + if [ 0 -eq $EXTRACT_ONLY ] ; then +searchJava + fi + + extractBundledData + verifyIntegrity + + if [ 0 -eq $EXTRACT_ONLY ] ; then + executeMainClass + else + exitProgram $ERROR_OK + fi +} + +initSymlinkArgument() { +testSymlinkErr=`test -L / 2>&1 > /dev/null` +if [ -z "$testSymlinkErr" ] ; then +isSymlink=-L +else +isSymlink=-h +fi +} + +debugLauncherArguments() { + debug "Launcher Command : $0" + argCounter=1 +while [ $# != 0 ] ; do + debug "... argument [$argCounter] = $1" + argCounter=`expr "$argCounter" + 1` + shift + done +} +isLauncherCommandArgument() { + case "$1" in + $ARG_VERBOSE | $ARG_NOSPACECHECK | $ARG_OUTPUT | $ARG_HELP | $ARG_JAVAHOME |
svn commit: r46420 [2/2] - in /dev/netbeans/netbeans/12.3-installers: ./ Apache-NetBeans-12.3-bin-linux-x64.sh Apache-NetBeans-12.3-bin-linux-x64.sh.asc Apache-NetBeans-12.3-bin-linux-x64.sh.sha512
Added: dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.asc == --- dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.asc (added) +++ dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.asc Tue Mar 2 17:16:17 2021 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- + +iQJKBAABCgA0FiEEewN+6+Dw3t/uZbaYNwOsOJoSqdQFAmA+cCUWHG5laWxjc21p +dGhAYXBhY2hlLm9yZwAKCRA3A6w4mhKp1D2iD/9otQ4EodsCn9YBHcIu992liorG +rhMdUb2unK2mu1gSIDrhSgGroUyVLghz8pCKcRey7MMXeQZiXAbwUYan8U4rhakH +TyMq8poRj0TN0XD471D9FcSMPKj0gNaJVW+wCZBtQ3+yttyuF0M1/21VqQhRm8GY +So6Dmatin9tCs3bkv9rbJOlQwmHYmul0Q8QU6s33U6VoOWwieMRtoltbuRAj/HwZ +A40izvDC6WV9rrN6ceySsEE9pouK6aUszzNpHglXy3FE/+6U1Ba1FnM3FnH7EnuV +ccBzvYU4gygbSkUypi3XAPLYR49Pu84QEAxCUw8gKmoyd9hd1hp6nrqnxFjO/ZXP +5W7WlpB8KxelhV7jeQFHf4bPXlYidszbzDa4bQuGKM6OhwlXOnH9M87c5iUNYoLd +XTr8ycSwc4OVp8HpGvMSfZbxkOzRd1PEB/KNAziHA+2WcojrEQsfDCwYMDaa9uuC +F6CCAfIGOysoWYXC9TlW/rQE3YhwfaWFVBxv0qUu16pneGRfpnwQ3v2sS3wkmtHw +JefWmbroYlxtmIKVZWLcT1yieOyFeoeebXd+3chJcvzt6awkSK2xHPbsj3jHH/eN +UE4BMmpdVZOiTFwif3AjOfjkuYSY7aZpJMI0w1h4GIcO2ORNbA5eRNb0DZ73NWCO +2BaOSxvFeYMgZ63CDw== +=zzKo +-END PGP SIGNATURE- Added: dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.sha512 == --- dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.sha512 (added) +++ dev/netbeans/netbeans/12.3-installers/Apache-NetBeans-12.3-bin-linux-x64.sh.sha512 Tue Mar 2 17:16:17 2021 @@ -0,0 +1 @@ +e60db3e9b0a70c2df03db134fa4f5e0ccb383e5ddbc03975cb2012a0a30176ecc73880d01d47814d04c6f819abee67ebca9469598204395261f329db331c0157 Apache-NetBeans-12.3-bin-linux-x64.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
[jira] [Updated] (NETBEANS-5380) Background scanning spends significant time in o.n.m.j.mx.project.SuiteFileOwnerQueryImpl#getOwner
[ https://issues.apache.org/jira/browse/NETBEANS-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5380: - Labels: pull-request-available (was: ) > Background scanning spends significant time in > o.n.m.j.mx.project.SuiteFileOwnerQueryImpl#getOwner > -- > > Key: NETBEANS-5380 > URL: https://issues.apache.org/jira/browse/NETBEANS-5380 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: Next >Reporter: Matthias Bläsing >Assignee: Jaroslav Tulach >Priority: Major > Labels: pull-request-available > Attachments: sample1.npss, sample2.npss > > Time Spent: 10m > Remaining Estimate: 0h > > I opened an angular project into an IDE build from recent master. I observed, > that a very (> 20 minutes) long background scanning times could be observed. > I first used visual VM and then the netbeans internal profiler to try to > narrow it down. > *Profile* > I'll attach two self profiles, both show the same picture, so I'll > concentrate on _sample2.npss_: > There are 9 entries in the self profile, that show CPU times > 190s. From > these 8 are waiting in native code and thus false positives: > - ReferenceHandler > - FileSystemWatchService > - process reaper (3x) > - StreamTerm.Output (2x) > - pool-5-thread-1 (From the trace LSP integration) > The one trace, that is connected to the observed scanning and is in java code > is _RepositoryUpdater.worker._ Breaking this down shows, that, although the > forward calls split into two branches, both hit: > _org.netbeans.modules.java.mx.project.SuiteFileOwnerQueryImpl#getOwner_ > That method is responsible for 178s CPU time. No other FileOwnerQueryImpl > shows up in the trace, and thus this leads me to the conclusion, that this is > fishy. > -- 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
svn commit: r46419 - /release/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-11.2/
Author: skygo Date: Tue Mar 2 15:05:20 2021 New Revision: 46419 Log: remove former nbm-maven-harness-12.2 Removed: release/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-11.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
svn commit: r46418 - /dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/ /release/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/
Author: skygo Date: Tue Mar 2 15:03:59 2021 New Revision: 46418 Log: release nbm-maven-harness 12.2 Added: release/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/ - copied from r46417, dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/ Removed: dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.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
svn commit: r46417 - /dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.6/
Author: skygo Date: Tue Mar 2 15:01:46 2021 New Revision: 46417 Log: release aborted Removed: dev/netbeans/netbeans-maven-utilities/nbm-maven-plugin/nbm-maven-plugin-4.6/ - 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] [Assigned] (NETBEANS-3042) can't see loggers (log4j2) created from apps deployed on Payara servers
[ https://issues.apache.org/jira/browse/NETBEANS-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Hoffmann reassigned NETBEANS-3042: - Assignee: Robert Hoffmann (was: Gaurav Gupta) > can't see loggers (log4j2) created from apps deployed on Payara servers > --- > > Key: NETBEANS-3042 > URL: https://issues.apache.org/jira/browse/NETBEANS-3042 > Project: NetBeans > Issue Type: Bug > Components: ide - Logger >Affects Versions: 11.0, 12.0, 11.1, 11.2, 11.3, 12.1 > Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and > 11, Windows 10 with AdoptOpenJDK 8 and 11. >Reporter: jose luis romero >Assignee: Robert Hoffmann >Priority: Major > Attachments: screenshot-1.png > > > I can't see the logs (log4j2) generated by my apps deployed in Payara, they > are always empty. > Tried to make a clean re-installation (no cache, no import config) but didn't > work > Initially, I thought that I messed up some config file so I made a post > [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow] > but no, it is a Netbeans issue introduced in 11.1 version + payara 5 -- 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-3042) can't see loggers (log4j2) created from apps deployed on Payara servers
[ https://issues.apache.org/jira/browse/NETBEANS-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17293730#comment-17293730 ] Robert Hoffmann commented on NETBEANS-3042: --- I found it works if I remove the "%d" and the "%n" from the pattern. But I still get the |#] at the end. > can't see loggers (log4j2) created from apps deployed on Payara servers > --- > > Key: NETBEANS-3042 > URL: https://issues.apache.org/jira/browse/NETBEANS-3042 > Project: NetBeans > Issue Type: Bug > Components: ide - Logger >Affects Versions: 11.0, 12.0, 11.1, 11.2, 11.3, 12.1 > Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and > 11, Windows 10 with AdoptOpenJDK 8 and 11. >Reporter: jose luis romero >Assignee: Gaurav Gupta >Priority: Major > Attachments: screenshot-1.png > > > I can't see the logs (log4j2) generated by my apps deployed in Payara, they > are always empty. > Tried to make a clean re-installation (no cache, no import config) but didn't > work > Initially, I thought that I messed up some config file so I made a post > [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow] > but no, it is a Netbeans issue introduced in 11.1 version + payara 5 -- 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-5397) Generating entities from (mysql) database while adding all tables does not work
Peter Hendriks created NETBEANS-5397: Summary: Generating entities from (mysql) database while adding all tables does not work Key: NETBEANS-5397 URL: https://issues.apache.org/jira/browse/NETBEANS-5397 Project: NetBeans Issue Type: Bug Components: javaee - Persistence Affects Versions: 12.2 Environment: !image-2021-03-02-11-40-58-636.png! Reporter: Peter Hendriks Fix For: 12.3 Attachments: Screenshot 2021-03-02 at 11.39.14.png, image-2021-03-02-11-40-58-636.png At this moment, when adding entities from a db with the wizard and selecting all tables. Entities will result in plain classes without even getters or setters. The ide throws a persistence error. when adding the entities table for table at a time it works, np -- 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-5396) Error by autocomplition
Alexey created NETBEANS-5396: Summary: Error by autocomplition Key: NETBEANS-5396 URL: https://issues.apache.org/jira/browse/NETBEANS-5396 Project: NetBeans Issue Type: Bug Environment: --- >Log Session: Tuesday, March 2, 2021 at 9:38:29 AM Moscow Standard Time >System Info: Product Version = Apache NetBeans IDE 12.1 Operating System = Linux version 5.10.6-051006-generic running on amd64 Java; VM; Vendor = 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-Ubuntu-0ubuntu1.20.04; Ubuntu Runtime = OpenJDK Runtime Environment 11.0.10+9-Ubuntu-0ubuntu1.20.04 Java Home = /usr/lib/jvm/java-11-openjdk-amd64 System Locale; Encoding = ru_RU (nb); UTF-8 Home Directory = /home/lex Current Directory = /home/lex User Directory = /home/lex/.netbeans/12.1 Cache Directory = /home/lex/.cache/netbeans/12.1 Installation = /opt/netbeans-12.1/netbeans/nb /opt/netbeans-12.1/netbeans/ergonomics /opt/netbeans-12.1/netbeans/ide /opt/netbeans-12.1/netbeans/extide /opt/netbeans-12.1/netbeans/java /opt/netbeans-12.1/netbeans/apisupport /opt/netbeans-12.1/netbeans/webcommon /opt/netbeans-12.1/netbeans/websvccommon /opt/netbeans-12.1/netbeans/profiler /opt/netbeans-12.1/netbeans/php /opt/netbeans-12.1/netbeans/harness /opt/netbeans-12.1/netbeans/cpplite /opt/netbeans-12.1/netbeans/javafx /opt/netbeans-12.1/netbeans/platform Boot & Ext. Classpath = Application Classpath = /opt/netbeans-12.1/netbeans/platform/lib/boot.jar:/opt/netbeans-12.1/netbeans/platform/lib/org-openide-modules.jar:/opt/netbeans-12.1/netbeans/platform/lib/org-openide-util.jar:/opt/netbeans-12.1/netbeans/platform/lib/org-openide-util-lookup.jar:/opt/netbeans-12.1/netbeans/platform/lib/org-openide-util-ui.jar Startup Classpath = /opt/netbeans-12.1/netbeans/platform/core/asm-8.0.1.jar:/opt/netbeans-12.1/netbeans/platform/core/org-openide-filesystems-compat8.jar:/opt/netbeans-12.1/netbeans/platform/core/core.jar:/opt/netbeans-12.1/netbeans/platform/core/org-netbeans-libs-asm.jar:/opt/netbeans-12.1/netbeans/platform/core/asm-tree-8.0.1.jar:/opt/netbeans-12.1/netbeans/platform/core/core-base.jar:/opt/netbeans-12.1/netbeans/platform/core/asm-commons-8.0.1.jar:/opt/netbeans-12.1/netbeans/platform/core/org-openide-filesystems.jar:/opt/netbeans-12.1/netbeans/nb/core/org-netbeans-upgrader.jar:/opt/netbeans-12.1/netbeans/nb/core/locale/core_nb.jar --- INFO [org.openide.util.lookup.MetaInfServicesLookup] java.lang.ClassNotFoundException: org.eclipse.osgi.launch.EquinoxFactory@ModuleCL@310ad207[de.funfried.netbeans.plugins.externalcodeformatter]:jar:file:/home/lex/.netbeans/12.1/modules/ext/de.funfried.netbeans.plugins.externalcodeformatter/org-eclipse-platform/org.eclipse.osgi.jar!/ not a subclass of org.osgi.framework.launch.FrameworkFactory@ModuleCL@769b1183[org.netbeans.libs.osgi]:jar:file:/opt/netbeans-12.1/netbeans/platform/modules/ext/osgi.core-7.0.0.jar!/ [catch] at org.openide.util.lookup.MetaInfServicesLookup.search(MetaInfServicesLookup.java:324) at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:131) at org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:402) at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:396) at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:136) at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:115) at org.netbeans.ModuleManager.enable(ModuleManager.java:1437) at org.netbeans.ModuleManager.enable(ModuleManager.java:1254) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125) at org.netbeans.core.startup.Main.start(Main.java:282) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) at java.base/java.lang.Thread.run(Thread.java:834) INFO [org.netbeans.modules.netbinox]: Install area set to file:/opt/netbeans-12.1/netbeans/ WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated. INFO [org.netbeans.modules.cnd.apt.debug.APTTraceFlags]: C/C++ code model: using old [ CND ] preprocessor WARNING [org.openide.filesystems.Ordering]: Found same position 1 000 000 for both Services/MIMEResolver/org-netbeans-modules-cpplite-editor-file-CDataObject-Extension.xml and