[jira] [Commented] (NETBEANS-4050) cleanup uses of EMPTY_LIST
[ https://issues.apache.org/jira/browse/NETBEANS-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132846#comment-17132846 ] Brad Walker commented on NETBEANS-4050: --- Hey [~matthiasblaesing], it's ready to go.. I rebased last night to the latest master.. > cleanup uses of EMPTY_LIST > -- > > Key: NETBEANS-4050 > URL: https://issues.apache.org/jira/browse/NETBEANS-4050 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: Next > > Time Spent: 40m > Remaining Estimate: 0h > > Clean up a bunch of compiler warning messages related to the use of > Collections.EMPTY_LIST.. >[repeat] > /home/bwalker/src/netbeans/java/ant.debugger/src/org/netbeans/modules/ant/debugger/RunTargetsAction.java:145: > warning: [unchecked] unchecked conversion >[repeat] allTargets = Collections.EMPTY_SET; >[repeat] ^ >[repeat] required: Set >[repeat] found:Set -- 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-4425) Can't reset Git password
Vitaly created NETBEANS-4425: Summary: Can't reset Git password Key: NETBEANS-4425 URL: https://issues.apache.org/jira/browse/NETBEANS-4425 Project: NetBeans Issue Type: Bug Components: versioncontrol - Git Affects Versions: 12.0 Reporter: Vitaly Once attempted to pull/clone a repo from Github, providing the password and ticking "Remember Password" there seems no way to reset if suddenly misspelled the password. Previous 11.3 seems to have a way to reset the password but 12.0 — alas. -- 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-4050) cleanup uses of EMPTY_LIST
[ https://issues.apache.org/jira/browse/NETBEANS-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132733#comment-17132733 ] Brad Walker commented on NETBEANS-4050: --- Hey [~matthiasblaesing], I did a rebase last night to the current master.. It's ready to go.. As usual, thanks for your help. > cleanup uses of EMPTY_LIST > -- > > Key: NETBEANS-4050 > URL: https://issues.apache.org/jira/browse/NETBEANS-4050 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: Next > > Time Spent: 40m > Remaining Estimate: 0h > > Clean up a bunch of compiler warning messages related to the use of > Collections.EMPTY_LIST.. >[repeat] > /home/bwalker/src/netbeans/java/ant.debugger/src/org/netbeans/modules/ant/debugger/RunTargetsAction.java:145: > warning: [unchecked] unchecked conversion >[repeat] allTargets = Collections.EMPTY_SET; >[repeat] ^ >[repeat] required: Set >[repeat] found:Set -- 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-1367) PHP frameworks: End of Life or outdated installers.
[ https://issues.apache.org/jira/browse/NETBEANS-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132665#comment-17132665 ] Tomáš Procházka commented on NETBEANS-1367: --- ApiGen documentation generation tool is adandoned since November 2017 - https://github.com/ApiGen/ApiGen/issues/1020 > PHP frameworks: End of Life or outdated installers. > --- > > Key: NETBEANS-1367 > URL: https://issues.apache.org/jira/browse/NETBEANS-1367 > Project: NetBeans > Issue Type: Bug > Components: php - Nette, php - Symfony, php - Zend >Affects Versions: 10.0, 12.0 >Reporter: Alexander Romanenko >Priority: Minor > > Zend Framework 1 and Symfony 1 are EOL. > Zend 2 not _exactly_ EOL in favor of 3, but some parts of it are, difficult > to tell because it is no longer a monolithic framework that one "installs". > This leads to another problem of frameworks listed (not the tools like > PHPUnit) being configured as if there is a global external zipped library > that gets referenced. > _Composer create-project_ <_packagist/repository>_ command has been the > standard across all frameworks. There is no more "symfony installer" or "zend > skeleton application zip" one can download anymore. > Doctrine no longer uses pear or single entry point for commands. > *ALSO*, the scripts are global to netbeans, not per project, which is a > problem because these frameworks are unique to each project's _vendor_ > sub-directory. > > I propose removing application level frameworks from the list, until the > plugin has caught up with composer workflow: > * Nette2 > * Symfony (EOL) > * Symfon 2/3 > * Zend (EOL) > * Zend 2 > * PHPUnit skeleton generator (not the main phpunit) > * Doctrine 2 > > (I did not test all utility level frameworks, that may be its own problem) > EDIT: tested > * PhpUnit - passed (but is a global level option, not project specific, > which will cause breakages) > * Doctrine 2 - failed. -- 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-3361) java.io.IOException: java.nio.file.ClosedWatchServiceException
[ https://issues.apache.org/jira/browse/NETBEANS-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132656#comment-17132656 ] Alvaro Salazar commented on NETBEANS-3361: -- Yes Version 1909 Win10 Pro but today im holding on the 2020-6 update. If you need anything please let me know. Thank you guys for your work. The world runs on your knouledge. > java.io.IOException: java.nio.file.ClosedWatchServiceException > -- > > Key: NETBEANS-3361 > URL: https://issues.apache.org/jira/browse/NETBEANS-3361 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.2 >Reporter: Alvaro Salazar >Priority: Major > > Gradually increment memory usage. > from 73% system memory available to 0% -- 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-4424) rename maven artifactid doesn't rename in children projects
Ernie Rael created NETBEANS-4424: Summary: rename maven artifactid doesn't rename in children projects Key: NETBEANS-4424 URL: https://issues.apache.org/jira/browse/NETBEANS-4424 Project: NetBeans Issue Type: Bug Components: projects - Maven Reporter: Ernie Rael To recreate # "NewProject > java with maven > POM project", create "parent_proj" # Using context menu "parent_proj > Modules > CreateNewModule" create "child1_proj" and "child2_proj" # In parent_proj add dependencyManagement entry for child2_proj. In child1_proj add dependency to child2_proj. # Rename child2_proj artifactid Observe that dependencyManagement entry is not renamed; dependency in child1_proj is not renamed. Note that this is particularly important during early development; having some modules refer to old names in local repository is a mess. I'd guess a checkbox to rename within parent project is appropriate. An option to delete old from local repository should be considered as well. Is there a find usage for group:artifact? -- 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] [Closed] (NETBEANS-4200) Missing last character of package while navigating source packages in Netbeans IDE V11.3
[ https://issues.apache.org/jira/browse/NETBEANS-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niladri closed NETBEANS-4200. - Fix Version/s: 12.0 Assignee: Niladri (was: Alex Lumpov) Resolution: Resolved This issue is fixed in latest version i.e. Apache NetBeans IDE 12.0 > Missing last character of package while navigating source packages in > Netbeans IDE V11.3 > > > Key: NETBEANS-4200 > URL: https://issues.apache.org/jira/browse/NETBEANS-4200 > Project: NetBeans > Issue Type: Bug > Components: cnd - Navigation >Affects Versions: 11.3 > Environment: Windows 10 >Reporter: Niladri >Assignee: Niladri >Priority: Major > Labels: beginners, newbie, starter > Fix For: 12.0, 11.3 > > Attachments: image-2020-04-20-12-20-54-224.png, > image-2020-04-20-12-23-26-965.png, image-2020-04-20-12-25-36-216.png, > image-2020-04-20-12-36-49-567.png > > > Dear Team, > > Please find below screenshots where the last character of package is missing > though it is available in the file system (Directory Structure). Could you > please advice fix to this problem/issue/bug? > +*IDE Screenshot*+ > !image-2020-04-20-12-20-54-224.png! > !image-2020-04-20-12-23-26-965.png! > > +*Filesystem (Directory Structure)*+ > *!image-2020-04-20-12-36-49-567.png!* -- 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-4073) JDK14 features still declared as preview (e.g. switch) - Project contains "file with errors"
[ https://issues.apache.org/jira/browse/NETBEANS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130957#comment-17130957 ] Laird Nelson commented on NETBEANS-4073: Yes of course. > JDK14 features still declared as preview (e.g. switch) - Project contains > "file with errors" > > > Key: NETBEANS-4073 > URL: https://issues.apache.org/jira/browse/NETBEANS-4073 > Project: NetBeans > Issue Type: Bug > Components: ide - Code, platform - JDK Problems >Affects Versions: 11.3 > Environment: Manjaro Linux, JDK14, NB11.3 >Reporter: Klaus Ahrenberg >Priority: Trivial > Labels: 11.3, 12.0, jdk14, preview-features > Fix For: 11.2 > > Attachments: switch_expression.png > > > With configuration NB11.2 and JDK13 I used the flag --enable-preview to use > the new switch command for example. In JDK14 the new switch command is not > longer a preview feature, it's implemented in the JDK now. > However, in NB11.3 and JDK14 I cannot use the --enable-preview flag. > Running/compiling with this flag results in error. If I remove the flag, > application is compiling and running in JDK14. > The Netbeans IDE itself shows in the project still "files with errors" and at > every program run it displays the message "project still has failures. > Continue?". If I look at the marked files with error, it shows me the files > where the new switch command is used. The hint is "Use --enable-preview flag" > which can not be used anymore. > To reproduce: > - Create Java App - Source level and JDK version 14 > - Use new switch statement in code > > {{switch (b) {}} > {{ case 1 -> System.out.println("1");}} > {{ default -> System.out.println("other");}} > {{}}} -- 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-3870) Smooth scrolling for FlatLaF inside the editor is hacky/lacky
[ https://issues.apache.org/jira/browse/NETBEANS-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130951#comment-17130951 ] Eirik Bakke commented on NETBEANS-3870: --- Great work! [~chrizzly] did this solve the old problems you said remained in https://issues.apache.org/jira/browse/NETBEANS-49 ? > Smooth scrolling for FlatLaF inside the editor is hacky/lacky > - > > Key: NETBEANS-3870 > URL: https://issues.apache.org/jira/browse/NETBEANS-3870 > Project: NetBeans > Issue Type: Improvement > Components: FlatLaf, ide - UI >Affects Versions: 11.3 > Environment: Product Version: Apache NetBeans IDE 11.3-beta2 > Updates: Updates available to version NetBeans 8.2 Patch 2 > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.3-beta2 > Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.3-beta2 >Reporter: Christian Lenz >Assignee: Karl Tauber >Priority: Major > Labels: pull-request-available > Fix For: 12.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > I use the latest 11.3 beta 2 with the new Flat LaF. The smooth scrolling > works perfect inside of those UI elements: > - Navigator > - Options (tested with Editor and Team tab) > - Project View > - Files View > - Services View > But the smooth scrolling is hacky/lacky in the editor. I use Windows 10 64 > bit with a Surface Book and the touchpad on it, no extra mouse. > We can make a skype session or I will try to make a little video, a > screencapture (gif) will not work well here. I already commented about the > problem here: https://issues.apache.org/jira/browse/NETBEANS-49. The problem > happens with the implementation of [~ebakke] for the default NetBeans LaF. > Please let me know, what you need from my site :) -- 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] [Closed] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element
[ https://issues.apache.org/jira/browse/NETBEANS-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Tauber closed NETBEANS-4173. - Fix Version/s: 12.0 Resolution: Fixed tested final 12.0 and it works now > FlatLaf: Partial render selected BeanTreeView element > - > > Key: NETBEANS-4173 > URL: https://issues.apache.org/jira/browse/NETBEANS-4173 > Project: NetBeans > Issue Type: Bug > Components: FlatLaf >Affects Versions: 11.2 >Reporter: Lucas Friedmann >Assignee: Karl Tauber >Priority: Minor > Labels: pull-request-available > Fix For: 12.0 > > Attachments: Netbeans Services Windows after fix_FlatLaf.png, > image-2020-04-16-13-16-17-044.png > > Time Spent: 1.5h > Remaining Estimate: 0h > > When using FlatLaf Look and Feel, incorrect rendering of tree item under the > context menu in the BeanTreeView component occurs. This problem can be easily > reproduced by the following simple example. > {code:java} > import com.formdev.flatlaf.FlatLightLaf; > import org.openide.explorer.ExplorerManager; > import org.openide.explorer.view.BeanTreeView; > import org.openide.nodes.AbstractNode; > import org.openide.nodes.Children; > import javax.swing.*; > import java.awt.*; > import java.awt.event.ActionEvent; > public class SampleFrame extends JFrame implements ExplorerManager.Provider { > private final ExplorerManager explorerManager = new ExplorerManager(); > public SampleFrame() throws HeadlessException { > setSize(300, 400); > explorerManager.setRootContext(new SampleNode()); > BeanTreeView beanTreeView = new BeanTreeView(); > getContentPane().add(beanTreeView, BorderLayout.CENTER); > } > @Override > public ExplorerManager getExplorerManager() { > return explorerManager; > } > private static class SampleNode extends AbstractNode { > public SampleNode() { > super(Children.LEAF); > setName("SampleNode"); > } > @Override > public Action[] getActions(boolean context) { > AbstractAction action = new AbstractAction() { > @Override > public void actionPerformed(ActionEvent e) { > } > }; > action.putValue(Action.NAME, "Sample"); > return new Action[]{action}; > } > } > public static void main(String[] args) { > SwingUtilities.invokeLater(() -> { > FlatLightLaf.install(); > SampleFrame frame = new SampleFrame(); > frame.setDefaultCloseOperation(EXIT_ON_CLOSE); > frame.setVisible(true); > }); > } > } > {code} > Netbeans Services Window > !image-2020-04-16-13-16-17-044.png! > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Assigned] (NETBEANS-4173) FlatLaf: Partial render selected BeanTreeView element
[ https://issues.apache.org/jira/browse/NETBEANS-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Tauber reassigned NETBEANS-4173: - Assignee: Karl Tauber > FlatLaf: Partial render selected BeanTreeView element > - > > Key: NETBEANS-4173 > URL: https://issues.apache.org/jira/browse/NETBEANS-4173 > Project: NetBeans > Issue Type: Bug > Components: FlatLaf >Affects Versions: 11.2 >Reporter: Lucas Friedmann >Assignee: Karl Tauber >Priority: Minor > Labels: pull-request-available > Attachments: Netbeans Services Windows after fix_FlatLaf.png, > image-2020-04-16-13-16-17-044.png > > Time Spent: 1.5h > Remaining Estimate: 0h > > When using FlatLaf Look and Feel, incorrect rendering of tree item under the > context menu in the BeanTreeView component occurs. This problem can be easily > reproduced by the following simple example. > {code:java} > import com.formdev.flatlaf.FlatLightLaf; > import org.openide.explorer.ExplorerManager; > import org.openide.explorer.view.BeanTreeView; > import org.openide.nodes.AbstractNode; > import org.openide.nodes.Children; > import javax.swing.*; > import java.awt.*; > import java.awt.event.ActionEvent; > public class SampleFrame extends JFrame implements ExplorerManager.Provider { > private final ExplorerManager explorerManager = new ExplorerManager(); > public SampleFrame() throws HeadlessException { > setSize(300, 400); > explorerManager.setRootContext(new SampleNode()); > BeanTreeView beanTreeView = new BeanTreeView(); > getContentPane().add(beanTreeView, BorderLayout.CENTER); > } > @Override > public ExplorerManager getExplorerManager() { > return explorerManager; > } > private static class SampleNode extends AbstractNode { > public SampleNode() { > super(Children.LEAF); > setName("SampleNode"); > } > @Override > public Action[] getActions(boolean context) { > AbstractAction action = new AbstractAction() { > @Override > public void actionPerformed(ActionEvent e) { > } > }; > action.putValue(Action.NAME, "Sample"); > return new Action[]{action}; > } > } > public static void main(String[] args) { > SwingUtilities.invokeLater(() -> { > FlatLightLaf.install(); > SampleFrame frame = new SampleFrame(); > frame.setDefaultCloseOperation(EXIT_ON_CLOSE); > frame.setVisible(true); > }); > } > } > {code} > Netbeans Services Window > !image-2020-04-16-13-16-17-044.png! > -- 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] [Closed] (NETBEANS-3881) FlatLaf Light minor gui issue
[ https://issues.apache.org/jira/browse/NETBEANS-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Tauber closed NETBEANS-3881. - Fix Version/s: 12.0 Resolution: Fixed tested final 12.0 and it works now > FlatLaf Light minor gui issue > - > > Key: NETBEANS-3881 > URL: https://issues.apache.org/jira/browse/NETBEANS-3881 > Project: NetBeans > Issue Type: Bug > Components: FlatLaf > Environment: Product Version: Apache NetBeans IDE DEV (Build > dev-e198d0dade337c1dbc27adbbdfd5d12f621a7712) > Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9 > Runtime: OpenJDK Runtime Environment 13.0.1+9 > System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_GB (nb) >Reporter: Vedran >Assignee: Karl Tauber >Priority: Minor > Labels: pull-request-available > Fix For: 12.0 > > Attachments: image-2020-03-19-09-56-04-856.png > > Time Spent: 20m > Remaining Estimate: 0h > > I am experiencing a minor issue when i try to execute Find Usages action. > I can't upload attachments to show this. I have read that i need admin to > grant me permission to do so but i do not know how to ask admin for that. > Issue is that scope defining button is under some warning box which says: > {color:#FF}Warning: {color}Disclaimer: Searching for usages in compiled > dependencies has certain limitations. [Find out more. > |http://wiki.netbeans.org/Find_Usages_in_Compiled_Dependencies] > It is hard to click that button and when you click on it, Maven project icons > have dark background. -- 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] [Closed] (NETBEANS-4135) FlatLaf on Windows does not render all Unicode characters
[ https://issues.apache.org/jira/browse/NETBEANS-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Tauber closed NETBEANS-4135. - Fix Version/s: 12.0 Resolution: Fixed fixed with FlatLaf 0.30 in this PR https://github.com/apache/netbeans/pull/2060 > FlatLaf on Windows does not render all Unicode characters > - > > Key: NETBEANS-4135 > URL: https://issues.apache.org/jira/browse/NETBEANS-4135 > Project: NetBeans > Issue Type: Bug > Components: FlatLaf >Affects Versions: 11.3 >Reporter: Karl Tauber >Assignee: Karl Tauber >Priority: Major > Fix For: 12.0 > > > reported here [https://github.com/JFormDesigner/FlatLaf/issues/81] > On Windows, FlatLaf components can not render all Unicode characters because > the used font "Segoe UI" does not contain all characters and FlatLaf does not > create a Swing "composite font", which could render all Unicode characters. > On Linux, FlatLaf already creates a composite font. > On Mac, the used font seems to contain all (or more) Unicode characters. -- 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] [Closed] (NETBEANS-4030) FlatLaf: selection not painted in libraries category in project dialog
[ https://issues.apache.org/jira/browse/NETBEANS-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Tauber closed NETBEANS-4030. - Fix Version/s: 12.0 Resolution: Fixed tested final 12.0 and it works now > FlatLaf: selection not painted in libraries category in project dialog > --- > > Key: NETBEANS-4030 > URL: https://issues.apache.org/jira/browse/NETBEANS-4030 > Project: NetBeans > Issue Type: Bug > Components: FlatLaf >Affects Versions: 11.3 >Reporter: Karl Tauber >Assignee: Karl Tauber >Priority: Major > Labels: pull-request-available > Fix For: 12.0 > > Attachments: image-2020-03-17-19-05-30-099.png, > image-2020-03-17-19-05-44-489.png, image-2020-03-17-19-09-48-899.png, > image-2020-03-17-19-10-39-158.png, image-2020-03-18-09-34-17-586.png > > Time Spent: 20m > Remaining Estimate: 0h > > In Project properties dialog in category Libraries, if a item is selected it > is not painted anymore in FlatLaf Light: > !image-2020-03-17-19-05-30-099.png! > Unselected: > !image-2020-03-17-19-05-44-489.png! -- 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-4073) JDK14 features still declared as preview (e.g. switch) - Project contains "file with errors"
[ https://issues.apache.org/jira/browse/NETBEANS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130914#comment-17130914 ] Geertjan Wielenga commented on NETBEANS-4073: - Can you try exactly as defined in the instructions, to verify that they do work? Then, can you open an issue for each of your variations on those instructions, together with a link to a GitHub repo with a sample to reproduce your scenario? > JDK14 features still declared as preview (e.g. switch) - Project contains > "file with errors" > > > Key: NETBEANS-4073 > URL: https://issues.apache.org/jira/browse/NETBEANS-4073 > Project: NetBeans > Issue Type: Bug > Components: ide - Code, platform - JDK Problems >Affects Versions: 11.3 > Environment: Manjaro Linux, JDK14, NB11.3 >Reporter: Klaus Ahrenberg >Priority: Trivial > Labels: 11.3, 12.0, jdk14, preview-features > Fix For: 11.2 > > Attachments: switch_expression.png > > > With configuration NB11.2 and JDK13 I used the flag --enable-preview to use > the new switch command for example. In JDK14 the new switch command is not > longer a preview feature, it's implemented in the JDK now. > However, in NB11.3 and JDK14 I cannot use the --enable-preview flag. > Running/compiling with this flag results in error. If I remove the flag, > application is compiling and running in JDK14. > The Netbeans IDE itself shows in the project still "files with errors" and at > every program run it displays the message "project still has failures. > Continue?". If I look at the marked files with error, it shows me the files > where the new switch command is used. The hint is "Use --enable-preview flag" > which can not be used anymore. > To reproduce: > - Create Java App - Source level and JDK version 14 > - Use new switch statement in code > > {{switch (b) {}} > {{ case 1 -> System.out.println("1");}} > {{ default -> System.out.println("other");}} > {{}}} -- 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-4073) JDK14 features still declared as preview (e.g. switch) - Project contains "file with errors"
[ https://issues.apache.org/jira/browse/NETBEANS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130815#comment-17130815 ] Laird Nelson commented on NETBEANS-4073: [~geertjan]: I've followed those instructions and understand what they are attempting to do. They do not work. Maybe they work for a simple one-module Maven project, or without toolchains, or without pluginManagement. I will file a new issue once I can put a reproducer together. Also: is it weird that even though my project defines toolchains to use a very particular compiler Netbeans will not use that compiler for the editor? Couldn't NetBeans actually also respect the toolchains settings? Is there some reason the editor _must_ use the _javac_ that is associated with the JVM that launched NetBeans? > JDK14 features still declared as preview (e.g. switch) - Project contains > "file with errors" > > > Key: NETBEANS-4073 > URL: https://issues.apache.org/jira/browse/NETBEANS-4073 > Project: NetBeans > Issue Type: Bug > Components: ide - Code, platform - JDK Problems >Affects Versions: 11.3 > Environment: Manjaro Linux, JDK14, NB11.3 >Reporter: Klaus Ahrenberg >Priority: Trivial > Labels: 11.3, 12.0, jdk14, preview-features > Fix For: 11.2 > > Attachments: switch_expression.png > > > With configuration NB11.2 and JDK13 I used the flag --enable-preview to use > the new switch command for example. In JDK14 the new switch command is not > longer a preview feature, it's implemented in the JDK now. > However, in NB11.3 and JDK14 I cannot use the --enable-preview flag. > Running/compiling with this flag results in error. If I remove the flag, > application is compiling and running in JDK14. > The Netbeans IDE itself shows in the project still "files with errors" and at > every program run it displays the message "project still has failures. > Continue?". If I look at the marked files with error, it shows me the files > where the new switch command is used. The hint is "Use --enable-preview flag" > which can not be used anymore. > To reproduce: > - Create Java App - Source level and JDK version 14 > - Use new switch statement in code > > {{switch (b) {}} > {{ case 1 -> System.out.println("1");}} > {{ default -> System.out.println("other");}} > {{}}} -- 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-3158) netbeans 11.1 requests re-installation of nbjavac plugin and fails.
[ https://issues.apache.org/jira/browse/NETBEANS-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130779#comment-17130779 ] Manuel Iglesias commented on NETBEANS-3158: --- I think I have found a solution. As I wasn't getting any help here and the bug made 'netbeans' unusable, I started using the following hack: * After a clean install (including 'nbjavac' & 'javafx' plugins) I copied directory '.netbeans/*/config/Modules' to a safe place. * I wrote a shell-wrapper to do the following: Delete directory '.netbeans/*/config/Modules', recreate it from the safe copy and then invoke 'netbeans'. The hack worked all all right but whenever a new version of 'netbeans' was available I, temporarily, removed the shell-wrapper and invoked 'netbeans' directly to see if the bug was still there: 'netbeans 11.3' was even worse than 11.2 and yesterday I found that the bug was in 'netbeans 12.0' too. By pure chance, while browsing $HOME, I found that, somehow, 'netbeans' also writes Modules information in directory '$HOME/.java/.userPrefs/org/netbeans/modules'. After deleting it the bug disappeared. I think that the bug is triggered by conflicting Modules information in: '$HOME/.java/.userPrefs/org/netbeans/modules' & several (I run 'netbeans' with --userdir & --cachedir options) '.netbeans/*/config/Modules'. In my humble opinion 'netbeans' should only write configuration data to '.netbeans'. > netbeans 11.1 requests re-installation of nbjavac plugin and fails. > --- > > Key: NETBEANS-3158 > URL: https://issues.apache.org/jira/browse/NETBEANS-3158 > Project: NetBeans > Issue Type: Bug > Components: platform - Plugin Manager >Affects Versions: 11.1 > Environment: Linux Cinnamon Mint 19.2 >Reporter: Manuel Iglesias >Priority: Major > Attachments: 0021.log, 0022.log, 0023.log, 0024.log, > 0040.log, 0041.log, 0042.log, Screenshot from 2019-10-31 > 11-23-33.png, Screenshot from 2019-10-31 11-24-34.png, Screenshot from > 2019-10-31 11-25-31.png, Screenshot from 2019-10-31 11-52-50.png, Screenshot > from 2019-10-31 11-52-50.png, Screenshot from 2019-10-31 19-25-54.png, > Screenshot from 2019-11-10 16-45-28.png, Screenshot from 2019-11-10 > 16-46-18.png, Screenshot from 2019-11-10 16-47-48.png, Screenshot from > 2019-11-10 16-48-54.png, Screenshot from 2019-11-10 16-51-33.png, Screenshot > from 2019-11-10 16-52-33.png, Screenshot1.png, Screenshot2.png, messages.log, > messages.log, netbeans.conf > > > Installed plugins data seems to get corrupted with normal use. 'netbeans' > then requests re-installation of 'nbjavac' plugin which fails. > Problem can be reproduced in this way: > # Run 'netbeans' without --userdir & --cachedir options # Default values > '$HOME/.netbeans/11.1' & '$HOME/.cache/netbeans/11.1'. First run. > Open new project so that installation of 'nbjavac' & 'javafx' plugins is > triggered. > Install plugins and exit. > # Run 'netbeans' with --userdir $HOME/Test/.netbeans/11.1 --cachedir > $HOME/Test/.cache/netbeans/11.1 options. # First run. > Open new project so that installation of 'nbjavac' & 'javafx' plugins is > triggered. > Install plugins and exit. > Run sequentially: > * netbeans > * netbeans --userdir $HOME/Test/.netbeans/11.1 --cachedir > $HOME/Test/.cache/netbeans/11.1 > After a few times: > * Directory $HOME/.netbeans/11.1/config/Modules is empty. > * 'netbeans' requests re-installation of 'nbjavac' (which fails). > * Tools/Plugins/Installed shows that there are no active plugins. > EDIT: It seems that it may not be necessary to run, sequentially, 'netbeans' > & 'netbeans --userdir ... --cachedir ...' > to reproduce the bug. I started netbeans (running 'netbeans') and before its > window appeared (it takes a few seconds) > I tried to close an editor (another application). Just when I mouse-clicked > the netbeans' window appeared and I closed > netbeans instead of the editor. Next time I started 'netbeans' the bug > appeared (plugins data corrupted, etc). -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
svn commit: r40011 - /release/incubator/netbeans/
Author: skygo Date: Wed Jun 10 14:02:33 2020 New Revision: 40011 Log: Removal of Apache NetBeans 11 LTS as Apache Netbeans 12 LTS is out Removed: release/incubator/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
[netbeans-website] branch master updated: TextBlockToString.gif
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-website.git The following commit(s) were added to refs/heads/master by this push: new 94682ac TextBlockToString.gif 94682ac is described below commit 94682ace0bb8c616b1dcb6e9c0c2292c74407059 Author: Geertjan Wielenga AuthorDate: Wed Jun 10 15:57:36 2020 +0200 TextBlockToString.gif --- netbeans.apache.org/src/content/download/nb120/index.asciidoc | 5 + 1 file changed, 5 insertions(+) diff --git a/netbeans.apache.org/src/content/download/nb120/index.asciidoc b/netbeans.apache.org/src/content/download/nb120/index.asciidoc index 126ea9a..baf3a4a 100644 --- a/netbeans.apache.org/src/content/download/nb120/index.asciidoc +++ b/netbeans.apache.org/src/content/download/nb120/index.asciidoc @@ -82,6 +82,11 @@ image::ezgif.com-video-to-gif.gif[role="left", link="ezgif.com-video-to-gif.gif" image::jdk13-textblock.png[role="left", link="jdk13-textblock.png"] -- +[.feature] +-- +image::TextBlockToString.gif[role="left", link="TextBlockToString.gif"] +-- + Java 12 - link:https://openjdk.java.net/jeps/325[JEP 325]: Switch Expressions (Preview) – code completion for JEP-325 preview feature for multiple case labels, as shown below. - 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-website] branch master updated: animated gif for textblock
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-website.git The following commit(s) were added to refs/heads/master by this push: new 19ca6ce animated gif for textblock 19ca6ce is described below commit 19ca6ceca5701d5e891b185af465bbb9da1b03ad Author: Geertjan Wielenga AuthorDate: Wed Jun 10 15:53:37 2020 +0200 animated gif for textblock --- .../src/content/download/nb120/TextBlockToString-2.gif | Bin 0 -> 102210 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/netbeans.apache.org/src/content/download/nb120/TextBlockToString-2.gif b/netbeans.apache.org/src/content/download/nb120/TextBlockToString-2.gif new file mode 100644 index 000..1a2089f Binary files /dev/null and b/netbeans.apache.org/src/content/download/nb120/TextBlockToString-2.gif differ - 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: release date for 12.0
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 2728e79 release date for 12.0 2728e79 is described below commit 2728e7928ff479ba6f328ec9cdd27153e779963e Author: Eric Barboni AuthorDate: Wed Jun 10 15:49:58 2020 +0200 release date for 12.0 --- meta/netbeansrelease.json | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/netbeansrelease.json b/meta/netbeansrelease.json index c61f6ac..c83291e 100644 --- a/meta/netbeansrelease.json +++ b/meta/netbeansrelease.json @@ -244,9 +244,9 @@ } }, "releasedate": { -"day": "-", -"month": "-", -"year": "-" +"day": "04", +"month": "06", +"year": "2020" }, "previousreleasedate": { "day": "24", @@ -272,8 +272,8 @@ "year": "-" }, "previousreleasedate": { -"day": "24", -"month": "02", +"day": "04", +"month": "06", "year": "2020" } } - 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-4423) integrate native sort line tools
Marc Krämer created NETBEANS-4423: - Summary: integrate native sort line tools Key: NETBEANS-4423 URL: https://issues.apache.org/jira/browse/NETBEANS-4423 Project: NetBeans Issue Type: Improvement Components: cnd - Editor Reporter: Marc Krämer it would be great if you could integrate (old) sort line tools natively: [http://plugins.netbeans.org/plugin/45925/sort-line-tools] this is e.g. useful for sorting array contents, class properties, ... I assume it could not be very hard to integrate since there already exists a plugin which is old and luckily still working. -- 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-2979) Dose not save password
[ https://issues.apache.org/jira/browse/NETBEANS-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clifford Dann updated NETBEANS-2979: Summary: Dose not save password (was: Dose not save the subversion password) > Dose not save password > --- > > Key: NETBEANS-2979 > URL: https://issues.apache.org/jira/browse/NETBEANS-2979 > Project: NetBeans > Issue Type: Bug > Components: platform - Keyring, platform - Other >Affects Versions: 12.0, 11.1, 11.2, 11.3 > Environment: Mac OS X, 10.14.3, x86_64 >Reporter: Clifford Dann >Priority: Major > Labels: security > Attachments: IDE Log.txt, UI Log.txt > > > Every time you click remember password either for a connection or for logging > into svn. > error is NoClassDefFoundError: Could not initialize class > org.netbeans.modules.keyring.mac.SecurityLibrary -- 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-2979) Dose not save password
[ https://issues.apache.org/jira/browse/NETBEANS-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clifford Dann updated NETBEANS-2979: Description: Every time you click remember password. error is NoClassDefFoundError: Could not initialize class org.netbeans.modules.keyring.mac.SecurityLibrary was: Every time you click remember password either for a connection or for logging into svn. error is NoClassDefFoundError: Could not initialize class org.netbeans.modules.keyring.mac.SecurityLibrary > Dose not save password > --- > > Key: NETBEANS-2979 > URL: https://issues.apache.org/jira/browse/NETBEANS-2979 > Project: NetBeans > Issue Type: Bug > Components: platform - Keyring, platform - Other >Affects Versions: 12.0, 11.1, 11.2, 11.3 > Environment: Mac OS X, 10.14.3, x86_64 >Reporter: Clifford Dann >Priority: Major > Labels: security > Attachments: IDE Log.txt, UI Log.txt > > > Every time you click remember password. > error is NoClassDefFoundError: Could not initialize class > org.netbeans.modules.keyring.mac.SecurityLibrary -- 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-2979) Dose not save the subversion password
[ https://issues.apache.org/jira/browse/NETBEANS-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130669#comment-17130669 ] Clifford Dann commented on NETBEANS-2979: - Still broken in 12.0 > Dose not save the subversion password > - > > Key: NETBEANS-2979 > URL: https://issues.apache.org/jira/browse/NETBEANS-2979 > Project: NetBeans > Issue Type: Bug > Components: platform - Keyring, platform - Other >Affects Versions: 12.0, 11.1, 11.2, 11.3 > Environment: Mac OS X, 10.14.3, x86_64 >Reporter: Clifford Dann >Priority: Major > Labels: security > Attachments: IDE Log.txt, UI Log.txt > > > Every time you click remember password either for a connection or for logging > into svn. > error is NoClassDefFoundError: Could not initialize class > org.netbeans.modules.keyring.mac.SecurityLibrary -- 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-2979) Dose not save the subversion password
[ https://issues.apache.org/jira/browse/NETBEANS-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clifford Dann updated NETBEANS-2979: Affects Version/s: 12.0 > Dose not save the subversion password > - > > Key: NETBEANS-2979 > URL: https://issues.apache.org/jira/browse/NETBEANS-2979 > Project: NetBeans > Issue Type: Bug > Components: platform - Keyring, platform - Other >Affects Versions: 12.0, 11.1, 11.2, 11.3 > Environment: Mac OS X, 10.14.3, x86_64 >Reporter: Clifford Dann >Priority: Major > Labels: security > Attachments: IDE Log.txt, UI Log.txt > > > Every time you click remember password either for a connection or for logging > into svn. > error is NoClassDefFoundError: Could not initialize class > org.netbeans.modules.keyring.mac.SecurityLibrary -- 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-website] branch master updated: Tweak to remove duplicated feature
This is an automated email from the ASF dual-hosted git repository. geertjan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-website.git The following commit(s) were added to refs/heads/master by this push: new 6d28c77 Tweak to remove duplicated feature 6d28c77 is described below commit 6d28c77d00357f7b0bea16bfd7b492b870eac13e Author: Geertjan Wielenga AuthorDate: Wed Jun 10 15:13:30 2020 +0200 Tweak to remove duplicated feature --- netbeans.apache.org/src/content/download/nb120/index.asciidoc | 7 --- 1 file changed, 7 deletions(-) diff --git a/netbeans.apache.org/src/content/download/nb120/index.asciidoc b/netbeans.apache.org/src/content/download/nb120/index.asciidoc index 8820e96..126ea9a 100644 --- a/netbeans.apache.org/src/content/download/nb120/index.asciidoc +++ b/netbeans.apache.org/src/content/download/nb120/index.asciidoc @@ -82,13 +82,6 @@ image::ezgif.com-video-to-gif.gif[role="left", link="ezgif.com-video-to-gif.gif" image::jdk13-textblock.png[role="left", link="jdk13-textblock.png"] -- -- link:https://openjdk.java.net/jeps/305[JEP 305]: Pattern Matching for instanceof (Preview Feature) - -[.feature] --- -image::TextBlockToString.gif[role="left", link="TextBlockToString.gif"] --- - Java 12 - link:https://openjdk.java.net/jeps/325[JEP 325]: Switch Expressions (Preview) – code completion for JEP-325 preview feature for multiple case labels, as shown below. - 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-4422) java.lang.IllegalArgumentException: 2.0.0 is unknown version
jose luis romero created NETBEANS-4422: -- Summary: java.lang.IllegalArgumentException: 2.0.0 is unknown version Key: NETBEANS-4422 URL: https://issues.apache.org/jira/browse/NETBEANS-4422 Project: NetBeans Issue Type: Bug Affects Versions: 12.0 Reporter: jose luis romero On a maven web project: Go to Properties > JavaScript > Oracle JET (just click it, to see, not making any change) and Press Ok It happens always {code:java} java.lang.IllegalArgumentException: 2.0.0 is unknown version at org.netbeans.modules.html.ojet.data.DataProviderImpl.setCurrentVersion(DataProviderImpl.java:165) at org.netbeans.modules.html.ojet.ui.OJETPanel.save(OJETPanel.java:161) at org.netbeans.modules.html.ojet.ui.OJETPanel$1.actionPerformed(OJETPanel.java:66) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.storePerformed(CustomizerDialog.java:332) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.storePerformed(CustomizerDialog.java:335) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.access$400(CustomizerDialog.java:228) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2$1$1.run(CustomizerDialog.java:291) at org.openide.filesystems.FileUtil$2.run(FileUtil.java:413) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:397) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:417) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2$1.run(CustomizerDialog.java:284) at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:229) at org.openide.util.Mutex.writeAccess(Mutex.java:246) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2.run(CustomizerDialog.java:281) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) {code} -- 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-4341) Maven project reload does not work from [unloadable] state
[ https://issues.apache.org/jira/browse/NETBEANS-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130457#comment-17130457 ] Alessandro Falappa commented on NETBEANS-4341: -- Great job [~oyarzun]! I confirm that adding the property you mention in {{netbeans.conf}} solves my use cases (both the reproduction steps and the wizard in my plugin). This can be considered as a workaround. I also thank [~matthiasblaesing] for working on a proper fix on master. > Maven project reload does not work from [unloadable] state > -- > > Key: NETBEANS-4341 > URL: https://issues.apache.org/jira/browse/NETBEANS-4341 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.0 >Reporter: Michal Hlavac >Priority: Major > Time Spent: 1h 50m > Remaining Estimate: 0h > > I did these steps in spring boot maven application: > # Changed version of spring boot in {{}} element from > {{2.2.7.RELEASE}} to {{2.3.0.RELEASE}}. This makes project unloadable. > # Then I did clean & build, all dependencies were downloaded. > # Project is still unloadable and right click -> reload pom.xml do nothing. > # I have to close & run netbeans. Then project is back to normal -- 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-4191) JPA metamodel classes not indexed properly so IDE generates symbol not found message
[ https://issues.apache.org/jira/browse/NETBEANS-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Miklos Krivan updated NETBEANS-4191: Affects Version/s: 12.0 > JPA metamodel classes not indexed properly so IDE generates symbol not found > message > > > Key: NETBEANS-4191 > URL: https://issues.apache.org/jira/browse/NETBEANS-4191 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 12.0, 11.3 > Environment: Windows 10 - 1607 > OpenJDK jdk8u242-b08 > apache-maven 3.6.3 > JavaEE 6 web application project > EclipseLink JPA provider > Eclipselink annotation processor >Reporter: Miklos Krivan >Priority: Major > Attachments: nb-1.PNG, nb-2.PNG > > > first scenario NB is not running everything is executed in a console window > * maven clean install on my javaee web application project is successful > * all of the metamodel classess are compiled into > target/generated-sources/annotations folder > * the project can be deployed in TomEE instance - run without any mistake > second scenario: > * clear all of the NetBeans cache from > %USERPROFILE%/AppData/Local/NetBeans/Cache > * now let's start the netbeans64.exe with my project > * after a while (some minutes) it finishes indexing and red flags appears on > some java source files (where JPA metamodel classess are used) All of the > generated metamodel classes looks missing - see my attached nb-1.PNG file > * now I do clean and build from the NetBeans and the read flags still > appears because of the metamodel classes are not indexed (so not recognized) > * now I have tried to open one of them and make some changes (space entered > and deleted) so triggering the modification of the source Java file and look > in the background the *.rapt and *_.sig suddenly appears in the Cache folder. > * so I am proceed with all of them and finally all of the red flag disappears > * no I make a new clean and build in the IDE and no red flag appears the > project is clean now > If I repeat the scenarios again the same result. > I would like to inform you also that this problem not exists in NB 11.2 there > only frequent freezing error happens during facelet scanning (full freeze of > NetBeans) that is why I wanted to step forward. > So finally I did somthing magic in my pom file: > > {code:java} > // code placeholder > > nb-modelgen-fix > > > > org.apache.maven.plugins > maven-antrun-plugin > 3.0.0 > > > modelgen-touch-files > install > > run > > > > > dir="src/main/java" includes="**/*.java"> > expression="(@Entity|@MappedSuperclass|@Embeddable)" casesensitive="yes" /> > > > > > > > > > > > {code} > You see this is just for NB so I have changed also the NB actions for clean > and build as well activating this profile. > You see I just touch all of the modell classess after finishing the build > (install phase) and this way NB make records in his cache finally based on > the source change trigger. > One more important thing I use the following annotation processor with > maven-compiler plugin: > {code:java} > // code placeholder > > org.apache.maven.plugins > maven-compiler-plugin > > > > > org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor > > > > -Aeclipselink.persistenceunits=REFLEX-PU > > 1.8 > 1.8 > > > {code} > and of course the build-helper plugin: > {code:java} > // code placeholder > > org.codehaus.mojo > build-helper-maven-plugin > 3.1.0 > > > add-source > generate-sources > > add-source > > > > > ${project.build.directory}/generated-sources/annotations > > ${project.build.directory}/generated-sources/wsimport > > > > > > {code} > I have a feeling that the indexing algoritm should have been cahnged. Maybe > triggers to early. The wsimport classes has no such problems. > Even I have tried to change the generated sour
[jira] [Commented] (NETBEANS-4191) JPA metamodel classes not indexed properly so IDE generates symbol not found message
[ https://issues.apache.org/jira/browse/NETBEANS-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130414#comment-17130414 ] Miklos Krivan commented on NETBEANS-4191: - The problem still exists in the 12.0 LTS version as well. My workaround still working in the new version as well. So the indexing procedure still has some deficit need to be emiminated. > JPA metamodel classes not indexed properly so IDE generates symbol not found > message > > > Key: NETBEANS-4191 > URL: https://issues.apache.org/jira/browse/NETBEANS-4191 > Project: NetBeans > Issue Type: Bug > Components: cnd - Editor >Affects Versions: 11.3 > Environment: Windows 10 - 1607 > OpenJDK jdk8u242-b08 > apache-maven 3.6.3 > JavaEE 6 web application project > EclipseLink JPA provider > Eclipselink annotation processor >Reporter: Miklos Krivan >Priority: Major > Attachments: nb-1.PNG, nb-2.PNG > > > first scenario NB is not running everything is executed in a console window > * maven clean install on my javaee web application project is successful > * all of the metamodel classess are compiled into > target/generated-sources/annotations folder > * the project can be deployed in TomEE instance - run without any mistake > second scenario: > * clear all of the NetBeans cache from > %USERPROFILE%/AppData/Local/NetBeans/Cache > * now let's start the netbeans64.exe with my project > * after a while (some minutes) it finishes indexing and red flags appears on > some java source files (where JPA metamodel classess are used) All of the > generated metamodel classes looks missing - see my attached nb-1.PNG file > * now I do clean and build from the NetBeans and the read flags still > appears because of the metamodel classes are not indexed (so not recognized) > * now I have tried to open one of them and make some changes (space entered > and deleted) so triggering the modification of the source Java file and look > in the background the *.rapt and *_.sig suddenly appears in the Cache folder. > * so I am proceed with all of them and finally all of the red flag disappears > * no I make a new clean and build in the IDE and no red flag appears the > project is clean now > If I repeat the scenarios again the same result. > I would like to inform you also that this problem not exists in NB 11.2 there > only frequent freezing error happens during facelet scanning (full freeze of > NetBeans) that is why I wanted to step forward. > So finally I did somthing magic in my pom file: > > {code:java} > // code placeholder > > nb-modelgen-fix > > > > org.apache.maven.plugins > maven-antrun-plugin > 3.0.0 > > > modelgen-touch-files > install > > run > > > > > dir="src/main/java" includes="**/*.java"> > expression="(@Entity|@MappedSuperclass|@Embeddable)" casesensitive="yes" /> > > > > > > > > > > > {code} > You see this is just for NB so I have changed also the NB actions for clean > and build as well activating this profile. > You see I just touch all of the modell classess after finishing the build > (install phase) and this way NB make records in his cache finally based on > the source change trigger. > One more important thing I use the following annotation processor with > maven-compiler plugin: > {code:java} > // code placeholder > > org.apache.maven.plugins > maven-compiler-plugin > > > > > org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor > > > > -Aeclipselink.persistenceunits=REFLEX-PU > > 1.8 > 1.8 > > > {code} > and of course the build-helper plugin: > {code:java} > // code placeholder > > org.codehaus.mojo > build-helper-maven-plugin > 3.1.0 > > > add-source > generate-sources > > add-source > > > > > ${project.build.directory}/generated-sources/annotations > > ${project.build.directory}/generated-sources/wsimport > > >
[jira] [Commented] (NETBEANS-4073) JDK14 features still declared as preview (e.g. switch) - Project contains "file with errors"
[ https://issues.apache.org/jira/browse/NETBEANS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17130364#comment-17130364 ] Klaus Ahrenberg commented on NETBEANS-4073: --- Ok, the following hint at [http://netbeans.apache.org/download/nb120/index.html] was the right one: {quote}In these scenarios, make sure to uninstall the NetBeans "nb-javac" fork, if it is installed, and to not install it when prompted to do so. {quote} After I uninstalled the nb-javac module, Netbeans do not mark files with preview features as "files with error". Thanks for the help. Topic can be closed. > JDK14 features still declared as preview (e.g. switch) - Project contains > "file with errors" > > > Key: NETBEANS-4073 > URL: https://issues.apache.org/jira/browse/NETBEANS-4073 > Project: NetBeans > Issue Type: Bug > Components: ide - Code, platform - JDK Problems >Affects Versions: 11.3 > Environment: Manjaro Linux, JDK14, NB11.3 >Reporter: Klaus Ahrenberg >Priority: Trivial > Labels: 11.3, 12.0, jdk14, preview-features > Attachments: switch_expression.png > > > With configuration NB11.2 and JDK13 I used the flag --enable-preview to use > the new switch command for example. In JDK14 the new switch command is not > longer a preview feature, it's implemented in the JDK now. > However, in NB11.3 and JDK14 I cannot use the --enable-preview flag. > Running/compiling with this flag results in error. If I remove the flag, > application is compiling and running in JDK14. > The Netbeans IDE itself shows in the project still "files with errors" and at > every program run it displays the message "project still has failures. > Continue?". If I look at the marked files with error, it shows me the files > where the new switch command is used. The hint is "Use --enable-preview flag" > which can not be used anymore. > To reproduce: > - Create Java App - Source level and JDK version 14 > - Use new switch statement in code > > {{switch (b) {}} > {{ case 1 -> System.out.println("1");}} > {{ default -> System.out.println("other");}} > {{}}} -- 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] [Closed] (NETBEANS-4073) JDK14 features still declared as preview (e.g. switch) - Project contains "file with errors"
[ https://issues.apache.org/jira/browse/NETBEANS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Klaus Ahrenberg closed NETBEANS-4073. - Fix Version/s: 11.2 Resolution: Resolved > JDK14 features still declared as preview (e.g. switch) - Project contains > "file with errors" > > > Key: NETBEANS-4073 > URL: https://issues.apache.org/jira/browse/NETBEANS-4073 > Project: NetBeans > Issue Type: Bug > Components: ide - Code, platform - JDK Problems >Affects Versions: 11.3 > Environment: Manjaro Linux, JDK14, NB11.3 >Reporter: Klaus Ahrenberg >Priority: Trivial > Labels: 11.3, 12.0, jdk14, preview-features > Fix For: 11.2 > > Attachments: switch_expression.png > > > With configuration NB11.2 and JDK13 I used the flag --enable-preview to use > the new switch command for example. In JDK14 the new switch command is not > longer a preview feature, it's implemented in the JDK now. > However, in NB11.3 and JDK14 I cannot use the --enable-preview flag. > Running/compiling with this flag results in error. If I remove the flag, > application is compiling and running in JDK14. > The Netbeans IDE itself shows in the project still "files with errors" and at > every program run it displays the message "project still has failures. > Continue?". If I look at the marked files with error, it shows me the files > where the new switch command is used. The hint is "Use --enable-preview flag" > which can not be used anymore. > To reproduce: > - Create Java App - Source level and JDK version 14 > - Use new switch statement in code > > {{switch (b) {}} > {{ case 1 -> System.out.println("1");}} > {{ default -> System.out.println("other");}} > {{}}} -- 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