[jira] [Created] (NETBEANS-3596) Refactoring/Rename threw java.util.ConcurrentModificationException
Peter Thanisch created NETBEANS-3596: Summary: Refactoring/Rename threw java.util.ConcurrentModificationException Key: NETBEANS-3596 URL: https://issues.apache.org/jira/browse/NETBEANS-3596 Project: NetBeans Issue Type: Bug Components: cnd - Editor Affects Versions: 11.2 Environment: Windows 10 Reporter: Peter Thanisch Fix For: 11.3 Attachments: 2019-12-15.png, messages.log In the development environment, I ask for a refactoring operation. The operation that I requested was Refactor/Rename I get the following error message popping up: "Module Java Refactoring threw java.util.ConcurrentModificationException. Please report a bug against Java Refactoring module and attach your var/log/messages.log." See the attached screenshot for the error message displayed. As requested by the error message, I have also attached the messages.log file -- 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-3584) Payara Platform 5.194/5.201 support in Apache NetBeans IDE
[ https://issues.apache.org/jira/browse/NETBEANS-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996622#comment-16996622 ] Gaurav Gupta commented on NETBEANS-3584: Hi [~GeertjanWielenga], May you create a component named "serverplugins - Payara". > Payara Platform 5.194/5.201 support in Apache NetBeans IDE > -- > > Key: NETBEANS-3584 > URL: https://issues.apache.org/jira/browse/NETBEANS-3584 > Project: NetBeans > Issue Type: New Feature > Components: serverplugins - Code >Reporter: Gaurav Gupta >Assignee: Gaurav Gupta >Priority: Major > Labels: Payara-Micro, Payara-Server, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > -- 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-3584) Payara Platform 5.194/5.201 support in Apache NetBeans IDE
[ https://issues.apache.org/jira/browse/NETBEANS-3584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996621#comment-16996621 ] Gaurav Gupta commented on NETBEANS-3584: The latest Payara Server support in IDE lagging behind for a quarter as Payara and Apache NetBeans release dates are different (not near) hence provided the support for Payara Server 201 in advance without a download link of a maven artifact. > Payara Platform 5.194/5.201 support in Apache NetBeans IDE > -- > > Key: NETBEANS-3584 > URL: https://issues.apache.org/jira/browse/NETBEANS-3584 > Project: NetBeans > Issue Type: New Feature > Components: serverplugins - Code >Reporter: Gaurav Gupta >Assignee: Gaurav Gupta >Priority: Major > Labels: Payara-Micro, Payara-Server, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > -- 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: Define jellytools stable tests
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 f3b122b Define jellytools stable tests new d5580b8 Merge pull request #1754 from blackleg/harness_modules f3b122b is described below commit f3b122b215c09b18cb8dd8c88262c8fb40a91c6e Author: Hector Espert AuthorDate: Fri Dec 6 14:30:34 2019 +0100 Define jellytools stable tests --- .travis.yml| 2 +- .../nbproject/project.properties | 6 +-- .../src/org/netbeans/jellytools/BundleTest.java| 57 +++--- .../junit/internal/NbModuleLogHandlerTest.java | 4 +- 4 files changed, 45 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index d6f734f..d198ffe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,7 +86,7 @@ matrix: - ant $OPTS -f harness/o.n.insane test - ant $OPTS -f harness/apisupport.harness test - ant $OPTS -f harness/nbjunit test -# - ant $OPTS -f harness/jellytools.platform test +- ant $OPTS -f harness/jellytools.platform test -Dtest.config=stable - name: Test platform modules, Batch 1 jdk: openjdk8 diff --git a/harness/jellytools.platform/nbproject/project.properties b/harness/jellytools.platform/nbproject/project.properties index 3e8e218..2f0b580 100644 --- a/harness/jellytools.platform/nbproject/project.properties +++ b/harness/jellytools.platform/nbproject/project.properties @@ -20,7 +20,5 @@ javac.compilerargs=-Xlint -Xlint:-serial test.config.stable.includes=\ **/BundleTest.class,\ -**/JellytoolsPlatformSuite.class,\ -**/PlatformBundleKeysTest.class,\ -**/WidgetOperatorTest.class - +**/WizardOperatorTest.class,\ +**/QuestionDialogOperatorTest.class diff --git a/harness/jellytools.platform/test/qa-functional/src/org/netbeans/jellytools/BundleTest.java b/harness/jellytools.platform/test/qa-functional/src/org/netbeans/jellytools/BundleTest.java index 06a55ca..57a52c0 100644 --- a/harness/jellytools.platform/test/qa-functional/src/org/netbeans/jellytools/BundleTest.java +++ b/harness/jellytools.platform/test/qa-functional/src/org/netbeans/jellytools/BundleTest.java @@ -25,42 +25,57 @@ import org.netbeans.junit.NbModuleSuite; /** * Test of org.netbeans.jellytools.Bundle + * * @author Jiri Skrivanek */ public class BundleTest extends JellyTestCase { -/** Method used for explicit testsuite definition - * @return created suite +/** + * Method used for explicit testsuite definition + * + * @return created suite */ public static Test suite() { -return NbModuleSuite.create(NbModuleSuite.createConfiguration(BundleTest.class). -addTest("testGetBundle", -"testGetString", -"testGetStringParams", -"testGetStringTrimmed", - "testGetStringTrimmedParams").gui(false).enableModules(".*").clusters(".*")); +return NbModuleSuite.createConfiguration(BundleTest.class) +.addTest("testGetBundle", +"testGetString", +"testGetStringParams", +"testGetStringTrimmed", +"testGetStringTrimmedParams") +.gui(false) +.enableModules(".*") +.clusters(".*") +.suite(); } -/** Redirect output to log files, wait before each test case and - * show dialog to test. */ +/** + * Redirect output to log files, wait before each test case and show dialog + * to test. + */ @Override protected void setUp() { System.out.println("### " + getName() + " ###"); } -/** Clean up after each test case. */ +/** + * Clean up after each test case. + */ @Override protected void tearDown() { } -/** Constructor required by JUnit. +/** + * Constructor required by JUnit. + * * @param testName method name to be used as testcase */ public BundleTest(java.lang.String testName) { super(testName); } -/** Test of getBundle method. */ +/** + * Test of getBundle method. + */ public void testGetBundle() { try { ResourceBundle resBundle = Bundle.getBundle("org.netbeans.core.Bundle"); @@ -82,7 +97,9 @@ public class BundleTest extends JellyTestCase { } } -/** Test of getString method. Tests also negative cases */ +/** + * Test of getString method. Tests also negative cases + */ public void testGetString() { try { String value = Bundle.getString("org.netbeans.core.windows.services.Bundle", "OK_OPTION_CAPTION"); @@ -112,7 +129,9 @@ public class BundleTest
[netbeans] branch master updated: [TRAVIS] Enable platform/core.osgi tests
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 7bb7f3e [TRAVIS] Enable platform/core.osgi tests new b82c0c7 Merge pull request #1776 from blackleg/enable_core_osgi_tests 7bb7f3e is described below commit 7bb7f3e81205f9e561d149f0fdcba502804d9a0d Author: Hector Espert AuthorDate: Fri Dec 13 18:04:52 2019 +0100 [TRAVIS] Enable platform/core.osgi tests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4592e38..cc09ffb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,7 +121,7 @@ matrix: - hide-logs.sh ant $OPTS -f platform/core.multiview test - hide-logs.sh ant $OPTS -f platform/core.netigso test #- hide-logs.sh ant $OPTS -f platform/core.network test -#- hide-logs.sh ant $OPTS -f platform/core.osgi test +- hide-logs.sh ant $OPTS -f platform/core.osgi test - hide-logs.sh ant $OPTS -f platform/core.output2 test - hide-logs.sh ant $OPTS -f platform/core.startup test - hide-logs.sh ant $OPTS -f platform/core.startup.base test - 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: [TRAVIS] Run tests for ide/notifications module
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 edf5117 [TRAVIS] Run tests for ide/notifications module new b356fc9 Merge pull request #1782 from blackleg/test_notification_module edf5117 is described below commit edf51171e8432402510c486d96e67aabeacbee39 Author: Hector Espert AuthorDate: Sat Dec 14 12:29:56 2019 +0100 [TRAVIS] Run tests for ide/notifications module --- .travis.yml | 1 + ide/notifications/nbproject/project.properties| 2 +- .../modules/notifications/center/NotificationCenterManagerTest.java | 4 +--- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4592e38..2f1ee23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -250,6 +250,7 @@ matrix: #- ant $OPTS -f ide/libs.git test - ant $OPTS -f ide/libs.graalsdk test #- ant $OPTS -f ide/localhistory test +- ant $OPTS -f ide/notifications test - ant $OPTS -f ide/o.openidex.util test #- ant $OPTS -f ide/parsing.api test #- ant $OPTS -f ide/parsing.indexing test diff --git a/ide/notifications/nbproject/project.properties b/ide/notifications/nbproject/project.properties index c0af75f..0f4ec98 100644 --- a/ide/notifications/nbproject/project.properties +++ b/ide/notifications/nbproject/project.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -javac.source=1.6 +javac.source=1.8 javac.compilerargs=-Xlint -Xlint:-serial diff --git a/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java b/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java index 608ef2e..43cbe16 100644 --- a/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java +++ b/ide/notifications/test/unit/src/org/netbeans/modules/notifications/center/NotificationCenterManagerTest.java @@ -21,8 +21,6 @@ package org.netbeans.modules.notifications.center; import java.util.logging.Level; import javax.swing.ImageIcon; import javax.swing.JLabel; -import static junit.framework.Assert.assertEquals; -import static junit.framework.Assert.assertNotNull; import org.netbeans.junit.NbTestCase; import org.netbeans.modules.notifications.NotificationDisplayerImpl; import org.netbeans.modules.notifications.NotificationImpl; @@ -38,7 +36,7 @@ import org.openide.util.ImageUtilities; */ public class NotificationCenterManagerTest extends NbTestCase { -NotificationCenterManager manager; +private NotificationCenterManager manager; public NotificationCenterManagerTest(String arg0) { super(arg0); - 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: [TRAVIS] Add Travis job to run php tests
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 6cc011e [TRAVIS] Add Travis job to run php tests new ac5ece4 Merge pull request #1781 from blackleg/test_php_module 6cc011e is described below commit 6cc011e679af28005ad67ebc4a540a494f0f1477 Author: Hector Espert AuthorDate: Fri Dec 13 18:55:04 2019 +0100 [TRAVIS] Add Travis job to run php tests --- .travis.yml | 24 1 file changed, 24 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4592e38..5cc8d61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -418,3 +418,27 @@ matrix: - ant $OPTS build script: - ant $OPTS -f enterprise/spring.webmvc test + +- name: Test php modules + jdk: openjdk8 + env: +- OPTS="-quiet -Dcluster.config=php -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true" + before_script: +- ant $OPTS clean +- ant $OPTS build + script: +- ant $OPTS -f php/hudson.php test +#- ant $OPTS -f php/languages.neon test +- ant $OPTS -f php/php.api.annotation test +- ant $OPTS -f php/php.api.documentation test +- ant $OPTS -f php/php.api.executable test +- ant $OPTS -f php/php.api.framework test +- ant $OPTS -f php/php.api.phpmodule test +- ant $OPTS -f php/php.api.testing test +- ant $OPTS -f php/php.apigen test +- ant $OPTS -f php/php.atoum test +- ant $OPTS -f php/php.code.analysis test +- ant $OPTS -f php/php.codeception test +- ant $OPTS -f php/php.composer test +#- ant $OPTS -f php/php.dbgp test +- ant $OPTS -f php/php.doctrine2 test - 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-3595) Enable actions to execute spock tests
[ https://issues.apache.org/jira/browse/NETBEANS-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3595: - Labels: pull-request-available (was: ) > Enable actions to execute spock tests > - > > Key: NETBEANS-3595 > URL: https://issues.apache.org/jira/browse/NETBEANS-3595 > Project: NetBeans > Issue Type: Sub-task > Components: groovy - Code >Reporter: Florian Vogler >Assignee: Florian Vogler >Priority: Major > Labels: pull-request-available > > Get following actions to work with spock tests: > * Test Package > * Test File / Debug Test File > * Run Focused Test Method / Debug Focused Test Method -- 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-3278) NetBeans Platform Application only compiles with default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996486#comment-16996486 ] Eric Bresie commented on NETBEANS-3278: --- WHile trying to clean and build the NetBeans Build System Project...it makes the following ant call: ant -f .\\netbeans\\nbbuild\\nbproject\\nbjdk.xml localclean bootstrap During which I see the following warning: Warning: nbjdk.active=JDK_1.7 or nbjdk.home=${platforms.JDK_1.7.home} is an invalid Java platform; ignoring and using C:\apps\java localclean: And reference to duplicate jdk items like: Duplicated project name in import. Project jdk defined first in .\netbeans\nbbuild\nbproject\jdk.xml and again in .\netbeans\nbbuild\jdk.xml nbbuild.clean-cluster-flags: nbbuild.localclean: Could this be causing some conflict/confusion between these two? > NetBeans Platform Application only compiles with default JDK > > > Key: NETBEANS-3278 > URL: https://issues.apache.org/jira/browse/NETBEANS-3278 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 11.0, 11.1, 11.2 > Environment: Windows 10 >Reporter: matteodg >Priority: Major > > I created from scratch a simple NetBeans Platform Application with a single > module and I would like to use a Java Platform different than the default > one, but I can't because I got this error while building the application: > {noformat} > module.taskdefs: > module.common-init: > Warning: nbjdk.active=OpenJDK13 or nbjdk.home=D:\Java\OpenJDK\jdk-13.0.1 is > an invalid Java platform; ignoring and using D:\Java\OpenJDK > module.projectized-common.basic-init: > module.basic-init: > {noformat} > I'm launching NetBeans IDE with Oracle JDK 13 (default JDK) but I would like > to compile and run with OpenJDK 13 (which I properly configured in > Tools->Java Platforms). > I checked and this bug is present in NB 11.0, 11.1 and 11.2-beta3 as well -- 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-3595) Enable actions to execute spock tests
Florian Vogler created NETBEANS-3595: Summary: Enable actions to execute spock tests Key: NETBEANS-3595 URL: https://issues.apache.org/jira/browse/NETBEANS-3595 Project: NetBeans Issue Type: Sub-task Components: groovy - Code Reporter: Florian Vogler Assignee: Florian Vogler Get following actions to work with spock tests: * Test Package * Test File / Debug Test File * Run Focused Test Method / Debug Focused Test Method -- 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-3278) NetBeans Platform Application only compiles with default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996482#comment-16996482 ] Eric Bresie commented on NETBEANS-3278: --- So digging a little more, I noticed some minor differences between the above jdk.xml files. Do these maybe need to be made similar? More specifically, in the following versions: * .\netbeans\nbbuild\nbproject\jdk.xmlC:\src\git\netbeans.eric\netbeans\nbbuild\nbproject\jdk.xml * .\netbeans\java\java.freeform\src\org\netbeans\modules\java\freeform\jdkselection\jdk.xml These only includes condition and checks for nbjdk.home, nbjdk.javac, nbjdk.java, and jbjdk.javadoc However in these other two jdk.xml file, they are slightly different * .\netbeans\nbbuild\netbeans\harness\jdk.xml Which includes nbjdk.home, nbjdk.javac, nbjdk.java, and jbjdk.javadoc but also includes an "or" expression like the following: Assume this is to check if jdk 9's jmod (for modularity) is available for use Further in this version, it has those of the above plus * .\netbeans\nbbuild\jdk.xml Also includes "have-jdk-" available items like: Which assume checks against a jdk specific unique features to help determine which is available. Does some of this different logic need to be added to the other jdk.xml files? > NetBeans Platform Application only compiles with default JDK > > > Key: NETBEANS-3278 > URL: https://issues.apache.org/jira/browse/NETBEANS-3278 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 11.0, 11.1, 11.2 > Environment: Windows 10 >Reporter: matteodg >Priority: Major > > I created from scratch a simple NetBeans Platform Application with a single > module and I would like to use a Java Platform different than the default > one, but I can't because I got this error while building the application: > {noformat} > module.taskdefs: > module.common-init: > Warning: nbjdk.active=OpenJDK13 or nbjdk.home=D:\Java\OpenJDK\jdk-13.0.1 is > an invalid Java platform; ignoring and using D:\Java\OpenJDK > module.projectized-common.basic-init: > module.basic-init: > {noformat} > I'm launching NetBeans IDE with Oracle JDK 13 (default JDK) but I would like > to compile and run with OpenJDK 13 (which I properly configured in > Tools->Java Platforms). > I checked and this bug is present in NB 11.0, 11.1 and 11.2-beta3 as well -- 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-3278) NetBeans Platform Application only compiles with default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996466#comment-16996466 ] Eric Bresie edited comment on NETBEANS-3278 at 12/14/19 4:58 PM: - So I did a search for "is an invalid Java platform" and found reference to this in a number of jdk.xml files to include: .\netbeans\nbbuild\jdk.xml .\netbeans\nbbuild\nbproject\jdk.xml .\netbeans\nbbuild\netbeans\harness\jdk.xml .\netbeans\java\java.freeform\src\org\netbeans\modules\java\freeform\jdkselection\jdk.xml This is in the -jdk-warn target Warning: nbjdk.active=${nbjdk.active} or nbjdk.home=${nbjdk.home} is an invalid Java platform; ignoring and using ${jdkhome.presumed} With the -jdk-preinit looking to be a little more complex bit of ant logics to determine viable nbjdk locations. I'm assuming somewhere in there it's for some reason not finding something quite right Assume this has something to do with the "nbjdk.valid" attribute not coming back as expected. was (Author: ebresie): So I did a search for "is an invalid Java platform" and found reference to this in a number of jdk.xml files to include: .\netbeans\nbbuild\jdk.xml .\netbeans\nbbuild\nbproject\jdk.xml .\netbeans\nbbuild\netbeans\harness\jdk.xml .\netbeans\java\java.freeform\src\org\netbeans\modules\java\freeform\jdkselection\jdk.xml This is in the -jdk-warn target Warning: nbjdk.active=${nbjdk.active} or nbjdk.home=${nbjdk.home} is an invalid Java platform; ignoring and using ${jdkhome.presumed} With the -jdk-preinit looking to be a little more complex bit of ant logics to determine viable nbjdk locations. I'm assuming somewhere in there it's for some reason not finding something quite right > NetBeans Platform Application only compiles with default JDK > > > Key: NETBEANS-3278 > URL: https://issues.apache.org/jira/browse/NETBEANS-3278 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 11.0, 11.1, 11.2 > Environment: Windows 10 >Reporter: matteodg >Priority: Major > > I created from scratch a simple NetBeans Platform Application with a single > module and I would like to use a Java Platform different than the default > one, but I can't because I got this error while building the application: > {noformat} > module.taskdefs: > module.common-init: > Warning: nbjdk.active=OpenJDK13 or nbjdk.home=D:\Java\OpenJDK\jdk-13.0.1 is > an invalid Java platform; ignoring and using D:\Java\OpenJDK > module.projectized-common.basic-init: > module.basic-init: > {noformat} > I'm launching NetBeans IDE with Oracle JDK 13 (default JDK) but I would like > to compile and run with OpenJDK 13 (which I properly configured in > Tools->Java Platforms). > I checked and this bug is present in NB 11.0, 11.1 and 11.2-beta3 as well -- 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-3278) NetBeans Platform Application only compiles with default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996466#comment-16996466 ] Eric Bresie commented on NETBEANS-3278: --- So I did a search for "is an invalid Java platform" and found reference to this in a number of jdk.xml files to include: .\netbeans\nbbuild\jdk.xml .\netbeans\nbbuild\nbproject\jdk.xml .\netbeans\nbbuild\netbeans\harness\jdk.xml .\netbeans\java\java.freeform\src\org\netbeans\modules\java\freeform\jdkselection\jdk.xml This is in the -jdk-warn target Warning: nbjdk.active=${nbjdk.active} or nbjdk.home=${nbjdk.home} is an invalid Java platform; ignoring and using ${jdkhome.presumed} With the -jdk-preinit looking to be a little more complex bit of ant logics to determine viable nbjdk locations. I'm assuming somewhere in there it's for some reason not finding something quite right > NetBeans Platform Application only compiles with default JDK > > > Key: NETBEANS-3278 > URL: https://issues.apache.org/jira/browse/NETBEANS-3278 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 11.0, 11.1, 11.2 > Environment: Windows 10 >Reporter: matteodg >Priority: Major > > I created from scratch a simple NetBeans Platform Application with a single > module and I would like to use a Java Platform different than the default > one, but I can't because I got this error while building the application: > {noformat} > module.taskdefs: > module.common-init: > Warning: nbjdk.active=OpenJDK13 or nbjdk.home=D:\Java\OpenJDK\jdk-13.0.1 is > an invalid Java platform; ignoring and using D:\Java\OpenJDK > module.projectized-common.basic-init: > module.basic-init: > {noformat} > I'm launching NetBeans IDE with Oracle JDK 13 (default JDK) but I would like > to compile and run with OpenJDK 13 (which I properly configured in > Tools->Java Platforms). > I checked and this bug is present in NB 11.0, 11.1 and 11.2-beta3 as well -- 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-3594) Module Java Refactoring threw java.lang.AssertionError
Bill King created NETBEANS-3594: --- Summary: Module Java Refactoring threw java.lang.AssertionError Key: NETBEANS-3594 URL: https://issues.apache.org/jira/browse/NETBEANS-3594 Project: NetBeans Issue Type: Bug Components: editor - Refactoring Affects Versions: 11.2 Environment: Product Version: Apache NetBeans IDE 11.2 Updates: Updates available Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10 Runtime: OpenJDK Runtime Environment 12.0.2+10 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\z013ljt\AppData\Roaming\NetBeans\11.2 Cache directory: C:\Users\z013ljt\AppData\Local\NetBeans\Cache\11.2 Reporter: Bill King Attachments: Netbeans IDE Log.txt, Netbeans UI Log.txt Logs attached. -- 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-3278) NetBeans Platform Application only compiles with default JDK
[ https://issues.apache.org/jira/browse/NETBEANS-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16996452#comment-16996452 ] Eric Bresie commented on NETBEANS-3278: --- FYI...I tried compiling a plugin (community-uml) with Oracle Java 11.0.5 and received a similar issues. "Warning: nbjdk.active=JDK_11.0.5 or nbjdk.home=C:\apps\java\jdk-11.0.5 is an invalid Java platform; ignoring and using C:\apps\java\openJdk" I did create Java Platforms within the IDE (Tools...Java Platform) and I have many different versions present pointing to a number of flavors of the JDK (open and Oracle versions). Additionally, the "using C:\apps\java\openjdk" part is a lilttle confusing as this folder is actually a container folder of a number of different flavors of open jdk so I'm not sure why it would be using this to begin with. > NetBeans Platform Application only compiles with default JDK > > > Key: NETBEANS-3278 > URL: https://issues.apache.org/jira/browse/NETBEANS-3278 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Harness >Affects Versions: 11.0, 11.1, 11.2 > Environment: Windows 10 >Reporter: matteodg >Priority: Major > > I created from scratch a simple NetBeans Platform Application with a single > module and I would like to use a Java Platform different than the default > one, but I can't because I got this error while building the application: > {noformat} > module.taskdefs: > module.common-init: > Warning: nbjdk.active=OpenJDK13 or nbjdk.home=D:\Java\OpenJDK\jdk-13.0.1 is > an invalid Java platform; ignoring and using D:\Java\OpenJDK > module.projectized-common.basic-init: > module.basic-init: > {noformat} > I'm launching NetBeans IDE with Oracle JDK 13 (default JDK) but I would like > to compile and run with OpenJDK 13 (which I properly configured in > Tools->Java Platforms). > I checked and this bug is present in NB 11.0, 11.1 and 11.2-beta3 as well -- 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