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

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

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

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]

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

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:

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: . ___ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_

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

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

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: 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

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

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

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

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: 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

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: 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

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

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

Scala classes

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

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

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

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,

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: 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

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

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

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: 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

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

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.

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

RE: GIT branch naming

2021-08-04 Thread Greenberg, Gary
Nope, no extra spaces. Checked it many times. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Emilian Bold Sent: Wednesday, August 4, 2021 1:54 AM To: Greenberg, Gary Cc: NetBeans Mailing List

GIT branch naming

2021-08-03 Thread Greenberg, Gary
Our company policy require branches in the repository to contain department ID and JIRA ticket number. I.e. bugfix/DEPTID-JIRATICKET or feature/ DEPTID-JIRATICKET. Our stash repo configured that way and won't accept any check-ins that are not compliant with the rule. While I do not have any

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

JGIT failure

2021-07-08 Thread Greenberg, Gary
I need to add new feature to my project from last year. Using NB 12.4 I did create a new branch in my local repo, made modification to couple classes, but when I tried to build the project I got following exception in the build log: evalCommit is [b0294507104d99294a3956fecfa6a8ec93c70184] Tag

NetBeans and headless app.

2021-06-16 Thread Greenberg, Gary
I am developing a project that can run either locally with GUI or remotely using ssh or PUTTY. In the main() method I have these lines of code: if (GraphicsEnvironment.isHeadless()) { // run in command line mode } else { // Initiate Swing JForm } When I am

reporting Netbeans problems

2021-01-29 Thread Greenberg, Gary
Practically every day I am getting exceptions in my Netbeans 12 installation. However, I was never been able to report them to Netbeans. Whenever I do try I am getting the following: [cid:image002.png@01D6F632.BDEA87B0] Testing proxy connection gives me a green light and I do not have problems

RE: One of the unit tests not executed. Why?

2020-12-21 Thread Greenberg, Gary
Test Method". What happens when you run this test through the debugger step-by-step? Best regards Andreas On Mon, 2020-12-21 at 03:03 +, Greenberg, Gary wrote: I did try latest surefire plugin (3.0.0-M5) and latest junit (4.13.1) and latest org.junit.jupiter (5.7.0) with the same re

RE: One of the unit tests not executed. Why?

2020-12-20 Thread Greenberg, Gary
. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Jose Ch Sent: Sunday, December 20, 2020 5:22 PM To: Greenberg, Gary Cc: NetBeans Mailing List Subject: Re: One of the unit tests not executed. Why? Can you

RE: One of the unit tests not executed. Why?

2020-12-19 Thread Greenberg, Gary
ndr...@manticore-projects.com>> wrote: Gary, unfortunately nobody will be able to answer that without having a look at the particular Test file. Also, I am not sure if that is a Netbeans problem. Are you able to run the tests with Maven from the shell? Best regards Andreas On Sat, 2020-12-19 at

One of the unit tests not executed. Why?

2020-12-18 Thread Greenberg, Gary
I am working on a pretty large project. For many of Java classes I have created Junit tests and everything was working fine until today. Today, I finished another class and using Tools->Create/Update Tests generated test class for it. The class has only two public methods but one is not finished

RE: How to disable this annoying thing

2020-11-29 Thread Greenberg, Gary
Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Sunday, November 29, 2020 12:54 AM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: How to disable this annoying thing Take a look in the Mave

How to disable this annoying thing

2020-11-28 Thread Greenberg, Gary
I am working with NB 12.0 in Win10 Pro. Practically right after opening active projects, Netbeans started a task "Downloading Sources" [cid:image002.png@01D6C5CF.4FBB37A0] This task always sits at 1% completion and never finishes. If I can kill this task (which happens only in ¼ of attempts) it

Type recognition in NB 12

2020-11-18 Thread Greenberg, Gary
If I remember it correctly it did work in NB 8.2 and it is not working now. For example: I am defining Map myMap = new HashMap<>(); Later in the code I am doing myMap.get("xyz"); and on the left border clicking on the light bulb and selecting "Assign return value to a new variable". New variable

Showing binary fields in DB explorer

2020-10-20 Thread Greenberg, Gary
I am doing a project that involves working with the database (MySQL). It is not the first such project and I always used built into Netbeans database explorer. However this time I need to query the table that has a 32 bytes binary field. It is not showing the value of the field:

Some strange editor behavior in NB 12.0

2020-10-09 Thread Greenberg, Gary
Just started a new Java project. While writing the code encountered following : I wrote this line: NewClassName myNewClass = new NewClassName(config); Where config is an instance of javax.security.auth.login.Configuration Editor marked the line as an error and offered to create

Recognizing environment variable while running java app in NB 12.0

2020-10-07 Thread Greenberg, Gary
I have created a Java application for some data conversion. It accepts 2 parameters in the command line: input and output file. Besides that, some program options are defined by the properties file. I have several of these properties files for different environments, where name of the environment

How to configure Background scanning

2020-09-13 Thread Greenberg, Gary
Due to so called "security upgrades" pushed to my laptop by the company, it is working very slow. I would compare it with 386 machines from early 90th. In such environment when Netbeans starting "Background scanning of projects" or "checking for external updates" it practically freezes up for

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
.3 (i.e. Netbeans 12.0)? On Monday, August 31, 2020, 7:27:51 AM GMT+4:30, Ernie Rael <mailto:err...@raelity.com> wrote: On 8/30/2020 6:59 PM, Greenberg, Gary wrote: > > I have deleted .m2 and also installed new version of Maven (3.5.4 -> > 3.6.3) > Did you inform NetBeans a

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
ent, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Sunday, August 30, 2020 2:50 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 You must have an .m2 folder somewhere, delete it. NetBe

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
, August 30, 2020 2:14 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 Well, sounds like something is wrong with your Maven installation. I recommend you uninstall, remove the .m2 folder, and set up Maven again completely from scratch. Gj

RE: Try out and vote for Apache NetBeans 12.1

2020-08-30 Thread Greenberg, Gary
I found out what was wrong with it. Apparently security update removed almost half of jars in JDK1.8 (my project is using this platform). Why did it do so, I do not know. Anyway, I reinstalled Java 8 JDK (and upgraded from build 251 to 265 along the way). Hanging and problems with opening files

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
. -ernie On 8/28/2020 7:40 PM, Greenberg, Gary wrote: > I haven't try jstack yet. > I do not think JDK 1.8 is corrupted. Last week it was working fine. > Couple days ago I started new project. Created 4 java files without > problems, but today on the 5-th one I got these un-ending proble

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Ernie Rael Sent: Friday, August 28, 2020 6:39 PM To: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 On 8/28/2020 5:57 PM, Greenberg, Gary wrote: > I did try it before it hangs and st

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
ing to see what stuff is being generated. It's basically a the samestuff as messages.log but realtime without the output buffering. -ernie On 8/28/2020 4:51 PM, Greenberg, Gary wrote: > > I was very wrong when I thought that I am back to normal. > > It is not throwing me exceptions w

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
won’t produce thread dump Anyone, please, help. Thanks Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Greenberg, Gary Sent: Friday, August 28, 2020 1:41 PM Cc: users@netbeans.apache.org Subject: RE: Try out

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
-TaglineVersion] From: Geertjan Wielenga Sent: Friday, August 28, 2020 1:34 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: Try out and vote for Apache NetBeans 12.1 You've never been able to open a file in NetBeans before? Gj On Fri, Aug 28, 2020 at 10:31 PM Greenberg, Gary mailto:ggree

RE: Try out and vote for Apache NetBeans 12.1

2020-08-28 Thread Greenberg, Gary
ailing list, where it belongs. Let’s figure out how to open a file, first. :-) Gj On Fri, 28 Aug 2020 at 20:41, Greenberg, Gary mailto:ggree...@visa.com>> wrote: Unfortunately, I cannot do that. Software on my machine won’t allow me to create this repository. [cid:image002.

Reporting problems with NB12

2020-08-28 Thread Greenberg, Gary
I am periodically getting notifications about exceptions in the IDE. However, there is no more button to report the problem, that existed in v.8.2: [cid:image002.png@01D67D32.FE0D7560] Am I missing something? Gary Greenberg Staff Software Engineer Data Product Development, BI-A E:

RE: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Greenberg, Gary
nswer" -- when no one answers it means no one knows or can reproduce. Gj On Thu, Aug 27, 2020 at 7:33 PM Greenberg, Gary mailto:ggree...@visa.com>> wrote: Here is a way to reproduce the issue: I have a Maven project that compiles without problems. All dependencies are already in my loca

RE: Try out and vote for Apache NetBeans 12.1

2020-08-27 Thread Greenberg, Gary
Looks like Maven dependencies search still won’t work in NB 12.1. When it is planned to restore it? What are plans for recertifying plugins that used to work in version 8.2? Thanks, Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902

JMeter plugin

2020-08-25 Thread Greenberg, Gary
Cannot find JMeter plugin for NB 12 in the update center. Was it discontinued? If not, can somebody point me to where I can find it. Thanks, Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion]

RE: NB12 - debugger is not going into the method

2020-07-06 Thread Greenberg, Gary
as it needs to be. On Mon, Jul 6, 2020 at 8:01 AM Greenberg, Gary mailto:ggree...@visa.com.invalid>> wrote: I do not have a small example and I cannot send out any significant piece of code. However, I believe that I have explained steps to reproduce very clearly. I do not mind to

RE: NB12 - debugger is not going into the method

2020-07-06 Thread Greenberg, Gary
: John Mc Sent: Sunday, July 5, 2020 5:22 AM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: NB12 - debugger is not going into the method Do you have a small example of this behaviour? I've not come across it myself, so without steps to reproduce, or a clear and simple example

NB12 - debugger is not going into the method

2020-07-04 Thread Greenberg, Gary
I am trying to debug a maven project. One of my methods returns unexpected result. I placed a breakpoint on the line where method is called and when it stopped there, I clicked on the down arrow, planning to step into the method and see what is going on. However, it did not go into the method,

RE: Maven dependencies automatically added

2020-07-01 Thread Greenberg, Gary
Strange, I am working with Maven projects all the time and it never adds anything like that. Actually, starting from 11.1 it never add anything I want it to add either. I.e. back with NB 8.2, if I specify non-JDK class it asked me if I want to search for the dependencies and find them and

Checking for external changes - suspended

2020-06-02 Thread Greenberg, Gary
I am getting this task initiated every few minutes and it almost immediately goes into suspended state. If I am not cancelling it, it will sit for hours and Netbeans become quite sluggish. Can someone tell me what external changes it is looking for and why it becomes suspended. Can I turn this

RE: Strange JUnit behavior

2020-05-18 Thread Greenberg, Gary
: Monday, May 18, 2020 4:02 PM To: users@netbeans.apache.org; Greenberg, Gary Subject: Re: Strange JUnit behavior I had a similar problem and this was the fix. Perhaps, it may work for you as well: Comment out the following import statments: import static

RE: Strange JUnit behavior

2020-05-18 Thread Greenberg, Gary
Sure, Here is the whole test file attached. Gary GreenbergError Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: HRH Sent: Monday, May 18, 2020 3:30 PM To: users@netbeans.apache.org; Greenberg, Gary Subject: Re

RE: Strange JUnit behavior

2020-05-18 Thread Greenberg, Gary
Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: HRH Sent: Monday, May 18, 2020 3:30 PM To: users@netbeans.apache.org; Greenberg, Gary Subject: Re: Strange JUnit behavior Can you post the import

Strange JUnit behavior

2020-05-18 Thread Greenberg, Gary
I have created a Junit test for one of my classes using Netbeans Tools->Create/Update Tests menu. My class has just a single public method, therefore, test class contains only one @Test method. I did edited it to reflect my functionality, but when I run this test file I am getting

RE: Error badge on the correct code

2020-05-08 Thread Greenberg, Gary
cache makes no difference, I normally delete the .netbeans directory. This fixes it every time. Can be quite annoying when it happens. On Thu, 7 May 2020, 21:30 Greenberg, Gary, <mailto:ggree...@visa.com.invalid> wrote: I have in one of my projects JSON file. At some point in time, w

RE: Error badge on the correct code

2020-05-07 Thread Greenberg, Gary
About. This won't loose your settings/windows/openFiles/... An aficiaonado could tell you which subdirectory of cachedir to remove. -ernie On 5/7/2020 1:29 PM, Greenberg, Gary wrote: > > I have in one of my projects JSON file. > At some point in time, while I was still editing it, it ha

Error badge on the correct code

2020-05-07 Thread Greenberg, Gary
I have in one of my projects JSON file. At some point in time, while I was still editing it, it had errors. However, these errors were fixed long time ago, but in project file marked with the red error badge. Netbeans was restarted several times and my laptop was rebooted recently. The badge is

RE: Search for dependencies is not working

2020-04-13 Thread Greenberg, Gary
: 650-269-7902 [EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Sunday, April 12, 2020 11:23 PM To: Greenberg, Gary Cc: NetBeans Mailing List Subject: Re: Search for dependencies is not working “I am still working with NB 11.1 as I have to use Java 8.” What does that sentence mean? Gj

Search for dependencies is not working

2020-04-12 Thread Greenberg, Gary
I am still working with NB 11.1 as I have to use Java 8. However, I found that now, when I am starting new project, I have to add all my Maven dependencies manually. In Netbeans 8.2 they were automatically added when it searches .m2 repository. Now, when I add annotation or variable of class that

NB 11.2 hangs on project background scan

2020-01-30 Thread Greenberg, Gary
I am trying to run NB 11.2 on Oracle JDK 13.0.2 on Dell Win10. It hangs 90% of the time just when I start it, during the project background scan. Progress bar shows sometime 2% and sometime goes up to 94%, but hangs anyway. I tried to get the thread dump, but Ctrl/Break on the console does not

RE: Reinstalling NB 11.2

2020-01-23 Thread Greenberg, Gary
That was working. Thanks Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: zahid Sent: Thursday, January 23, 2020 2:51 PM To: Geertjan Wielenga ; Greenberg, Gary Cc: NetBeans Mailing List Subject: Re

RE: Reinstalling NB 11.2

2020-01-23 Thread Greenberg, Gary
, Gary Cc: Greenberg, Gary ; Laszlo Kishalmi ; NetBeans Mailing List Subject: Re: Reinstalling NB 11.2 Add it at the start, not the end. Gj On Thu, Jan 23, 2020 at 11:10 PM Greenberg, Gary mailto:ggree...@visa.com>> wrote: Added –fontsize=16 to the etc/netbeans.conf. It is now look

RE: Reinstalling NB 11.2

2020-01-23 Thread Greenberg, Gary
silently. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Thursday, January 23, 2020 1:39 PM To: Greenberg, Gary Cc: Laszlo Kishalmi ; NetBeans Mailing List Subject: Re: Reinstalli

RE: Why tests aren't executing?

2019-11-04 Thread Greenberg, Gary
I already fixed the problem. It was incorrect surefire configuration. Regards, Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Arnaud bourree Sent: Sunday, November 3, 2019 5:03 AM To: Greenberg, Gary

Why tests aren't executing?

2019-10-31 Thread Greenberg, Gary
Still having problems with the project that I have inherited from the contractor. I want to execute unit test, but when I select 'Test' from the project context menu I am getting: --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ mnsbatch --- Not copying test resources

RE: Can't build newly cloned project.

2019-10-30 Thread Greenberg, Gary
Thank you, thank you, thank you. It works. Now I am back in business. Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 -Original Message- From: Neil C Smith Sent: Wednesday, October 30, 2019 10:35 AM To: Greenberg, Gary Cc

RE: Can't build newly cloned project.

2019-10-30 Thread Greenberg, Gary
Unfortunately, per company policy we all have to work on Java 8 and versions of Java are downloaded automatically. Thus, JDK 8u231 was installed on my machine about a week ago. Before I was using JDK 8u221 and did not have this problem. Shall I downgrade? BTW, I did go to the Oracle site and

RE: Can't build newly cloned project.

2019-10-29 Thread Greenberg, Gary
zlo Kishalmi Sent: Tuesday, October 29, 2019 5:36 PM To: users@netbeans.apache.org Subject: Re: Can't build newly cloned project. That's great, but does NetBeans also runs Java 8? You can check it in the Help > About dialog On 10/29/19 4:35 PM, Greenberg, Gary wrote: No, I am still running it on

RE: Can't build newly cloned project.

2019-10-29 Thread Greenberg, Gary
that problem or Check out these issues: https://issues.apache.org/jira/browse/NETBEANS-3251 and https://issues.apache.org/jira/browse/NETBEANS-3253 The workaround is documented there.. On 10/29/19 4:25 PM, Greenberg, Gary wrote: Just cloned a new project from stash repository and trying to build it. Gett

Can't build newly cloned project.

2019-10-29 Thread Greenberg, Gary
Just cloned a new project from stash repository and trying to build it. Getting following error message: cd P:\dpd_bia_vmssbatch\VMSS-Batch; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_231" cmd /c "\"\"C:\\Program Files\\Netbeans\\11.1\\java\\maven\\bin\\mvn.cmd\"

Refactoring - field encapsulation.

2019-08-13 Thread Greenberg, Gary
I am using this feature of Netbeans very often. In prior versions fields that already have getters and/or setters were marked with gray dots on the popup screen. I do not see them in version 11.1 Was it removed intentionally or I need to tweak some settings to see it? Gary Greenberg Staff

RE: Error badge on successfully build project

2019-08-10 Thread Greenberg, Gary
...@gmail.com>> wrote: What does it say when you hover over it? Regards John On Fri 9 Aug 2019, 19:18 Greenberg, Gary, mailto:ggree...@visa.com>> wrote: I have a project, where one Java class has import statement marked with the error badge. At the same time project compiles succes

RE: Error badge on successfully build project

2019-08-09 Thread Greenberg, Gary
It is saying: package com.visa.dpd.api.platform.commons.handlers does not exist Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: John Mc Sent: Friday, August 9, 2019 11:29 AM To: Greenberg, Gary Cc

RE: Can Netbeans 11.0 be updated to 11.1 from the Check for Updates option?

2019-07-22 Thread Greenberg, Gary
You do, or you don’t need to install from scratch? Gary Greenberg Staff Software Engineer Data Product Development, BI-A E: ggree...@visa.com M: 650-269-7902 [EmailSig-TaglineVersion] From: Geertjan Wielenga Sent: Monday, July 22, 2019 4:30 AM To: varuna.senevira...@gmail.com Cc:

RE: Reserved keywords for SQL files

2019-06-26 Thread Greenberg, Gary
To: Greenberg, Gary Cc: NetBeans Mailing List Subject: Re: Reserved keywords for SQL files netbeans/ide/dbapi/src/org/netbeans/modules/db/api/sql/SQLKeywords.java I think.. On Wed, 26 Jun 2019, 23:11 Greenberg, Gary, mailto:ggree...@visa.com>> wrote: I am working with SQL scripts in the NB 11

Reserved keywords for SQL files

2019-06-26 Thread Greenberg, Gary
I am working with SQL scripts in the NB 11 right now and noticed that good portion of keywords in it are marked in blue colors, while tables and column names, as well as values displayed in green. That is very convenient and allows to catch some misspelling right away. However some of the

RE: NB11 hangs (as well as NB10) on downloading HTTP Javadoc

2019-06-14 Thread Greenberg, Gary
-TaglineVersion] From: Geertjan Wielenga Sent: Friday, June 14, 2019 3:47 PM To: Greenberg, Gary Cc: users@netbeans.apache.org Subject: Re: NB11 hangs (as well as NB10) on downloading HTTP Javadoc artifactory.trusted.visa.com<http://artifactory.trusted.visa.com> That appears near the start o

  1   2   >