importing classes in custom templates

2021-08-04 Thread Greenberg, Gary
I have modified code templates for my NB12.4 installation and added couple of my custom templates. They are working as expected, however, after inserting the code is marked with error badges, because classes are not imported. I have to do a right-click on the badge and select "import

Need an advice

2021-11-18 Thread Greenberg, Gary
Sorry for out of topic question, but I really don't know where else I can ask it. I did try to search on the internet but did not come up with anything useful. I am specializing on the back-end development but right now I do need a suggestion for the front end. The user interface for the web

Where to put driver JAR

2021-11-01 Thread Greenberg, Gary
Just got a new laptop and installed NB 12.5 on it. Need to connect to mySQL (remote host). I did run mysql-jconnect MSI file which suppose to install the driver on my box. However Netbeans cannot find it. I can extract JAR from MSI, but not sure where shall I drop it in the Netbeans installation.

JFROG XRAY plugin

2021-07-15 Thread Greenberg, Gary
Our cyber security dept. requested developers to install JFrog XRAY plugin for every IDE to identify binary vulnerabilities. I saw such plugins for Eclipse, IntelliJ and VisualStudio but do not see it for Netbeans. Does it exist or is someone working on it? Gary Greenberg Staff Software

Plugin for GitHub Copilot

2023-11-08 Thread Greenberg, Gary
Is there are any work in progress in the direction of creating such plugin for Netbeans? I know that such plugins exist for IntelliJ and Visual Studio. My company wants all developers to use Copilot, but I do not want to give up Netbeans. For quarter of a century I kind of get attached to this

Switching to wrapped output?

2022-05-11 Thread Greenberg, Gary
I am developing a web service and for debugging purposes logging the output of it, which is a lengthy JSON. I am getting ...line is too long, please switch to wrapped mode to see whole line... But how do I do it. I looked through Options and didn't find it. The only wrap lines check box is in

RE: Session question

2022-06-22 Thread Greenberg, Gary
Are you committing your changes? -Original Message- From: Bayless Kirtley Sent: Wednesday, June 22, 2022 5:19 AM To: List, Netbeans Subject: Session question I have an application that could really use a local temporary table but I can't seem to make it work. One class creates and

RE: Session question

2022-06-22 Thread Greenberg, Gary
was not committing. My understanding is that JDBC commits everything by default unless set otherwise. Anyway, I added a commit and still no success. Bayless On 6/22/22 12:12, Greenberg, Gary wrote: > Are you committing your changes? > > -Original Message- > From: Bayless Kirtley >

RE: Generate setters that return this

2022-09-06 Thread Greenberg, Gary
I think you are confusing setters with builders. Setters do not return anything, but builders do return this. Lookup design patterns. -Original Message- From: Mitch Claborn Sent: Tuesday, September 6, 2022 5:49 AM To: users@netbeans.apache.org Subject: Re: Generate setters that return

RE: Generate setters that return this

2022-09-06 Thread Greenberg, Gary
Subject: Re: Generate setters that return this Yes, I suppose Builder is the more correct term. The question is the same: Is there a way in NetBeans to generate those? Mitch On 9/6/22 11:52, Greenberg, Gary wrote: > I think you are confusing setters with builders. > Setters do not return an

Vaadin plugin

2022-08-31 Thread Greenberg, Gary
I wanted to make some changes to my old project that was created few years ago on NB 8.2 with Vaadin plugin. Now I am using NB 14.0 and 8.2 was uninstalled a while ago. However, I can't find Vaadin in the list of available plugins. I ran a search on https://plugins.netbeans.apache.org but found

Python development

2023-01-05 Thread Greenberg, Gary
After 20+ years working in Java, I got a project to be done in Python. Is there are any support for Python in Netbeans? I would hate to dump my favorite IDE. Gary Greenberg Staff Software Engineer

Scala classes

2023-01-05 Thread Greenberg, Gary
Any plugins to compile Scala files? Gary Greenberg Staff Software Engineer

What happened with Netbeans bug reporting?

2022-12-05 Thread Greenberg, Gary
It used to be a feature that allows to submit exceptions along with some other info to Netbeans development team with a click of a button. Now you can only open notification and view the exception stack trace and that's it. Exceptions do occur regularly and I mostly ignore them. I did raise this

Python development with NB

2023-01-30 Thread Greenberg, Gary
I already asked this question some time ago, but didn't get any clear answers. Does Netbeans have any plugins for Python development. I know that it still supports PHP, which hasn't been in active use for a number of years. On the other hand Python usage is on the rise, but I do not see any

Presentation of non-english characters in the debugger

2022-10-31 Thread Greenberg, Gary
I have created an application that reads data from the CSV file, process it and write it into another file. It is working fine except one thing. German characters are being replaced. For example instead of leiüzig I see lei�zig Same replacement I see in debugger when I stop it after reading a

RE: Presentation of non-english characters in the debugger

2022-10-31 Thread Greenberg, Gary
setting. When you write a file in utf-8 an then display it in the command window you will see differencies as you described. Mit freundlichen Grüßen Helmut Leininger Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. Am 31. Oktober 2022 21:27:24 MEZ schrieb "Greenberg,

Debugging web application on Tomcat

2023-03-13 Thread Greenberg, Gary
Last year I have developed a Spring-Boot web application. It was originally developed as a JAR but later converted to a WAR and deployed to the Tomcat 9 on a production server. Last week, a bug was found and I need to fix it. Not to change the configuration, I have installed Tomcat 9 on my

Moving licenses

2023-07-03 Thread Greenberg, Gary
I just recently installed Netbeans 18 on my Windows laptop. I do have prior version NB16 which I used for over a year. In that installation I have created a proprietary license for my code and stored it as VisaProprietary. Now, as I installed newer version it does not have my proprietary license.

RE: NB18 garbles Javadoc

2023-07-31 Thread Greenberg, Gary
Forgot to mentioned, garbling occurs always only if you have dashes (-) in the Javadoc text. Otherwise it works normal. From: Greenberg, Gary Sent: Monday, July 31, 2023 3:48 PM To: users@netbeans.apache.org Subject: NB18 garbles Javadoc I had to make some changes to the code that already has

NB18 garbles Javadoc

2023-07-31 Thread Greenberg, Gary
I had to make some changes to the code that already has extensive Javadoc in it. Those changes include adding parameters to several functions. After I add these parameters, a yellow warning badge appears near the function, which says "Missing @param tag for ...". If I select to add it, the tag is

Duplicates unit test methods generated and other issues

2023-07-25 Thread Greenberg, Gary
I recently installed NB 18 on my Windows laptop, switching from NB 14. Noticed some strange behavior. 1. Sometimes within Netbeans window appears a smaller duplicate and all editing of the code can be perform only inside this smaller frame. Some menu items (on the right side) becomes

RE: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-09 Thread Greenberg, Gary
1. This is not a netbeans question you are asking. 2. There is not enough info, but IMHO you did not include MySQL jar file in you dependencies in your project. From: Zulfi Khan Sent: Tuesday, August 8, 2023 9:23 PM To: NetBeans Mailing List Subject: mysql connectivity problem with

RE: Migrating NB platform app to maven

2023-05-15 Thread Greenberg, Gary
@netbeans.apache.org; Greenberg, Gary Subject: Re: Migrating NB platform app to maven The pom files... ./pom.xml http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4

RE: Migrating NB platform app to maven

2023-05-15 Thread Greenberg, Gary
You should provide your POM file here. Than we'll be able to help you. From: Jerome Lelasseux Sent: Monday, May 15, 2023 1:26 PM To: NetBeans Mailing List Subject: Migrating NB platform app to maven I try to migrate my Ant-based NB platform app (~70 modules) to Maven, but I'm new to Maven, so

GenAI for Netbeans

2023-12-20 Thread Greenberg, Gary
Are there any attempts to add GenAi, Github Copilot or ChatGPT to Netbeans? Our company is pushing developers to switch to IntelliJ with Github Copilot, but I do not want to leave Netbeans that I am using for almost quarter of a century. Gary Greenberg Staff Software Engineer

RE: GenAI for Netbeans

2023-12-20 Thread Greenberg, Gary
Subject: Re: GenAI for Netbeans The idea is intriguing me. Maybe would attempt to implement such a plugin. Would you join the dance? --Daoud On Wed, Dec 20, 2023, 9:01 PM Greenberg, Gary mailto:ggree...@visa.com.invalid>> wrote: Are there any attempts to add GenAi, Github Copilot or C

Adjusting to monitor resolution

2023-12-06 Thread Greenberg, Gary
I am working with NB 18 on DELL laptop in two locations (1/2 day in each), where I am connecting laptop to external monitors. My problem is that monitors have different resolutions. * 3840X2160 * 1920X1200 When connected to a higher resolution monitor, fonts becoming small and

Where do I specify maven debug keys

2024-01-31 Thread Greenberg, Gary
I am developing new SpringBoot application and trying to run for the first time within NB 18 and it fails without giving me any clue where the error occurred. I am getting following output: . ___ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_

Netbeans cannot access www.springframework.org

2024-02-01 Thread Greenberg, Gary
Trying to validate XML file for the Spring framework application context and getting tons of errors as Netbeans cannot access XML schema. Retriever output shows: Jan 23, 2024, 10:11:33 AM : Retrieving Location: http://www.springframework.org/schema/beans/spring-beans.xsd Error: Unknown Host:

Changes of NB behavior with XML files

2024-01-30 Thread Greenberg, Gary
I recently have to make some changes to the application that I have developed about year and a half ago with NB 12.5 Now I am working with NB 18. Changes that I need to make involve Spring applicationContext.xml file. I need to add entries to table. I do have in this file beans definition

Where do I place Maven keys -e and -X when running application in Netbeans

2024-02-05 Thread Greenberg, Gary
I have my Spring boot application failing at start without giving me a clue where it fails: 2024-02-05 17:04:27.209 [ETL] [main] [INFO ] com.visa.vms.etl.daemon.EtlDaemon : %PARSER_ERROR[enc] 2024-02-05 17:04:27.212 [ETL] [main] [INFO ] com.visa.vms.etl.daemon.EtlDaemon : %PARSER_ERROR[enc]

Creating entity classes from the database does not work

2024-01-19 Thread Greenberg, Gary
I am still using NB 18, because installing new versions require a lot of paperwork here at Visa. Nevertheless, I am now facing a problem that I haven't had with version 8.2 or 12.5. Trying to create some entity classes from the database. I did establish connection with MySQL server In the

RE: Creating entity classes from the database does not work

2024-01-22 Thread Greenberg, Gary
I haven’t specified any specific JPA version. Using default specified by NB. From: Stephen G. Parry Sent: Saturday, January 20, 2024 10:28 AM To: Greenberg, Gary ; users@netbeans.apache.org Subject: Re: Creating entity classes from the database does not work We have experienced this problem

RE: Netbeans cannot access www.springframework.org

2024-02-01 Thread Greenberg, Gary
g<http://www.springframework.org/>) for XSD files https://docs.spring.io/spring-framework/reference/data-access/appendix.html#xsd-schemas-tx What would you suggest? Regards, Gary Greenberg Staff Software Engineer From: Bill Brooks Sent: Thursday, February 1, 2024 1:30 PM To: Greenberg, Gar

Using Mockito with Netbeans

2024-02-28 Thread Greenberg, Gary
I am quite used to generate unit tests for my code using Netbeans Tools->Create/Update Tests. JUnit is great. However, now I need to create tests for some DAO classes where I will need to mock database access. I plan to use Mockito for that. Does Netbeans have any features automating Mockito

Re: Using Mockito with Netbeans

2024-02-29 Thread Greenberg, Gary
Greenberg, Gary : I am quite used to generate unit tests for my code using Netbeans Tools->Create/Update Tests. JUnit is great. However, now I need to create tests for some DAO classes where I will need to mock database access. I plan to use Mockito for that. Does Netbeans have any featu

Re: Using Mockito with Netbeans

2024-02-29 Thread Greenberg, Gary
to refresh my knowledge. I do hope that NB have some mocking features that will help me. From: Leo Donahue Sent: Thursday, February 29, 2024 1:29 PM Cc: NetBeans Mailing List Subject: Re: Using Mockito with Netbeans On Thu, Feb 29, 2024, 13:33 Greenberg,Gary

<    1   2