[netbeans] branch master updated (2de3370 -> e5f1ebe)
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 2de3370 Fixed typo: runSingle presence depends on runClassName property. new 1ca7cb8 Making nbjavac@17 part of distribution by default. Allow it to be disabled by end user. new 82662d3 Merging the two nb-javac JARs into a single module new 2d7394c Mitigate misconfigured classpath in Hacks class new 9dd5693 Moving requires nbjavac from java.kit to java.source.base new 2f9952f Removing no longer needed nbjavac debris new e5f1ebe Merge pull request #3251 from jtulach/jtulach/BundleNbJavac The 6203 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: .../ui/wizard/javahint/NewJavaHintIterator.java|1 - ergonomics/ide.ergonomics/java.properties |5 - ide/ide.kit/nbproject/project.properties |1 + java/java.debug/nbproject/project.xml |9 - java/java.hints.declarative/nbproject/project.xml |5 - .../modules/java/hints/declarative/Hacks.java | 11 +- java/java.hints/nbproject/project.xml |9 - java/java.j2seplatform/nbproject/project.xml |8 - java/java.source.base/manifest.mf |1 + java/java.source.base/nbproject/project.xml|9 - java/java.source/nbproject/project.xml |9 - java/java.sourceui/nbproject/project.xml |9 - java/jshell.support/nbproject/project.xml |7 - java/lib.nbjavac/nbproject/project.xml |9 - java/libs.javacapi/external/binaries-list |1 + .../external/nb-javac-jdk-17+35-license.txt|5 +- java/libs.javacapi/nbproject/project.xml |4 + java/libs.javacimpl/arch.xml | 1002 java/libs.javacimpl/build.xml | 35 - java/libs.javacimpl/manifest.mf|5 - java/libs.javacimpl/nbproject/project.properties | 39 - .../org/netbeans/libs/javacimpl/Bundle.properties | 22 - .../nbjavac.api => java/libs.nbjavacapi}/build.xml |6 +- .../external/binaries-list |1 + .../external/nb-javac-jdk-17+35-license.txt} | 13 +- java/libs.nbjavacapi/manifest.mf |8 + .../libs.nbjavacapi}/nbproject/project.properties |3 +- .../nbproject/project.xml | 14 +- .../modules/nbjavac/api}/Bundle.properties |2 +- java/refactoring.java/nbproject/project.xml|9 - java/spi.java.hints/nbproject/project.xml |9 - nb/updatecenters/build.xml | 16 - nb/updatecenters/extras/.gitignore |1 - nb/updatecenters/extras/build.xml | 25 - nb/updatecenters/extras/nbjavac.api/manifest.mf|7 - .../extras/nbjavac.api/nbproject/build-impl.xml| 50 - .../nbjavac.api/nbproject/genfiles.properties | 22 - .../extras/nbjavac.api/nbproject/project.xml | 36 - .../extras/nbjavac.api/nbproject/suite.properties | 18 - .../ext/nb-javac-jdk-17-35-api.jar.external|5 - .../netbeans/modules/nbjavac/api/Bundle.properties | 18 - nb/updatecenters/extras/nbjavac.impl/build.xml | 25 - nb/updatecenters/extras/nbjavac.impl/manifest.mf |8 - .../extras/nbjavac.impl/nbproject/build-impl.xml | 50 - .../nbjavac.impl/nbproject/genfiles.properties | 22 - .../nbjavac.impl/nbproject/project.properties | 21 - .../extras/nbjavac.impl/nbproject/project.xml | 43 - .../extras/nbjavac.impl/nbproject/suite.properties | 18 - .../ext/nb-javac-jdk-17-35-impl.jar.external |5 - .../modules/nbjavac/impl/Bundle.properties | 18 - nb/updatecenters/extras/nbjavac/build.xml | 25 - nb/updatecenters/extras/nbjavac/manifest.mf|6 - .../extras/nbjavac/nbproject/build-impl.xml| 50 - .../extras/nbjavac/nbproject/genfiles.properties | 22 - .../extras/nbjavac/nbproject/project.properties| 20 - .../extras/nbjavac/nbproject/project.xml | 77 -- .../extras/nbjavac/nbproject/suite.properties | 18 - nb/updatecenters/extras/nbproject/build-impl.xml | 70 -- .../extras/nbproject/genfiles.properties | 28 - .../extras/nbproject/platform.properties | 35 - nb/updatecenters/extras/nbproject/platform.xml | 54 -- .../extras/nbproject/project.properties| 21 - nb/updatecenters/extras/nbproject/project.xml | 29 - nb/updatecenters/licenseinfo.xml |6 - .../nbbuild/extlibs/VerifyLibsAndLicenses.java |5 +- .../org/netbeans/nbbuild/extlibs
[netbeans] branch master updated: Fixed typo: runSingle presence depends on runClassName property.
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 2de3370 Fixed typo: runSingle presence depends on runClassName property. 2de3370 is described below commit 2de3370040ec4ea3ebe8e6c0510ba7de239a8cf8 Author: Svata Dedic AuthorDate: Fri Nov 26 13:33:49 2021 +0100 Fixed typo: runSingle presence depends on runClassName property. --- .../org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java index c112a09..5663c01 100644 --- a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java +++ b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java @@ -44,7 +44,7 @@ class NetBeansRunSinglePlugin implements Plugin { project.afterEvaluate(p -> { if (p.getPlugins().hasPlugin("java") && (project.getTasks().findByPath(RUN_SINGLE_TASK) == null) -&& project.hasProperty(RUN_SINGLE_CWD)){ +&& project.hasProperty(RUN_SINGLE_MAIN)){ addTask(p); } if(p.hasProperty(RUN_SINGLE_JVM_ARGS)) { - 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: Small improvement on GitBranchHash which is able to get at least the hash of a detached HEAD
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 7c345e9 Small improvement on GitBranchHash which is able to get at least the hash of a detached HEAD 7c345e9 is described below commit 7c345e94105289f290b0c6d96f33cdd1b99d477b Author: Laszlo Kishalmi AuthorDate: Thu Nov 25 13:48:48 2021 -0800 Small improvement on GitBranchHash which is able to get at least the hash of a detached HEAD --- .../antsrc/org/netbeans/nbbuild/GitBranchHash.java | 33 ++ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/GitBranchHash.java b/nbbuild/antsrc/org/netbeans/nbbuild/GitBranchHash.java index 2d53fe8..2418f4b 100644 --- a/nbbuild/antsrc/org/netbeans/nbbuild/GitBranchHash.java +++ b/nbbuild/antsrc/org/netbeans/nbbuild/GitBranchHash.java @@ -79,19 +79,25 @@ public class GitBranchHash extends Task { if (headroot != null && Files.size(headroot) > 0l) { List lines = Files.readAllLines(headroot); String line = lines.get(0); -String revLink = line.substring(line.indexOf(':')+1).trim(); -branch = revLink.substring(revLink.lastIndexOf('/')+1).trim(); -Path revPath = headroot.getParent().resolve(revLink); -if(Files.isRegularFile(revPath) && Files.size(revPath) > 0l) { -List revlines = Files.readAllLines(revPath); -String revline = revlines.get(0); -if(revline.length()>=12){ -hash = revline.trim(); +if (!line.contains(":") && (line.length() == 40)) { +//Detached HEAD +hash = line; +log("Detached HEAD please specify '" + branchProperty + "' externally.", Project.MSG_WARN); +} else { +String revLink = line.substring(line.indexOf(':')+1).trim(); +branch = revLink.substring(revLink.lastIndexOf('/')+1).trim(); +Path revPath = headroot.getParent().resolve(revLink); +if(Files.isRegularFile(revPath) && Files.size(revPath) > 0l) { +List revlines = Files.readAllLines(revPath); +String revline = revlines.get(0); +if(revline.length()>=12){ +hash = revline.trim(); +} else { +log("no content in " + revPath, Project.MSG_WARN); +} } else { -log("no content in " + revPath, Project.MSG_WARN); +log("unable to find revision info for " + revPath, Project.MSG_WARN); } -} else { -log("unable to find revision info for " + revPath, Project.MSG_WARN); } } else { log("No HEAD found starting from " + file, Project.MSG_WARN); @@ -99,11 +105,14 @@ public class GitBranchHash extends Task { } catch(IOException ex) { log("Could not read " + headroot + ": " + ex, Project.MSG_WARN); } -if (!branch.isEmpty() && !hash.isEmpty()) { +if (!branch.isEmpty()) { getProject().setNewProperty(branchProperty, branch); +} +if (!hash.isEmpty()) { getProject().setNewProperty(hashProperty, hash); } } } + - 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-6236) Background scanning repeatedly throws exceptions and never finishes
Tim Rosser created NETBEANS-6236: Summary: Background scanning repeatedly throws exceptions and never finishes Key: NETBEANS-6236 URL: https://issues.apache.org/jira/browse/NETBEANS-6236 Project: NetBeans Issue Type: Bug Environment: Linux VM Reporter: Tim Rosser Attachments: netbeans_exception.txt As per summary -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6235) Build of vscode extension fails
[ https://issues.apache.org/jira/browse/NETBEANS-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6235: - Labels: pull-request-available (was: ) > Build of vscode extension fails > --- > > Key: NETBEANS-6235 > URL: https://issues.apache.org/jira/browse/NETBEANS-6235 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.5 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > I have newer version of node (14.17.6) and npm (7.24.1). When VSCode > extension is build (through command `netbeans\java\java.lsp.server$ ant > build-vscode-ext`, the build fails because there are created > `.package-lock.json` files. > {code:java} > ./java/java.lsp.server/vscode/node_modules/.package-lock.json > ./java/java.lsp.server/build/bundles/package/node_modules/.package-lock.json > {code} > When the extension is wrap up in the last phase of building, the build is > looking for the license for these files and the build fails., because there > is not such license. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6235) Build of vscode extension fails
[ https://issues.apache.org/jira/browse/NETBEANS-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Petr Pisl reassigned NETBEANS-6235: --- Assignee: Petr Pisl > Build of vscode extension fails > --- > > Key: NETBEANS-6235 > URL: https://issues.apache.org/jira/browse/NETBEANS-6235 > Project: NetBeans > Issue Type: Bug > Components: vscode >Affects Versions: 12.5 >Reporter: Petr Pisl >Assignee: Petr Pisl >Priority: Major > > I have newer version of node (14.17.6) and npm (7.24.1). When VSCode > extension is build (through command `netbeans\java\java.lsp.server$ ant > build-vscode-ext`, the build fails because there are created > `.package-lock.json` files. > {code:java} > ./java/java.lsp.server/vscode/node_modules/.package-lock.json > ./java/java.lsp.server/build/bundles/package/node_modules/.package-lock.json > {code} > When the extension is wrap up in the last phase of building, the build is > looking for the license for these files and the build fails., because there > is not such license. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6235) Build of vscode extension fails
Petr Pisl created NETBEANS-6235: --- Summary: Build of vscode extension fails Key: NETBEANS-6235 URL: https://issues.apache.org/jira/browse/NETBEANS-6235 Project: NetBeans Issue Type: Bug Components: vscode Affects Versions: 12.5 Reporter: Petr Pisl I have newer version of node (14.17.6) and npm (7.24.1). When VSCode extension is build (through command `netbeans\java\java.lsp.server$ ant build-vscode-ext`, the build fails because there are created `.package-lock.json` files. {code:java} ./java/java.lsp.server/vscode/node_modules/.package-lock.json ./java/java.lsp.server/build/bundles/package/node_modules/.package-lock.json {code} When the extension is wrap up in the last phase of building, the build is looking for the license for these files and the build fails., because there is not such license. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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-6234) An error occurred during parsing of java source file
Jonathan Lister created NETBEANS-6234: - Summary: An error occurred during parsing of java source file Key: NETBEANS-6234 URL: https://issues.apache.org/jira/browse/NETBEANS-6234 Project: NetBeans Issue Type: Bug Affects Versions: 12.5 Environment: Product Version = Apache NetBeans IDE 12.5 Operating System = Linux version 5.10.0-1051-oem running on amd64 Java; VM; Vendor = 11.0.13; OpenJDK 64-Bit Server VM 11.0.13+7-jvmci-21.3-b05; GraalVM Community Runtime = OpenJDK Runtime Environment 11.0.13+7-jvmci-21.3-b05 Reporter: Jonathan Lister Attachments: InflatedQualityControlObservationSummary.dump, messages.log Parsing errors with interfaces that are annotated with org.immutables.value.Value; e.g. ALL [null]: An error occurred during parsing of '/home/pjl/Source/VSP/platform-services/platform-services-quality-control-parent/platform-quality-control-service-api/src/main/java/com/vaisala/platform/qualitycontrol/service/api/InflatedQualityControlObservationSummary.java'. Please report a bug against java/source and attach dump file '/home/pjl/snap/netbeans/50/var/log/InflatedQualityControlObservationSummary.dump'. -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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