[netbeans] branch master updated (b7ab958 -> 058f42a)
This is an automated email from the ASF dual-hosted git repository. sdedic pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from b7ab958 [NETBEANS-6107] Allow to use Gradle 7.2 distributions on JDK17. new df8add2 Make CachedClasspath for the same (equal) Compile Classpath equal. new 1a76ec2 Prevent NPE in case of complete parser failure. new 98d4930 [NETBEANS-6077] Cached Transformation Classloader, based on set of classpath roots. new 98368fb Do not add negative cache record too early. new 058f42a Merge pull request #3213 from sdedic/groovy/cache-xformloader2 The 5954 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: .../groovy/editor/api/parser/GroovyParser.java | 21 +- .../groovy/editor/compiler/ClassLoaderFactory.java | 332 + .../groovy/editor/compiler/ClassNodeCache.java | 270 - .../editor/compiler/PerfStatCompilationUnit.java | 40 ++- .../groovy/editor/compiler/ResourceCache.java | 216 ++ .../groovy/editor/compiler/TimedSoftReference.java | 106 +++ .../support/actions/GroovyComputeTestMethods.java | 4 + .../java/source/classpath/CacheClassPath.java | 33 ++ 8 files changed, 883 insertions(+), 139 deletions(-) create mode 100644 groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/compiler/ClassLoaderFactory.java create mode 100644 groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/compiler/ResourceCache.java create mode 100644 groovy/groovy.editor/src/org/netbeans/modules/groovy/editor/compiler/TimedSoftReference.java - 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-6089) Java type conversion error hint in editor vs compiler
[ https://issues.apache.org/jira/browse/NETBEANS-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17425915#comment-17425915 ] Bernard commented on NETBEANS-6089: --- What is going on? I am watching another blocker and a new release comes out. Then I enter this new blocker and there is no response. Could it be that I am entering issues into a void? Where is the activity, where is stuff happening? What needs to happen so that something happens? > Java type conversion error hint in editor vs compiler > - > > Key: NETBEANS-6089 > URL: https://issues.apache.org/jira/browse/NETBEANS-6089 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.5 >Reporter: Bernard >Priority: Blocker > Attachments: messages.log > > > Settings imported from IDE 12.4 > Project is fine with IDE 12.4 > Project compiles without errors in 12.4 and 12.5 > With 12.5, getting problems in the editor and in the Projects window as > follows: > On the following source code: > final List> evaluatedPopulation = > this.populationAccessibleEvolutionEngine.getEvaluatedPopulation(); > I get a red error hint: > incompatible types: List cannot be converted to > List> > > (Alt-Enter shows hints) > and in the Project window, the project is marked red. > The relevant source code: > private final PopulationAccessibleEvolutionEngine > populationAccessibleEvolutionEngine; > The above code has parameterized type CgpNetwork as seen below: > public class PopulationAccessibleEvolutionEngine extends > GenerationalEvolutionEngine implements EvaluatedPopulationAccessible { > In Project settings: > Sources, Source/Binary Format: 1.8 > Build, Compile, Java Platform is JDK 14 (Default) -- 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: [NETBEANS-6107] Allow to use Gradle 7.2 distributions on JDK17.
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 b7ab958 [NETBEANS-6107] Allow to use Gradle 7.2 distributions on JDK17. b7ab958 is described below commit b7ab9583784b270da78a7cf043a1496ab08e33ad Author: Svata Dedic AuthorDate: Wed Oct 6 15:34:17 2021 +0200 [NETBEANS-6107] Allow to use Gradle 7.2 distributions on JDK17. --- .../netbeans/modules/gradle/api/execute/GradleDistributionManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java index d6a2d3f..7603756 100644 --- a/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java +++ b/extide/gradle/src/org/netbeans/modules/gradle/api/execute/GradleDistributionManager.java @@ -96,6 +96,7 @@ public final class GradleDistributionManager { GradleVersion.version("6.3"), // JDK-14 GradleVersion.version("6.7"), // JDK-15 GradleVersion.version("7.0"), // JDK-16 +GradleVersion.version("7.2"), // JDK-17 }; private static final int JAVA_VERSION; - 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-6116) General Availability for javadoc 17
[ https://issues.apache.org/jira/browse/NETBEANS-6116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6116: - Labels: pull-request-available (was: ) > General Availability for javadoc 17 > --- > > Key: NETBEANS-6116 > URL: https://issues.apache.org/jira/browse/NETBEANS-6116 > Project: NetBeans > Issue Type: Improvement > Components: java - Javadoc >Affects Versions: 12.5 >Reporter: José Contreras >Assignee: José Contreras >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 10m > Remaining Estimate: 0h > > Update link to javadoc 17 now that is in general availability > Before: > https://download.java.net/java/early_access/jdk17/docs/api/ > After: > https://docs.oracle.com/en/java/javase/17/docs/api/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-6116) General Availability for javadoc 17
José Contreras created NETBEANS-6116: Summary: General Availability for javadoc 17 Key: NETBEANS-6116 URL: https://issues.apache.org/jira/browse/NETBEANS-6116 Project: NetBeans Issue Type: Improvement Components: java - Javadoc Affects Versions: 12.5 Reporter: José Contreras Assignee: José Contreras Fix For: 12.6 Update link to javadoc 17 now that is in general availability Before: https://download.java.net/java/early_access/jdk17/docs/api/ After: https://docs.oracle.com/en/java/javase/17/docs/api/ -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-jenkins-lib] branch master updated: path update
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 40debe1 path update 40debe1 is described below commit 40debe156f35154135e593bb283d1354a522841f Author: Eric Barboni AuthorDate: Fri Oct 8 01:16:30 2021 +0200 path update --- jobs/Jenkinsmatrixfile.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy index b2f526e..c80c4a4 100644 --- a/jobs/Jenkinsmatrixfile.groovy +++ b/jobs/Jenkinsmatrixfile.groovy @@ -17,7 +17,7 @@ pipeline { git 'https://github.com/apache/netbeans' sh 'rm -f *.json* ' -sh 'rm -f nbbuild/NetBeans-dev-NetBeans/*.zip' +sh 'rm -f nbbuild/NetBeans-dev-Netbeans/*.zip' sh 'wget -Onetbeansrelease.json "https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json; ' sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' @@ -55,8 +55,8 @@ pipeline { sh 'java -version' sh 'ant -version' // this is not finished -sh "ant -f testdist/build.xml -Dtest.clusters=${env.MODULE} -Dtest.types=unit -Dnetbeans.dest.dir=${WORKSPACE}/netbeans" -sh "ant -f testdist/build.xml -Dtest.clusters=${env.MODULE} -Dtest.types=qa-functional -Dnetbeans.dest.dir=${WORKSPACE}/netbeans" +sh "ant -f ${WORKSPACE}/testdist/build.xml -Dtest.clusters=${env.MODULE} -Dtest.types=unit -Dnetbeans.dest.dir=${WORKSPACE}/netbeans" +sh "ant -f ${WORKSPACE}/testdist/build.xml -Dtest.clusters=${env.MODULE} -Dtest.types=qa-functional -Dnetbeans.dest.dir=${WORKSPACE}/netbeans" } } - 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-6081) Cleaning to the 'enterprise' module
[ https://issues.apache.org/jira/browse/NETBEANS-6081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-6081: - Labels: pull-request-available (was: ) > Cleaning to the 'enterprise' module > --- > > Key: NETBEANS-6081 > URL: https://issues.apache.org/jira/browse/NETBEANS-6081 > Project: NetBeans > Issue Type: Improvement > Components: javaee - Code >Affects Versions: 12.5 > Environment: Fedora 34 (Workstation Edition) > AMD® Ryzen 7 5800x > 62.7 GiB > SSD Samsung 983 ZET > JDK VM Zulu11.50+19-CA (build 11.0.12+7-LTS, mixed mode) >Reporter: José Contreras >Assignee: José Contreras >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 10m > Remaining Estimate: 0h > > I did some cleaning to the 'enterprise' module with the 'Inspect & Transform' > tool. I divided the cleaning in 8 parts/commits. > Cleaning enterprise module part 1: > - Remove unnecessary boxing > - Remove unnecessary unboxing > - Remove boxing of already boxed value > - Remove creating new Boolean > Cleaning enterprise module part 2: > - Remove import From java.lang Package > - Remove import From The Same Package > Cleaning enterprise module part 3: > - Remove redundant conditional expressions > - Remove empty statements (semicolon) > Cleaning enterprise module part 4: > - Replace length one String in String.indexOf ("c" -> 'c') > - Remove redundant String.toString() > - Use String concatenation in StringBuilder.append > - Remove String constructor > - Replace useless use of StringBuffer with StringBuilder > - Unnecessary temporary during conversion from String > - Unnecessary temporary during conversion to String > Cleaning enterprise module part 5: > - Converts try finally block to try-with-resources when possible > Cleaning enterprise module part 6: > - Remove String concatenation in logger > - Logger declaration is not static final > - Remove unnecessary Throwable.initCause > Cleaning enterprise module part 7: > - Join catch sections using multicatch > Cleaning enterprise module part 8: > - Add @Override Annotation -- 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-jenkins-lib] branch master updated: try add effective tests
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new ea78a7c try add effective tests ea78a7c is described below commit ea78a7cae7e0a6e98df1e808981ab75cb0b17781 Author: Eric Barboni AuthorDate: Fri Oct 8 00:36:25 2021 +0200 try add effective tests --- jobs/Jenkinsmatrixfile.groovy | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy index a6d909d..b2f526e 100644 --- a/jobs/Jenkinsmatrixfile.groovy +++ b/jobs/Jenkinsmatrixfile.groovy @@ -22,7 +22,7 @@ pipeline { sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' stash includes: 'nbbuild/build/testdist.zip', name: 'testbuildzip' -sh 'mv nbbuild/NetBeans-dev-NetBeans/netbeans*.zip nbbuild/NetBeansIDE.zip ' +sh 'mv nbbuild/NetBeans-dev-Netbeans/netbeans*.zip nbbuild/NetBeansIDE.zip ' stash includes: 'nbbuild/NetBeansIDE.zip', name: 'idebuildzip' } } @@ -54,8 +54,9 @@ pipeline { unzip zipFile: 'nbbuild/NetBeansIDE.zip', dir:'netbeans' sh 'java -version' sh 'ant -version' -// this is not good -sh 'ant -f testdist/unit/unit-all-unit.xml runtests -Dnetbeans.dest.dir=./netbeans' +// this is not finished +sh "ant -f testdist/build.xml -Dtest.clusters=${env.MODULE} -Dtest.types=unit -Dnetbeans.dest.dir=${WORKSPACE}/netbeans" +sh "ant -f testdist/build.xml -Dtest.clusters=${env.MODULE} -Dtest.types=qa-functional -Dnetbeans.dest.dir=${WORKSPACE}/netbeans" } } - 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-6115) UTF-8 input is broken in Maven project
[ https://issues.apache.org/jira/browse/NETBEANS-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Machat updated NETBEANS-6115: -- Description: Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {code:java} Scanner sc = new Scanner(System.in, "UTF-8"); System.out.println("Enter text: "); String text = sc.nextLine(); System.out.println("You have entered: " + text); {code} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). was: Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {{Scanner sc = new Scanner(System.in, "UTF-8");}} {{ System.out.println("Enter text: ");}} {{ String text = sc.nextLine();}} {{ System.out.println("You have entered: " + text);}} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). > UTF-8 input is broken in Maven project > -- > > Key: NETBEANS-6115 > URL: https://issues.apache.org/jira/browse/NETBEANS-6115 > Project: NetBeans > Issue Type: Bug > Environment: Linux Manjaro > Netbeans 12.5 (but the same problem is in earlier versions too) > Maven 3.8.2 > Java - tried with 8,14,17 > >Reporter: Vladimir Machat >Priority: Major > > Trying to get user input containing 'special characters' like ščřžýáíé > doesn't work in Maven project: > > {code:java} > Scanner sc = new Scanner(System.in, "UTF-8"); > System.out.println("Enter text: "); > String text = sc.nextLine(); > System.out.println("You have entered: " + text); > > {code} > > In Netbeans this code will fail printing what you entered if you enter > something like 'český, řeka etc...' but works ok with any input not > containing these characters > Same code works in an Ant project without any problems. > It also works on command line by copying and pasting the command from > Netbeans output window (and replacing the double quotes with single quotes). > -- 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-6115) UTF-8 input is broken in Maven project
Vladimir Machat created NETBEANS-6115: - Summary: UTF-8 input is broken in Maven project Key: NETBEANS-6115 URL: https://issues.apache.org/jira/browse/NETBEANS-6115 Project: NetBeans Issue Type: Bug Environment: Linux Manjaro Netbeans 12.5 (but the same problem is in earlier versions too) Maven 3.8.2 Java - tried with 8,14,17 Reporter: Vladimir Machat Trying to get user input containing 'special characters' like ščřžýáíé doesn't work in Maven project: {{Scanner sc = new Scanner(System.in, "UTF-8");}} {{ System.out.println("Enter text: ");}} {{ String text = sc.nextLine();}} {{ System.out.println("You have entered: " + text);}} In Netbeans this code will fail printing what you entered if you enter something like 'český, řeka etc...' but works ok with any input not containing these characters Same code works in an Ant project without any problems. It also works on command line by copying and pasting the command from Netbeans output window (and replacing the double quotes with single quotes). -- 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-jenkins-lib] branch master updated: hardcoded path
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new c9bcb31 hardcoded path c9bcb31 is described below commit c9bcb3118c37b66e6a7d9a30d8a1bb3b7918cb18 Author: Eric Barboni AuthorDate: Thu Oct 7 23:06:45 2021 +0200 hardcoded path --- jobs/Jenkinsmatrixfile.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy index 6e3efc2..a6d909d 100644 --- a/jobs/Jenkinsmatrixfile.groovy +++ b/jobs/Jenkinsmatrixfile.groovy @@ -17,12 +17,12 @@ pipeline { git 'https://github.com/apache/netbeans' sh 'rm -f *.json* ' -sh 'rm -f nbbuild/*.zip' +sh 'rm -f nbbuild/NetBeans-dev-NetBeans/*.zip' sh 'wget -Onetbeansrelease.json "https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json; ' sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' stash includes: 'nbbuild/build/testdist.zip', name: 'testbuildzip' -sh 'mv nbbuild/netbeans**/NetBeans*.zip nbbuild/NetBeansIDE.zip ' +sh 'mv nbbuild/NetBeans-dev-NetBeans/netbeans*.zip nbbuild/NetBeansIDE.zip ' stash includes: 'nbbuild/NetBeansIDE.zip', name: 'idebuildzip' } } - 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-jenkins-lib] branch master updated: case ctd
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new fbe4e67 case ctd fbe4e67 is described below commit fbe4e674346a7865f40de955065acb7588a65aec Author: Eric Barboni AuthorDate: Thu Oct 7 22:02:44 2021 +0200 case ctd --- jobs/Jenkinsmatrixfile.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy index 9086aeb..6e3efc2 100644 --- a/jobs/Jenkinsmatrixfile.groovy +++ b/jobs/Jenkinsmatrixfile.groovy @@ -22,7 +22,7 @@ pipeline { sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' stash includes: 'nbbuild/build/testdist.zip', name: 'testbuildzip' -sh 'mv nbbuild/netBeans**/NetBeans*.zip nbbuild/NetBeansIDE.zip ' +sh 'mv nbbuild/netbeans**/NetBeans*.zip nbbuild/NetBeansIDE.zip ' stash includes: 'nbbuild/NetBeansIDE.zip', name: 'idebuildzip' } } - 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-jenkins-lib] branch master updated: case
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 8d9a869 case 8d9a869 is described below commit 8d9a86948f6d9d8982ec2096c134bbba462b151c Author: Eric Barboni AuthorDate: Thu Oct 7 21:06:27 2021 +0200 case --- jobs/Jenkinsmatrixfile.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy index 0e641bb..9086aeb 100644 --- a/jobs/Jenkinsmatrixfile.groovy +++ b/jobs/Jenkinsmatrixfile.groovy @@ -22,7 +22,7 @@ pipeline { sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' stash includes: 'nbbuild/build/testdist.zip', name: 'testbuildzip' -sh 'mv nbbuild/NetBeans**/NetBeans*.zip nbbuild/NetBeansIDE.zip ' +sh 'mv nbbuild/netBeans**/NetBeans*.zip nbbuild/NetBeansIDE.zip ' stash includes: 'nbbuild/NetBeansIDE.zip', name: 'idebuildzip' } } - 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-jenkins-lib] branch master updated: sandbox
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 272ef5f sandbox 272ef5f is described below commit 272ef5fb00888c703c166cc905c04351c8055436 Author: Eric Barboni AuthorDate: Thu Oct 7 20:25:20 2021 +0200 sandbox --- jobs/netbeanstestmatrix.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/netbeanstestmatrix.groovy b/jobs/netbeanstestmatrix.groovy index 8ef3cb7..1a7dd53 100644 --- a/jobs/netbeanstestmatrix.groovy +++ b/jobs/netbeanstestmatrix.groovy @@ -24,6 +24,7 @@ pipelineJob('NetBeans/netbeans-matrix') { cps { script(readFileFromWorkspace('jobs/Jenkinsmatrixfile.groovy')) +sandbox() } } } - 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-jenkins-lib] branch master updated: path fix
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 0c51ef4 path fix 0c51ef4 is described below commit 0c51ef47ddf499736e8d7dd14d37a80c0380510f Author: Eric Barboni AuthorDate: Thu Oct 7 20:24:17 2021 +0200 path fix --- jobs/Jenkinsmatrixfile.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy index d93ca6c..0e641bb 100644 --- a/jobs/Jenkinsmatrixfile.groovy +++ b/jobs/Jenkinsmatrixfile.groovy @@ -22,7 +22,7 @@ pipeline { sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' stash includes: 'nbbuild/build/testdist.zip', name: 'testbuildzip' -sh 'mv nbbuild/NetBeans*.zip nbbuild/NetBeansIDE.zip ' +sh 'mv nbbuild/NetBeans**/NetBeans*.zip nbbuild/NetBeansIDE.zip ' stash includes: 'nbbuild/NetBeansIDE.zip', name: 'idebuildzip' } } @@ -66,4 +66,4 @@ pipeline { } -} \ 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
[netbeans-jenkins-lib] branch master updated: Update netbeanstestmatrix.groovy
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new 79d0ca9 Update netbeanstestmatrix.groovy 79d0ca9 is described below commit 79d0ca96ce130ffc7fece72c7ac3243a58bc35d1 Author: Eric Barboni AuthorDate: Thu Oct 7 19:11:34 2021 +0200 Update netbeanstestmatrix.groovy --- jobs/netbeanstestmatrix.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/netbeanstestmatrix.groovy b/jobs/netbeanstestmatrix.groovy index 6677374..8ef3cb7 100644 --- a/jobs/netbeanstestmatrix.groovy +++ b/jobs/netbeanstestmatrix.groovy @@ -23,7 +23,7 @@ pipelineJob('NetBeans/netbeans-matrix') { definition { cps { -script(readFileFromWorkspace('Jenkinsmatrixfile.groovy')) +script(readFileFromWorkspace('jobs/Jenkinsmatrixfile.groovy')) } } } - 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-jenkins-lib] branch master updated: Feed matrix job
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-jenkins-lib.git The following commit(s) were added to refs/heads/master by this push: new fa3e206 Feed matrix job new c8424c8 Merge pull request #34 from ebarboni/matrux fa3e206 is described below commit fa3e20619093099aa9e0992a1d49ee0f0a466e07 Author: Eric Barboni AuthorDate: Thu Oct 7 19:07:16 2021 +0200 Feed matrix job --- jobs/Jenkinsmatrixfile.groovy | 69 ++ jobs/netbeanstestmatrix.groovy | 36 ++ 2 files changed, 105 insertions(+) diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy new file mode 100644 index 000..d93ca6c --- /dev/null +++ b/jobs/Jenkinsmatrixfile.groovy @@ -0,0 +1,69 @@ +pipeline { +options { +buildDiscarder(logRotator(numToKeepStr: '2')) +disableConcurrentBuilds() +} +agent { node { label 'ubuntu' } } + +stages { + +stage("clone and prepare build") { +tools { +jdk 'jdk_1.8_latest' +ant 'ant_latest' +} +steps { + + +git 'https://github.com/apache/netbeans' +sh 'rm -f *.json* ' +sh 'rm -f nbbuild/*.zip' +sh 'wget -Onetbeansrelease.json "https://gitbox.apache.org/repos/asf?p=netbeans-jenkins-lib.git;a=blob_plain;f=meta/netbeansrelease.json; ' +sh 'ant build -Dmetabuild.jsonurl=file:netbeansrelease.json' +sh 'ant build-test-dist -Dmetabuild.jsonurl=file:netbeansrelease.json' +stash includes: 'nbbuild/build/testdist.zip', name: 'testbuildzip' +sh 'mv nbbuild/NetBeans*.zip nbbuild/NetBeansIDE.zip ' +stash includes: 'nbbuild/NetBeansIDE.zip', name: 'idebuildzip' +} +} +stage ("EffectiveMatrix") +{ +matrix { +agent { node { label 'ubuntu' } } + +axes { +axis { +name 'JDK' +values 'jdk_1.8_latest', 'jdk_11_latest', 'jdk_17_latest' +} +axis { +name 'MODULE' +values 'platform', 'ide' +} +} +stages { +stage('test') { +tools { +ant 'ant_latest' +} +steps { +withAnt(jdk:"${env.JDK}") { +unstash 'testbuildzip' +unstash 'idebuildzip' +unzip zipFile: 'nbbuild/build/testdist.zip', dir:'testdir' +unzip zipFile: 'nbbuild/NetBeansIDE.zip', dir:'netbeans' +sh 'java -version' +sh 'ant -version' +// this is not good +sh 'ant -f testdist/unit/unit-all-unit.xml runtests -Dnetbeans.dest.dir=./netbeans' + +} +} + +} +}} +} + +} + +} \ No newline at end of file diff --git a/jobs/netbeanstestmatrix.groovy b/jobs/netbeanstestmatrix.groovy new file mode 100644 index 000..6677374 --- /dev/null +++ b/jobs/netbeanstestmatrix.groovy @@ -0,0 +1,36 @@ +#!groovy + +/* + * 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. + */ + +pipelineJob('NetBeans/netbeans-matrix') { +definition { +cps { + +script(readFileFromWorkspace('Jenkinsmatrixfile.groovy')) +} +} +} + + +listView('NetBeans/netbeans') { +jobs { +name('NetBeans/netbeans-matrix') +} +} - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For
[jira] [Created] (NETBEANS-6114) Code completion for new Classname constructors broken in 12.5
Mitch Claborn created NETBEANS-6114: --- Summary: Code completion for new Classname constructors broken in 12.5 Key: NETBEANS-6114 URL: https://issues.apache.org/jira/browse/NETBEANS-6114 Project: NetBeans Issue Type: Bug Affects Versions: 12.5 Reporter: Mitch Claborn I upgraded from 12.0 to 12.5. When I type "new ClassName" using ctrl+Space in the middle of the class name to finish the class name, I'm pretty sure that NB 12.0 was automatically showing the various constructors in a code completion pop-up, while NB 12.5 requires me to hit ctrl + Space again. The behavior from 12.0 should be restored, or at least create an option to control this behavior. -- 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-6113) Test FAQ contain 404 Links
[ https://issues.apache.org/jira/browse/NETBEANS-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17425590#comment-17425590 ] Geertjan Wielenga commented on NETBEANS-6113: - Best thing is to ask questions and discuss with the dev community, especially when getting started contributing (which is great, thank you!), see the mailing lists at netbeans.apache.org. > Test FAQ contain 404 Links > -- > > Key: NETBEANS-6113 > URL: https://issues.apache.org/jira/browse/NETBEANS-6113 > Project: NetBeans > Issue Type: Task >Reporter: Karl-Philipp Richter >Priority: Minor > > I wanted to get started on developing for NetBeans by attempting a fix on > https://issues.apache.org/jira/browse/NETBEANS-5525. Just because it bugs me > and seems low hanging fruit. > > As it turns out, it's extremely hard. After two hours I have no idea whether > the class I want to fix has a test case or not. I've been searching the wiki > and FAQ intensively and stumbled over a lot of dead links, mainly in > [https://netbeans.apache.org/wiki/DevFaqIndex.asciidoc#_running_and_writing_tests.] > > You probably want to migrate to a build system where these questions don't > need to be asked - no one ever asked where to find a class' test in a Maven > or Gradle project -, so this ticket might be covered by this migration. And > you might be able to throw away the FAQ afterwards anyway or move it to > module READMEs where it's usually maintained more naturally. -- 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-6113) Test FAQ contain 404 Links
Karl Richter created NETBEANS-6113: -- Summary: Test FAQ contain 404 Links Key: NETBEANS-6113 URL: https://issues.apache.org/jira/browse/NETBEANS-6113 Project: NetBeans Issue Type: Task Reporter: Karl Richter I wanted to get started on developing for NetBeans by attempting a fix on https://issues.apache.org/jira/browse/NETBEANS-5525. Just because it bugs me and seems low hanging fruit. As it turns out, it's extremely hard. After two hours I have no idea whether the class I want to fix has a test case or not. I've been searching the wiki and FAQ intensively and stumbled over a lot of dead links, mainly in [https://netbeans.apache.org/wiki/DevFaqIndex.asciidoc#_running_and_writing_tests.] You probably want to migrate to a build system where these questions don't need to be asked - no one ever asked where to find a class' test in a Maven or Gradle project -, so this ticket might be covered by this migration. And you might be able to throw away the FAQ afterwards anyway or move it to module READMEs where it's usually maintained more naturally. -- 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: NETBEANS-5971 support Maven Wrapper (mvnw) in projects.
This is an automated email from the ASF dual-hosted git repository. neilcsmith 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 81def46 NETBEANS-5971 support Maven Wrapper (mvnw) in projects. new f539496 Merge pull request #3198 from neilcsmith-net/mvnw 81def46 is described below commit 81def46296e04b1f4c451b98eaee06ad831191a3 Author: Neil C Smith AuthorDate: Wed Sep 29 15:37:23 2021 +0100 NETBEANS-5971 support Maven Wrapper (mvnw) in projects. Search for existence of mvnw(.cmd) in project basedir or a parent project basedir and prefer this over embedded / specified Maven if present. Added global setting and UI mirroring Gradle setting for this. --- .../maven/execute/MavenCommandLineExecutor.java| 81 -- .../modules/maven/options/Bundle.properties| 1 + .../modules/maven/options/MavenSettings.java | 9 +++ .../modules/maven/options/SettingsPanel.form | 31 ++--- .../modules/maven/options/SettingsPanel.java | 29 +--- 5 files changed, 127 insertions(+), 24 deletions(-) diff --git a/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java b/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java index d303f7f..1539762 100644 --- a/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java +++ b/java/maven/src/org/netbeans/modules/maven/execute/MavenCommandLineExecutor.java @@ -55,6 +55,7 @@ import org.codehaus.plexus.util.FileUtils; import org.codehaus.plexus.util.IOUtil; import org.codehaus.plexus.util.cli.CommandLineUtils; import org.codehaus.plexus.util.xml.Xpp3Dom; +import org.netbeans.api.annotations.common.NonNull; import org.netbeans.api.extexecution.base.ExplicitProcessParameters; import org.netbeans.api.extexecution.base.Processes; import org.netbeans.api.extexecution.startup.StartupExtender; @@ -618,15 +619,25 @@ public class MavenCommandLineExecutor extends AbstractMavenExecutor { } } -File mavenHome = EmbedderFactory.getEffectiveMavenHome(); -if (MavenSettings.getDefault().isUseBestMaven()) { -File n = guessBestMaven(clonedConfig, ioput); -if (n != null) { -mavenHome = n; +Constructor constructeur; +File mavenHome = null; +File wrapper = null; +if (MavenSettings.getDefault().isPreferMavenWrapper()) { +wrapper = searchMavenWrapper(config); +} +if (wrapper != null) { +constructeur = new WrapperShellConstructor(wrapper); +} else { +mavenHome = EmbedderFactory.getEffectiveMavenHome(); +if (MavenSettings.getDefault().isUseBestMaven()) { +File n = guessBestMaven(clonedConfig, ioput); +if (n != null) { +mavenHome = n; +} } +constructeur = new ShellConstructor(mavenHome); } -Constructor constructeur = new ShellConstructor(mavenHome); - + List cmdLine = createMavenExecutionCommand(clonedConfig, constructeur); //#228901 on windows, since u21 we must use cmd /c @@ -984,4 +995,60 @@ public class MavenCommandLineExecutor extends AbstractMavenExecutor { } return Places.getCacheSubdirectory("downloaded-mavens"); } + +private File searchMavenWrapper(RunConfig config) { +String fileName = Utilities.isWindows() ? "mvnw.cmd" : "mvnw"; //NOI18N +MavenProject project = config.getMavenProject(); +while (project != null) { +File baseDir = project.getBasedir(); +if (baseDir != null) { +File mvnw = new File(baseDir, fileName); +if (mvnw.exists()) { +return mvnw; +} +} +project = project.getParent(); +} +return null; +} + +// part copied from ShellConstructor - @TODO consolidate here +private static class WrapperShellConstructor implements Constructor { + +private final @NonNull File wrapper; + +WrapperShellConstructor(@NonNull File wrapper) { +this.wrapper = wrapper; +} + +@Override +public List construct() { +//#164234 +//if maven.bat file is in space containing path, we need to quote with simple quotes. +String quote = "\""; +List toRet = new ArrayList<>(); +toRet.add(quoteSpaces(wrapper.getAbsolutePath(), quote)); + +if (Utilities.isWindows()) { //#153101, since #228901 always on windows use cmd /c +toRet.add(0, "/c"); //NOI18N +toRet.add(0, "cmd"); //NOI18N +} +return toRet; +} + +// we run the shell/bat
[jira] [Created] (NETBEANS-6112) AssertionError from javac during project indexing
Svatopluk Dedic created NETBEANS-6112: - Summary: AssertionError from javac during project indexing Key: NETBEANS-6112 URL: https://issues.apache.org/jira/browse/NETBEANS-6112 Project: NetBeans Issue Type: Bug Components: java - Compiler Affects Versions: 12.5 Reporter: Svatopluk Dedic I've opened project *http-server-netty* from *micronaut-core* github project, tag *v3.0.2* The following error was printed to the console during project indexing: {code:java} WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: SuperOnePassCompileWorker caused an exceptionWARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: SuperOnePassCompileWorker caused an exceptionRoot: /space/src/micronaut-core/http-server-netty/src/main/javaBootpath: /space/java/8/jre/lib/resources.jar:/space/java/8/jre/lib/rt.jar:/space/java/8/jre/lib/sunrsasign.jar:/space/java/8/jre/lib/jsse.jar:/space/java/8/jre/lib/jce.jar:/space/java/8/jre/lib/charsets.jar:/space/java/8/jre/lib/jfr.jar:/space/java/8/jre/classes:/space/java/8/jre/lib/ext/jaccess.jar:/space/java/8/jre/lib/ext/sunpkcs11.jar:/space/java/8/jre/lib/ext/jfxrt.jar:/space/java/8/jre/lib/ext/nashorn.jar:/space/java/8/jre/lib/ext/sunec.jar:/space/java/8/jre/lib/ext/zipfs.jar:/space/java/8/jre/lib/ext/dnsns.jar:/space/java/8/jre/lib/ext/cldrdata.jar:/space/java/8/jre/lib/ext/localedata.jar:/space/java/8/jre/lib/ext/sunjce_provider.jarClasspath:
[jira] [Created] (NETBEANS-6111) NetBeans autocompletion really likes to suggest "record"
Michael Bien created NETBEANS-6111: -- Summary: NetBeans autocompletion really likes to suggest "record" Key: NETBEANS-6111 URL: https://issues.apache.org/jira/browse/NETBEANS-6111 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 12.5 Reporter: Michael Bien Records are pretty cool, but NetBeans pushes the keyword a little bit too hard. Take a look at this code: {code:java} public class NewClass2 { public static void main(String[] args) { foo| } }{code} put the cursor where the | is and press ctrl + space. You will see only the keyword "record" being suggested. Applying the suggestion would replace foo with "record" which does not make a lot of sense. Tested on JDK 17 and 15, probably reproducible on others too - post record introduction. issue was brought up on the #netbeans irc channel -- 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: Make sure VSNetBeans codelens like Run and Debug work
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new cb6076e Make sure VSNetBeans codelens like Run and Debug work new 1f9c3c6 Merge pull request #3212 from JaroslavTulach/jtulach/CodeLensRunDebugWorks cb6076e is described below commit cb6076e901c22f6ccad95d748730d0b50d0a0e72 Author: Jaroslav Tulach AuthorDate: Wed Oct 6 18:21:10 2021 +0200 Make sure VSNetBeans codelens like Run and Debug work --- .../htmlui/resources/desktop_build.gradle.fmk | 6 +++- ...ld.gradle.fmk => desktop_gradle.properties.fmk} | 32 ++ .../modules/gradle/htmlui/resources/layer.xml | 6 .../gradle/htmlui/resources/src_main_java_Demo.fmk | 2 +- .../gradle/htmlui/resources/web_build.gradle.fmk | 10 +-- ..._build.gradle.fmk => web_gradle.properties.fmk} | 32 ++ 6 files changed, 23 insertions(+), 65 deletions(-) diff --git a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_build.gradle.fmk b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_build.gradle.fmk index 71b86b0..e879caf 100644 --- a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_build.gradle.fmk +++ b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_build.gradle.fmk @@ -27,7 +27,11 @@ plugins { def commonProject = project.parent def jdk8 = System.getProperty("java.version").startsWith("1.8") -mainClassName = '${packageBase}.DesktopMain' +if (hasProperty("runClassName")) { +mainClassName = runClassName +} else { +mainClassName = '${packageBase}.DesktopMain' +} <#noparse> distributions { diff --git a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/web_build.gradle.fmk b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_gradle.properties.fmk similarity index 56% copy from java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/web_build.gradle.fmk copy to java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_gradle.properties.fmk index 43ee3ab..cc24011 100644 --- a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/web_build.gradle.fmk +++ b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/desktop_gradle.properties.fmk @@ -18,35 +18,7 @@ under the License. --> -buildscript { -repositories { -mavenCentral() -} -dependencies { -classpath "org.apidesign.bck2brwsr:bck2brwsr-maven-plugin:0.51" -} -} - -apply plugin: 'java' -apply plugin: 'bck2brwsr' - -targetCompatibility = '1.8' -sourceCompatibility = '1.8' - -mainClassName = '${packageBase}.BrowserMain' - <#noparse> - -def commonProject = project.parent - -dependencies { -implementation commonProject -implementation "com.dukescript.api:javafx.beaninfo:0.5" -runtimeOnly "com.dukescript.api:javafx.base:8.60.11" -} - -bck2brwsrPages.from { -fileTree("${commonProject.projectDir}/src/main/webapp/pages") -} -bck2brwsrAot.dependsOn(bck2brwsrPages) +action.debug.single.args=-PrunClassName=${selectedClass} run --debug-jvm ${javaExec.jvmArgs} ${javaExec.args} +action.run.single.args=-PrunClassName=${selectedClass} run ${javaExec.jvmArgs} ${javaExec.args} diff --git a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/layer.xml b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/layer.xml index 2345148..3d27299 100644 --- a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/layer.xml +++ b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/layer.xml @@ -61,6 +61,9 @@ + + + @@ -77,6 +80,9 @@ + + + diff --git a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/src_main_java_Demo.fmk b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/src_main_java_Demo.fmk index 5d96631..fa2ee7b 100644 --- a/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/src_main_java_Demo.fmk +++ b/java/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/resources/src_main_java_Demo.fmk @@ -43,7 +43,7 @@ public final class Demo extends DemoBeanInfo { public static void onPageLoad() { Demo model = new Demo(); -model.desc.setValue("Try Java in
[jira] [Commented] (NETBEANS-6110) Netbeans hangs on save (CTRL+S)
[ https://issues.apache.org/jira/browse/NETBEANS-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17425430#comment-17425430 ] Yngve Halmø commented on NETBEANS-6110: --- More info: I see now that there was an error in the test. The last line {code:java} assertTrue(workflow.getWorkflowSteps().size().equals(loaded.getWorkflowSteps().size())); {code} Incorrectly dereferences an int (List.size() ) by calling .equals. But there is still a bug somewhere, because the IDE did not highlight the error inside the editor, and threw exceptions, either silently or causing the editor to hang on save. I found the error by running Maven in the command line instead. > Netbeans hangs on save (CTRL+S) > --- > > Key: NETBEANS-6110 > URL: https://issues.apache.org/jira/browse/NETBEANS-6110 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.4 > Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4 >Reporter: Yngve Halmø >Priority: Major > Attachments: WorkflowPersistenceServiceTest_104.dump, > WorkflowPersistenceServiceTest_70.dump, messages.log.1 > > > I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The > weird thing is that saving works as I start writing the test, but at some > point (seemingly after I add certain text or amount of text), saving stops > working and Netbeans hangs as soon as I hit save the next time. > > -- 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-6110) Netbeans hangs on save (CTRL+S)
[ https://issues.apache.org/jira/browse/NETBEANS-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yngve Halmø updated NETBEANS-6110: -- Attachment: WorkflowPersistenceServiceTest_104.dump > Netbeans hangs on save (CTRL+S) > --- > > Key: NETBEANS-6110 > URL: https://issues.apache.org/jira/browse/NETBEANS-6110 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.4 > Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4 >Reporter: Yngve Halmø >Priority: Major > Attachments: WorkflowPersistenceServiceTest_104.dump, > WorkflowPersistenceServiceTest_70.dump, messages.log.1 > > > I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The > weird thing is that saving works as I start writing the test, but at some > point (seemingly after I add certain text or amount of text), saving stops > working and Netbeans hangs as soon as I hit save the next time. > > -- 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-6110) Netbeans hangs on save (CTRL+S)
[ https://issues.apache.org/jira/browse/NETBEANS-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17425426#comment-17425426 ] Yngve Halmø commented on NETBEANS-6110: --- Maybe I spoke too soon...I am getting this error now; {code:java} Annotation: An error occurred during parsing of '/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'. Please report a bug against java/source and attach dump file '/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Annotation: An error occurred during parsing of '/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'. Please report a bug against java/source and attach dump file '/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Annotation: An error occurred during parsing of '/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'. Please report a bug against java/source and attach dump file '/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Annotation: An error occurred during parsing of '/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'. Please report a bug against java/source and attach dump file '/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.An error occurred during parsing of '/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'. Please report a bug against java/source and attach dump file '/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.An error occurred during parsing of '/mnt/data/dev/qfree/github/bo-sobo-workflow-engine/src/test/java/com/qfree/bo/dars/persistence/WorkflowPersistenceServiceTest.java'. Please report a bug against java/source and attach dump file '/home/yngveh/.netbeans/12.4/var/log/WorkflowPersistenceServiceTest_104.dump'.Caused: java.lang.AssertionError at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155) at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$4.complete(DeferredAttr.java:381) at jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr$ArgumentType.complete(ArgumentAttr.java:371) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredType.check(DeferredAttr.java:343) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredType.check(DeferredAttr.java:329) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.recover(DeferredAttr.java:1097) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.typeOf(DeferredAttr.java:1063) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.typeOf(DeferredAttr.java:1053) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredTypeMap.visitType(DeferredAttr.java:1030) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.visitType(DeferredAttr.java:1053) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$DeferredTypeMap.visitType(DeferredAttr.java:1016) at jdk.compiler/com.sun.tools.javac.code.Type.accept(Type.java:227) at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4902) at jdk.compiler/com.sun.tools.javac.code.Types$TypeMapping.lambda$visit$0(Types.java:5010) at jdk.compiler/com.sun.tools.javac.util.List.map(List.java:425) at jdk.compiler/com.sun.tools.javac.code.Types$TypeMapping.visit(Types.java:5010) at jdk.compiler/com.sun.tools.javac.code.Type$StructuralTypeMapping.visitMethodType(Type.java:294) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.visitMethodType(DeferredAttr.java:1081) at jdk.compiler/com.sun.tools.javac.comp.DeferredAttr$RecoveryDeferredTypeMap.visitMethodType(DeferredAttr.java:1053) at jdk.compiler/com.sun.tools.javac.code.Type$MethodType.accept(Type.java:1469) at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4902) at jdk.compiler/com.sun.tools.javac.code.Type$StructuralTypeMapping.visitForAll(Type.java:310) at jdk.compiler/com.sun.tools.javac.code.Type$StructuralTypeMapping.visitForAll(Type.java:243) at jdk.compiler/com.sun.tools.javac.code.Type$ForAll.accept(Type.java:1838) at jdk.compiler/com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4902) at jdk.compiler/com.sun.tools.javac.code.Type.map(Type.java:323) at jdk.compiler/com.sun.tools.javac.comp.AttrRecover.basicMethodInvocationRecovery(AttrRecover.java:224) at
[jira] [Commented] (NETBEANS-6110) Netbeans hangs on save (CTRL+S)
[ https://issues.apache.org/jira/browse/NETBEANS-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17425422#comment-17425422 ] Yngve Halmø commented on NETBEANS-6110: --- I found a workaround, if I uncheck "remove unused imports", saving seems to work normally. So I reckon there is a bug in the remove unused imports function. > Netbeans hangs on save (CTRL+S) > --- > > Key: NETBEANS-6110 > URL: https://issues.apache.org/jira/browse/NETBEANS-6110 > Project: NetBeans > Issue Type: Bug > Components: java - Source >Affects Versions: 12.4 > Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4 >Reporter: Yngve Halmø >Priority: Major > Attachments: WorkflowPersistenceServiceTest_70.dump, messages.log.1 > > > I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The > weird thing is that saving works as I start writing the test, but at some > point (seemingly after I add certain text or amount of text), saving stops > working and Netbeans hangs as soon as I hit save the next time. > > -- 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-6110) Netbeans hangs on save (CTRL+S)
Yngve Halmø created NETBEANS-6110: - Summary: Netbeans hangs on save (CTRL+S) Key: NETBEANS-6110 URL: https://issues.apache.org/jira/browse/NETBEANS-6110 Project: NetBeans Issue Type: Bug Components: java - Source Affects Versions: 12.4 Environment: Using Kubuntu 21.04, OpenJDK 16, Netbeans 12.4 Reporter: Yngve Halmø Attachments: WorkflowPersistenceServiceTest_70.dump, messages.log.1 I am writing a Junit 4 test, and when I click CTRL + S netbeans hangs. The weird thing is that saving works as I start writing the test, but at some point (seemingly after I add certain text or amount of text), saving stops working and Netbeans hangs as soon as I hit save the next time. -- 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-6109) cant run my netbeans
Quenilyn M. Defeo created NETBEANS-6109: --- Summary: cant run my netbeans Key: NETBEANS-6109 URL: https://issues.apache.org/jira/browse/NETBEANS-6109 Project: NetBeans Issue Type: Bug Affects Versions: 12.4 Reporter: Quenilyn M. Defeo Fix For: 12.4 -- 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-6105) The settings have not been restored after snap update
[ https://issues.apache.org/jira/browse/NETBEANS-6105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] marcint83 updated NETBEANS-6105: Summary: The settings have not been restored after snap update (was: The settings have been restored after snap update ) > The settings have not been restored after snap update > -- > > Key: NETBEANS-6105 > URL: https://issues.apache.org/jira/browse/NETBEANS-6105 > Project: NetBeans > Issue Type: Bug >Reporter: marcint83 >Priority: Major > > I am using Netbeans in the form of snap packets. I have installed version > 12.4. After automatically updating the snap to version 12.5, all projects are > gone and the Netbeans settings are reset. -- 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