[jira] [Commented] (NETBEANS-5141) Support Source Groups form Alien Projects
[ https://issues.apache.org/jira/browse/NETBEANS-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17290505#comment-17290505 ] Antonio Marques commented on NETBEANS-5141: --- Thanks, I'll look into that. Only now did I realise you were talking about the same navigator pane that shows the structure of source files. I'd never noticed it showed things for projects too! (In fairness, I only look at it now and then, when in the middle of some source exploring.) > Support Source Groups form Alien Projects > - > > Key: NETBEANS-5141 > URL: https://issues.apache.org/jira/browse/NETBEANS-5141 > Project: NetBeans > Issue Type: New Feature > Components: projects - Gradle >Reporter: Antonio Marques >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > In the Kelemen plugin ([https://github.com/kelemen/netbeans-gradle-project)] > it is possible to set global arguments to add to the gradle command line, as > well as to the gradle JVM command line (Preferences \ Miscellaneous \ Gradle > \ Scripts and Tasks). This is essential if your build scripts respond to > custom parameters that you don't want to replicate across every specific > project. The Kelemen plugin uses two textareas, of line-separated options. I > don't see such a feature in the current implementation, though there are > places in the Preferences where it could be placed. > This may only be useful for some, but for those of us for whom it is useful, > it's essential. Until it's in place, our only option is to keep using the > Kelemen plugin (which I have nothing against, but there must be a reason why > there's s separate implementation on NB). -- 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: Restore original format of m2:/ URLs modified by aa256463dcefb3b95bec6b7ac74e04a960015bc9.
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 e5a40e4 Restore original format of m2:/ URLs modified by aa256463dcefb3b95bec6b7ac74e04a960015bc9. new f82594d Merge pull request #2778 from matthiasblaesing/fix_m2_url e5a40e4 is described below commit e5a40e45c894862b0566e34bec4055a317314b1c Author: Matthias Bläsing AuthorDate: Tue Feb 23 20:57:04 2021 +0100 Restore original format of m2:/ URLs modified by aa256463dcefb3b95bec6b7ac74e04a960015bc9. m2:/ became a defacto API for the autoupdate mechanism. Both OpenJFX and nb-javac rely on being able to be downloaded via the ".external" files mechanism and third party modules could also rely on the exact syntax of the URLs. Instead of modifying the URL format, a new ad-hoc parser is introduced to convert the m2 URL into maven coordinates. --- .../modules/ext/nb-javac-15.0.0.2-api.jar.external | 2 +- .../ext/nb-javac-15.0.0.2-impl.jar.external| 2 +- .../antsrc/org/netbeans/nbbuild/AutoUpdate.java| 2 +- .../netbeans/nbbuild/extlibs/DownloadBinaries.java | 47 ++ 4 files changed, 42 insertions(+), 11 deletions(-) diff --git a/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external b/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external index 72d3d41..0abbc18 100644 --- a/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external +++ b/nb/updatecenters/extras/nbjavac.api/release/modules/ext/nb-javac-15.0.0.2-api.jar.external @@ -1,5 +1,5 @@ CRC:3736270701 SIZE:210532 -URL:m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2:api +URL:m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2:jar:api MessageDigest: SHA-256 20dae9df239aa1d346c56b744aee741f753611e7470640ff1ff7b1731283ed1b MessageDigest: SHA-512 e12e603815159cbb348d8d3e73588d8ad549b41cac21831fa1228c0ab9bf23ce18d162b6fe7679de9d249fc2cb3a627edd35ebf2f3851dfd6d2513e1da741447 \ No newline at end of file diff --git a/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external b/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external index e2f2d12..4e44592 100644 --- a/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external +++ b/nb/updatecenters/extras/nbjavac.impl/release/modules/ext/nb-javac-15.0.0.2-impl.jar.external @@ -1,5 +1,5 @@ CRC:1851126890 SIZE:3511612 -URL: m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2 +URL: m2:/com.dukescript.nbjavac:nb-javac:15.0.0.2:jar MessageDigest: SHA-256 809b68535b8d5e564802deba7489308f01041acaf0731584544ffd96c6d385c1 MessageDigest: SHA-512 e450cf9da202dee89ef79bff65fab1a287bd97d08ecc2ea19fbeedd8a16ce79371fbc0a72c68d353d8d13cae18e015ad862b28962cd2f6e43874f52767e99de7 \ No newline at end of file diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java b/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java index f9dbf8f..898d4ea 100644 --- a/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java +++ b/nbbuild/antsrc/org/netbeans/nbbuild/AutoUpdate.java @@ -188,7 +188,7 @@ public class AutoUpdate extends Task { List info = installed.get(uu.getCodeName()); if (info != null && !uu.isNewerThan(info.get(0))) { log("Version " + info.get(0) + " of " + uu.getCodeName() + " is up to date", Project.MSG_VERBOSE); -if (!force) { +if (!force) { continue; } } diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java index 5b683a5..735683a 100644 --- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java +++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/DownloadBinaries.java @@ -35,13 +35,11 @@ import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLConnection; -import java.nio.file.Files; -import java.nio.file.StandardOpenOption; +import java.net.URLDecoder; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.List; -import java.util.function.Consumer; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.Project; @@ -180,11 +178,7 @@ public class DownloadBinaries extends Task { } public static InputStream downloadMaven(Task task, URI u) throws IOException { -if (!"m2".equals(u.getScheme())) { -throw new IOException("Only m2 URL is supported: " + u); -} -String coord = u.getPath().replace("/", " ").trim(); -
[jira] [Commented] (NETBEANS-5141) Support Source Groups form Alien Projects
[ https://issues.apache.org/jira/browse/NETBEANS-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17290159#comment-17290159 ] Laszlo Kishalmi commented on NETBEANS-5141: --- You can use NetBeans Slack at netbeans.slack.com or Telegram: [https://t.me/apache_netbeans] or the NetBeans mailing lists. For Gradle Tasks, use the Navigator, if you would like to set up a custom action which is accessible from the context menu, then it can be customized in the Project Properties > Build > Build Actions > Support Source Groups form Alien Projects > - > > Key: NETBEANS-5141 > URL: https://issues.apache.org/jira/browse/NETBEANS-5141 > Project: NetBeans > Issue Type: New Feature > Components: projects - Gradle >Reporter: Antonio Marques >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > In the Kelemen plugin ([https://github.com/kelemen/netbeans-gradle-project)] > it is possible to set global arguments to add to the gradle command line, as > well as to the gradle JVM command line (Preferences \ Miscellaneous \ Gradle > \ Scripts and Tasks). This is essential if your build scripts respond to > custom parameters that you don't want to replicate across every specific > project. The Kelemen plugin uses two textareas, of line-separated options. I > don't see such a feature in the current implementation, though there are > places in the Preferences where it could be placed. > This may only be useful for some, but for those of us for whom it is useful, > it's essential. Until it's in place, our only option is to keep using the > Kelemen plugin (which I have nothing against, but there must be a reason why > there's s separate implementation on NB). -- 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 (4d18a93 -> 8ec89eb)
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 4d18a93 Merge pull request #2562 from Akshay-Gupta-Oracle/sourceLevelInTest new 7dbc4f9 Let's upgrade javac.target to 1.8 across the code base new 4661771 By default use javac.target 1.8 new 96720b9 Set release based on javac.target unless -Xbootclasspath flag is specified new 94aebf0 Disable release flag by setting bootclasspath new 140cb7e setRelease has been added in Ant 1.9.8 new 741fd03 Avoid access to sun.security.util package in the test new bc005a0 Removing the old bytecode test new 1b96b56 JDK11's javac doesn't like $ in Class-Path attribute new 240c5b3 Removing the -Dpermit.jdk9.builds=true flag new 6bfbf96 Skip the api.htmlui tests if JFXPanel cannot be instantiated new 7760c5d Skip the tests if JavaFX cannot be initialized new b48dd4d Don't test JavaFX Ant project when there is no JavaFX new d9b2df1 Only perform the test when JFXPanel is available new 1067e68 Validate the generated class files can be executed on JDK8 new 454ce06 Always specify target/release when using javac new 1fc8f5a Removing note about -Dpermit.jdk9.builds=true from readme new 4e20b24 Making up-to-date with master new 0c11e9e Skip the wizard test when there is no JavaFX around new 8ec89eb Merge pull request #2761 from JaroslavTulach/jtulach/UseJDK11 The 5044 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: .travis.yml| 4 +- README.md | 1 - apisupport/apisupport.ant/build.xml| 2 +- .../modules/apisupport/project/UseFxTest.java | 19 + .../JBoss4EjbTest/nbproject/project.properties | 2 +- .../JBoss4WebTest/nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- enterprise/j2ee.ant/build.xml | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../EJBModule2_1_4/nbproject/project.properties| 2 +- .../EJBModule_1_4/nbproject/project.properties | 2 +- .../EJBModule_5_0/nbproject/project.properties | 2 +- .../EJBModule_6_0/nbproject/project.properties | 2 +- .../EJBModule_7_0/nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../BrokenEJBModule1/nbproject/project.properties | 2 +- .../EJBModule1/nbproject/project.properties| 2 +- .../EJBModule_6_0/nbproject/project.properties | 2 +- .../EJBModule_5_0/nbproject/project.properties | 2 +- .../EJBModule_6_0/nbproject/project.properties | 2 +- .../EJBModule_7_0/nbproject/project.properties | 2 +- .../WebModule_6_0/nbproject/project.properties | 2 +- .../WebModule_7_0/nbproject/project.properties | 2 +- .../TestingEntApp-ejb/nbproject/project.properties | 2 +- .../TestingEntApp-war/nbproject/project.properties | 2 +- .../TestingEntApp/nbproject/project.properties | 2 +- .../EntityHintsApp/nbproject/project.properties| 2 +- .../EntityHintsEJB/nbproject/project.properties| 2 +- .../MultiSrcRootEjb/nbproject/project.properties | 2 +- .../MultiSrcRootWar/nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../projects/TestCMP/nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../TestPersistence/nbproject/project.properties | 2 +- .../TestWebApp/nbproject/project.properties| 2 +- .../EJBModule53/nbproject/project.properties | 2 +- .../JBoss4EjbTest/nbproject/project.properties | 2 +- .../JBoss4WebTest/nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../TestApplication/nbproject/project.properties | 2 +- .../ScriptingPerfTest/nbproject/project.properties | 2 +- .../nbproject/project.properties | 2 +- .../TestWebProject/nbproject/project.properties| 2 +- .../TestWebProject
[jira] [Commented] (NETBEANS-5141) Support Source Groups form Alien Projects
[ https://issues.apache.org/jira/browse/NETBEANS-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289985#comment-17289985 ] Antonio Marques commented on NETBEANS-5141: --- I did see *Run Gradle \ Tasks*..., but that takes me to a dialog to define a task (and for some reason I couldn't make it work when I tried to define *publish*). Is there any other place where at least such 'standard' tasks are available out of the box? Re the outer source dir, I do have an outer *resources* sourceset node that 'belongs' to another gradle project (which doesn't actually have any java in it), and it does appear as an 'error node'. But my original question wasn't about that one, but rather outer *java* sources (as in the snippet above), and those do not belong to any other project, they just happen to be physically located as siblings of the 'project root'; and they do not appear as error nodes, they simply don't appear at all (except in the project properties, where they do not display any error). But as I said I'm not into changing your view on the issue, when I asked it was just a question. I'm a bit wary of being using this issue almost as a chat, I undesrtand if you think it's out of line. > Support Source Groups form Alien Projects > - > > Key: NETBEANS-5141 > URL: https://issues.apache.org/jira/browse/NETBEANS-5141 > Project: NetBeans > Issue Type: New Feature > Components: projects - Gradle >Reporter: Antonio Marques >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > In the Kelemen plugin ([https://github.com/kelemen/netbeans-gradle-project)] > it is possible to set global arguments to add to the gradle command line, as > well as to the gradle JVM command line (Preferences \ Miscellaneous \ Gradle > \ Scripts and Tasks). This is essential if your build scripts respond to > custom parameters that you don't want to replicate across every specific > project. The Kelemen plugin uses two textareas, of line-separated options. I > don't see such a feature in the current implementation, though there are > places in the Preferences where it could be placed. > This may only be useful for some, but for those of us for whom it is useful, > it's essential. Until it's in place, our only option is to keep using the > Kelemen plugin (which I have nothing against, but there must be a reason why > there's s separate implementation on NB). -- 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: r46305 - in /dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2: ./ nbm-maven-harness-12.2-source-release.zip nbm-maven-harness-12.2-source-release.zip.asc nbm-
Author: skygo Date: Wed Feb 24 11:25:42 2021 New Revision: 46305 Log: prepare nbm-harness 12.2 vote Added: dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/ dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip (with props) dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.asc dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.sha512 Added: dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip == Binary file - no diff available. Propchange: dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip -- svn:mime-type = application/octet-stream Added: dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.asc == --- dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.asc (added) +++ dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.asc Wed Feb 24 11:25:42 2021 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEj+HCbxXgMg50C67YSiYBztqTgvMFAmA2JkMACgkQSiYBztqT +gvOwHw//cvRUaFTnAsK09e6ru/d/xvGXG4YppF+0NOJ9L7xVKbDi5bsXW35houD9 +8cTrSRoklAZmzzPhlLu3tg+tHnvH9FxYjIIdvuinrpeRQWxDzEk1slpt0RX6l0dF +Tu1mz1ZoGhqzDTrOA8DFEduXLLWIVGj10o6K040GduwgH47ZVGvKtu+2ajHTpeM0 +v5mESYUsmsN6z3EyGHTuRmaapNPFaTFr6T/2u8+9xj1Qqygj6fs921Sj1DFRvH+W +VoxfwY358uwkMUPOAuMyZBD7+PtuaG54NBVy+bhh1om4KCEZW3WNqaL5JaSukDUU +UBGdG9CsCt/VsDjRyNpzB+2k2lTLfXTpYAMblpMsGolNkVt0Jr8j/EdnsQpSPFgt +2RfvG4ffy8QFqpRY9Sa0lDsIlaf1yf1yGNQWHD1owWH6RJ9vF27LB9P0KJC8ZU0z +sx+N0nte2XZrtMv5e+pqQU0qANpTEOnse0u3ZDDCm65A35ZnA/IU6XhzlyBcnVWv +lfftn3xuLgV37tpKOZ879EyeDEHNbr6zSmgNGoMZWMJhk9gdAJ8Sk8caNkt3ZuGN +BmTTY4pSgI4Acpf4ayWpIls1ZUcquEqvM/pKR1EBpPGEOiLuieiVVv4HvFd0bNOn +mygBeMjk42S2761AgkNb9wBcqJINzkMgAX4G76VxHHfQEcKHx1o= +=+2WO +-END PGP SIGNATURE- Added: dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.sha512 == --- dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.sha512 (added) +++ dev/netbeans/netbeans-maven-utilities/nbm-maven-harness/nbm-maven-harness-12.2/nbm-maven-harness-12.2-source-release.zip.sha512 Wed Feb 24 11:25:42 2021 @@ -0,0 +1 @@ +7d81690486c953030da2e3d341c3669c5c53ae120789b71cabf3bc5c2ae7e7825df6b3ca7b3327a22abc5cc50328388ef7d4217112172a05c43e2202b65007aa \ No newline at end of file - 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-5385) IDE SLOW DOWN
Егор Ермилов created NETBEANS-5385: -- Summary: IDE SLOW DOWN Key: NETBEANS-5385 URL: https://issues.apache.org/jira/browse/NETBEANS-5385 Project: NetBeans Issue Type: Bug Environment: Linux MINT 20 Reporter: Егор Ермилов Attachments: IDE log.txt, UI log.txt Sometimes got IDE slowdown. It causes all OS slowdown. -- 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-mavenutils-nbm-maven-harness] branch master updated: [maven-release-plugin] prepare for next development iteration
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-mavenutils-nbm-maven-harness.git The following commit(s) were added to refs/heads/master by this push: new f4da900 [maven-release-plugin] prepare for next development iteration f4da900 is described below commit f4da90050ab24a10bf86e73edd64fc17363d7896 Author: Eric Barboni AuthorDate: Wed Feb 24 11:11:36 2021 +0100 [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d233f44..764db43 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ under the License. 1 nbm-maven-harness -12.2 +12.3-SNAPSHOT Apache NetBeans Maven Utilities - NBM Harness for Maven https://bits.netbeans.org/mavenutilities/nbm-maven-harness @@ -45,7 +45,7 @@ under the License. scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-harness.git scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-harness.git https://github.com/apache/netbeans-mavenutils-nbm-maven-harness - nbm-maven-harness-12.2 + HEAD - 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-mavenutils-nbm-maven-harness] annotated tag nbm-maven-harness-12.2 created (now 815b2a6)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to annotated tag nbm-maven-harness-12.2 in repository https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-harness.git. at 815b2a6 (tag) tagging d416f87415e73e4dd49366036ed4195c8cd7284b (commit) replaces nbm-maven-harness-11.2 by Eric Barboni on Wed Feb 24 11:11:31 2021 +0100 - Log - [maven-release-plugin] copy for tag nbm-maven-harness-12.2 --- 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-mavenutils-nbm-maven-harness] branch master updated: [maven-release-plugin] prepare release nbm-maven-harness-12.2
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-mavenutils-nbm-maven-harness.git The following commit(s) were added to refs/heads/master by this push: new d416f87 [maven-release-plugin] prepare release nbm-maven-harness-12.2 d416f87 is described below commit d416f87415e73e4dd49366036ed4195c8cd7284b Author: Eric Barboni AuthorDate: Wed Feb 24 11:11:16 2021 +0100 [maven-release-plugin] prepare release nbm-maven-harness-12.2 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a218e19..d233f44 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ under the License. 1 nbm-maven-harness -12.2-SNAPSHOT +12.2 Apache NetBeans Maven Utilities - NBM Harness for Maven https://bits.netbeans.org/mavenutilities/nbm-maven-harness @@ -45,7 +45,7 @@ under the License. scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-harness.git scm:git:https://gitbox.apache.org/repos/asf/netbeans-mavenutils-nbm-maven-harness.git https://github.com/apache/netbeans-mavenutils-nbm-maven-harness - HEAD + 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
[netbeans] branch master updated: [NETBEANS-5068] Add test cases in travis with jdk15
This is an automated email from the ASF dual-hosted git repository. akshaygupta 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 0578276 [NETBEANS-5068] Add test cases in travis with jdk15 new 4d18a93 Merge pull request #2562 from Akshay-Gupta-Oracle/sourceLevelInTest 0578276 is described below commit 0578276ed3947edc8f09c4c17e926a0b07cad2c8 Author: Akshay Gupta AuthorDate: Thu Nov 26 18:46:04 2020 +0530 [NETBEANS-5068] Add test cases in travis with jdk15 --- .travis.yml| 54 +++ .../15/CreateConstructorNonDefaultConstructor.pass | 155 -- ...ConstructorNonDefaultConstructorInnerClass.pass | 153 -- .../15/CreateConstructorTest.pass | 156 -- .../15/CreateConstructorTestInnerClass.pass| 154 -- .../15/CreateConstructorWithConstructors.pass | 154 -- ...reateConstructorWithConstructorsInnerClass.pass | 152 -- .../CreateConstructorWithDefaultConstructor.pass | 155 -- ...onstructorWithDefaultConstructorInnerClass.pass | 153 -- .../15/OverrideAbstractList.pass | 176 .../15/OverrideAbstractListAbstract.pass | 178 - .../15/UnimplementedMethod.pass| 142 .../15/classModifiersWithoutPublic.pass| 8 - .../15/extendsAndImplementsAndPermitsKeywords.pass | 3 - .../15/extendsAndPermitsKeywords.pass | 2 - .../15/implementsAndPermitsKeywords.pass | 2 - .../15/interfaceMemberModifiersAndTypes.pass | 140 .../15/memberModifiersStartingWithP.pass | 3 - .../15/memberModifiersTypesAndGenElements.pass | 142 .../15/memberModifiersTypesAndGenElements2.pass| 143 - .../15/memberModifiersTypesAndGenElements3.pass| 144 - .../15/memberModifiersTypesAndGenElements4.pass| 150 - .../JavaCompletionTaskTest/15/permitsKeyword.pass | 1 - .../15/topLevelKeywords.pass | 11 -- .../15/topLevelKeywordsWithoutPackage.pass | 10 -- .../JavaCompletionTask114FeaturesTest.java | 48 +- .../modules/editor/java/GoToSupportTest.java | 48 +- .../netbeans/modules/java/source/TreeShims.java| 16 ++ .../modules/java/source/builder/TreeFactory.java | 4 + .../modules/java/source/save/FormatingTest.java| 45 +- 30 files changed, 200 insertions(+), 2502 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7b2c23f..a76fd4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -546,6 +546,60 @@ matrix: script: - ant $OPTS -Dtest.config=batch2-vanilla-javac -f java/java.hints test +- name: Test Java modules without nb-javac on Java 15 + jdk: openjdk8 + env: +- OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json -quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true" + before_script: +- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh +- export TEST_JDK=`bash install-jdk.sh --feature 15 --license GPL --emit-java-home --silent | tail -1` +- export OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json $OPTS -Dtest.nbjdk.home=$TEST_JDK -Dtest.use.jdk.javac=true" +- ant $OPTS clean +- ant $OPTS build + script: +- ant $OPTS -f java/java.completion test +- ant $OPTS -Dtest.config=vanilla-javac -f java/java.source.base test + +- name: Test refactoring.java without nb-javac on Java 15 + jdk: openjdk8 + env: +- OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json -quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true" + before_script: +- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh +- export TEST_JDK=`bash install-jdk.sh --feature 15 --license GPL --emit-java-home --silent | tail -1` +- export OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json $OPTS -Dtest.nbjdk.home=$TEST_JDK -Dtest.use.jdk.javac=true" +- ant $OPTS clean +- ant $OPTS build + script: +- travis_retry ant $OPTS -f j
[jira] [Closed] (NETBEANS-5353) Do not run up-to-date compilation tasks for test runs
[ https://issues.apache.org/jira/browse/NETBEANS-5353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Svatopluk Dedic closed NETBEANS-5353. - Resolution: Fixed > Do not run up-to-date compilation tasks for test runs > - > > Key: NETBEANS-5353 > URL: https://issues.apache.org/jira/browse/NETBEANS-5353 > Project: NetBeans > Issue Type: Improvement > Components: projects - Gradle >Affects Versions: 12.2 >Reporter: Svatopluk Dedic >Assignee: Svatopluk Dedic >Priority: Major > Labels: pull-request-available > Fix For: 12.4 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > When running \{{debug.single }}project action, on a test in gradle project, > the following is executed: > {noformat} > ./gradlew --configure-on-demand > --rerun-tasks -x check test --tests com.example1.Demo22Test > {noformat} > Note the *--rerun-tasks* parameter, which will recompile classes etc, even > though gradle thinks they're up-to-date. Naturally *something* has to be > done, since otherwise Gradle won't even run the tests. As noted in > [https://www.stefan-oehme.com/stop-rerunning-tests,] Gradle should be aware > of test input changes and will decide whether to actually run the test or not. > Since this is a direct user instruction (from the IDE), we may use different > approach: run *cleanTest* task before the *test*, which will invalidate test > result from the build cache. > [~lkishalmi] – what's your opinion on the above improvement ? Is it stable / > gradle way ? It seems to work on my machine, but I lack experience with the > build system details. -- 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-5384) NPE in RestServiceDescriptionImpl
Alessandro Moscatelli created NETBEANS-5384: --- Summary: NPE in RestServiceDescriptionImpl Key: NETBEANS-5384 URL: https://issues.apache.org/jira/browse/NETBEANS-5384 Project: NetBeans Issue Type: Bug Affects Versions: 12.2 Environment: Windows 10, 10.0, amd64 Java HotSpot(TM) 64-Bit Server VM, 11.0.2+9-LTS, Java(TM) SE Runtime Environment, 11.0.2+9-LTS Apache NetBeans IDE 12.2 Reporter: Alessandro Moscatelli Fix For: 12.3 I see bunch of errors like these while coding. I can't understand what's the trigger, probably cleaning and building projects. SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.websvc.rest.nodes.RestServicesNodeFactory$RestNodeList$1java.lang.NullPointerException at org.netbeans.modules.websvc.rest.model.impl.RestServiceDescriptionImpl.initMethods(RestServiceDescriptionImpl.java:77) at org.netbeans.modules.websvc.rest.model.impl.RestServiceDescriptionImpl.(RestServiceDescriptionImpl.java:60) at org.netbeans.modules.websvc.rest.model.impl.RestServicesImpl$RestServiceProvider$1.handleAnnotation(RestServicesImpl.java:221) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner.handleAnnotation(AnnotationScanner.java:199) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner.findAnnotations(AnnotationScanner.java:164) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner.findAnnotations(AnnotationScanner.java:92) at org.netbeans.modules.websvc.rest.model.impl.RestServicesImpl$RestServiceProvider.findAnnotation(RestServicesImpl.java:212) at org.netbeans.modules.websvc.rest.model.impl.RestServicesImpl$RestServiceProvider.createInitialObjects(RestServicesImpl.java:161) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObjectManager.ensureInitialized(PersistentObjectManager.java:97) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObjectManager.getObjects(PersistentObjectManager.java:76) at org.netbeans.modules.websvc.rest.model.impl.RestServicesImpl.sizeRestServiceDescription(RestServicesImpl.java:133) at org.netbeans.modules.websvc.rest.nodes.RestServicesNodeFactory$RestNodeList$1$1.run(RestServicesNodeFactory.java:92) at org.netbeans.modules.websvc.rest.nodes.RestServicesNodeFactory$RestNodeList$1$1.run(RestServicesNodeFactory.java:86) at org.netbeans.modules.websvc.rest.model.impl.RestServicesMetadataModelImpl$1.call(RestServicesMetadataModelImpl.java:54) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runCallable(AnnotationModelHelper.java:231) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.access$100(AnnotationModelHelper.java:54) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:159) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:156) at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:60) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357) at org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:431) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:156) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:124) at org.netbeans.modules.websvc.rest.model.impl.RestServicesMetadataModelImpl.runReadAction(RestServicesMetadataModelImpl.java:52) at org.netbeans.modules.websvc.rest.nodes.RestServicesNodeFactory$RestNodeList$1.run(RestServicesNodeFactor
[jira] [Updated] (NETBEANS-5141) Support Source Groups form Alien Projects
[ https://issues.apache.org/jira/browse/NETBEANS-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5141: - Labels: pull-request-available (was: ) > Support Source Groups form Alien Projects > - > > Key: NETBEANS-5141 > URL: https://issues.apache.org/jira/browse/NETBEANS-5141 > Project: NetBeans > Issue Type: New Feature > Components: projects - Gradle >Reporter: Antonio Marques >Assignee: Laszlo Kishalmi >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > In the Kelemen plugin ([https://github.com/kelemen/netbeans-gradle-project)] > it is possible to set global arguments to add to the gradle command line, as > well as to the gradle JVM command line (Preferences \ Miscellaneous \ Gradle > \ Scripts and Tasks). This is essential if your build scripts respond to > custom parameters that you don't want to replicate across every specific > project. The Kelemen plugin uses two textareas, of line-separated options. I > don't see such a feature in the current implementation, though there are > places in the Preferences where it could be placed. > This may only be useful for some, but for those of us for whom it is useful, > it's essential. Until it's in place, our only option is to keep using the > Kelemen plugin (which I have nothing against, but there must be a reason why > there's s separate implementation on NB). -- 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-5141) Support Source Groups form Alien Projects
[ https://issues.apache.org/jira/browse/NETBEANS-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-5141: -- Summary: Support Source Groups form Alien Projects (was: Support custom global gradle arguments and gradle JVM arguments) > Support Source Groups form Alien Projects > - > > Key: NETBEANS-5141 > URL: https://issues.apache.org/jira/browse/NETBEANS-5141 > Project: NetBeans > Issue Type: New Feature > Components: projects - Gradle >Reporter: Antonio Marques >Assignee: Laszlo Kishalmi >Priority: Major > > In the Kelemen plugin ([https://github.com/kelemen/netbeans-gradle-project)] > it is possible to set global arguments to add to the gradle command line, as > well as to the gradle JVM command line (Preferences \ Miscellaneous \ Gradle > \ Scripts and Tasks). This is essential if your build scripts respond to > custom parameters that you don't want to replicate across every specific > project. The Kelemen plugin uses two textareas, of line-separated options. I > don't see such a feature in the current implementation, though there are > places in the Preferences where it could be placed. > This may only be useful for some, but for those of us for whom it is useful, > it's essential. Until it's in place, our only option is to keep using the > Kelemen plugin (which I have nothing against, but there must be a reason why > there's s separate implementation on NB). -- 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-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:comment-tabpanel&focusedCommentId=17289757#comment-17289757 ] Jaroslav Tulach edited comment on NETBEANS-5380 at 2/24/21, 8:07 AM: - I could modify the {{mx netbeansinit}} generator to leave a note in the {{nbproject/project.properties}} to skip ownership, if there is a project relative to this Ant project. Then the workflow would be: * use global query and find the Ant project * the Ant project would find the MX project on NetBeans 12.3 and delegate to it * the Ant project wouldn't find anything on older NetBeans and would handle the ownership This way we could get rid of the global mx.FileOwnerQuery and let the price be paid only by those who are dealing with {{mx}} built projects. was (Author: jtulach): I could modify the {{mx netbeansinit}} generator to leave a note in the {{nbproject/project.properties}} to skip ownership, if there is a project relative to this Ant project. Then the workflow would be: * use global query and find the Ant project * the Ant project would find the MX project on NetBeans 12.3 and delegate to it * the Ant project wouldn't find anything on older NetBeans and would handle the ownership This way we could get rid of the global mx.FileOwnerQuery and let the price be payed only for those who are dealing with {{mx}} built projects. > 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 > Attachments: sample1.npss, sample2.npss > > > 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
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17289757#comment-17289757 ] Jaroslav Tulach commented on NETBEANS-5380: --- I could modify the {{mx netbeansinit}} generator to leave a note in the {{nbproject/project.properties}} to skip ownership, if there is a project relative to this Ant project. Then the workflow would be: * use global query and find the Ant project * the Ant project would find the MX project on NetBeans 12.3 and delegate to it * the Ant project wouldn't find anything on older NetBeans and would handle the ownership This way we could get rid of the global mx.FileOwnerQuery and let the price be payed only for those who are dealing with {{mx}} built projects. > 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 > Attachments: sample1.npss, sample2.npss > > > 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