Re: Template tutorial

2023-02-23 Thread Rick Tee
Sean Carrick Thank you for your time and effort, problem resolved. :) Unfortunately the results were erm unanticipated not even sure if it's useful, but at least it ran. On 23/02/2023 22:04, Sean Carrick wrote: Rick, Just as a quick follow-up, I updated the tutorial file on GitHub to

Re: Template tutorial

2023-02-23 Thread Sean Carrick
Rick, Just as a quick follow-up, I updated the tutorial file on GitHub to reflect that it was pointing to the wrong modules. Once the team has a chance to review and merge my PR, the tutorial will be updated. On 2/23/23 3:38 PM, Sean Carrick wrote: Rick, I just confirmed that it *is* an

Re: Template tutorial

2023-02-23 Thread Sean Carrick
Rick, I just confirmed that it *is* an error in the tutorial. Apparently, that tutorial was written way back with NetBeans 7.4: TemplateRegistration in NB7.4 This screenshot is from my NB 7.4 installation, and as you can see, the /TemplateRegistration/ class used to be in the DataSystems

Re: Database response with timestamp shows the String object not value

2023-02-23 Thread Sean Carrick
Christopher, What is the code you are using to display the values? From the screenshot you provided, it looks like you just passed an object and its /toString()/ method is being used to display it. -SC On 2/23/23 9:28 AM, Christopher M. Logan wrote: Here is a screenshot showing the issue.

Re: Template tutorial

2023-02-23 Thread Sean Carrick
Rick, I'm going to go with an error in the tutorial. I only say this because all of the tutorials currently need to be reviewed for accuracy and, in my installation of NetBeans 16, when I enter "TemplateRegistration" into the search field of the *Add Module Dependency* dialog, this is what

RE: Re: How to change text colour in the console

2023-02-23 Thread Peter Ream
"Using Maven, it works if passing -DinheritIo=true." Out of curiosity, can you set this within NB? On 2023/02/23 14:17:52 Neil C Smith wrote: On Thu, 23 Feb 2023 at 13:47, Neil C Smith wrote: > > On Thu, 23 Feb 2023 at 12:57, Bob T wrote: > > > > Thank you Neil. It works if I run via the

Running different servlet apps with NetBeans 16

2023-02-23 Thread Thad Humphries
I am trying to run and debug my webapps with NetBeans 16 and Tomcat 9.0.65 (I am running OpenJDK 11 but targeting JDK 8 on macOS 10.15). Things are working, but I think there should be a better way. I have a directory ./nbdev with three subdirectories: appA, appB, and apache-tomcat-9.0.65. Tomcat

Re: Profiler does not work for me

2023-02-23 Thread Thomas Wolf
Thanks - I added my vote and confirmation comment to that bug report. Best, Tom > On Feb 23, 2023, at 2:04 PM, Scott Palmer wrote: > > Perhaps the same or related to this: > https://github.com/apache/netbeans/issues/4524 > > Scott > > On Thu, Feb 23, 2023 at 1:57 PM Thomas Wolf

Re: Profiler does not work for me

2023-02-23 Thread Scott Palmer
Perhaps the same or related to this: https://github.com/apache/netbeans/issues/4524 Scott On Thu, Feb 23, 2023 at 1:57 PM Thomas Wolf wrote: > I haven’t used the NB profiler for a year or so, but last time I did > (running on an x86 mac in NB 12), it ran fine. > > Today I tried to profile my

Profiler does not work for me

2023-02-23 Thread Thomas Wolf
I haven’t used the NB profiler for a year or so, but last time I did (running on an x86 mac in NB 12), it ran fine. Today I tried to profile my standalone JSE application in NB 16 with JDK 17.05 on my ARM-based Mac for the first time and the profiler just sits in a calibration dialog (see 1st

Re: Database response with timestamp shows the String object not value

2023-02-23 Thread Christopher M. Logan
Here is a screenshot showing the issue. Thank you -Christopher --- On 2023-02-23 07:45, Christopher M. Logan wrote: I'm using NetBeans v14 to connect to Oracle database using JDBC driver ojdbc10.jar - connecting to Oracle 19c database. But when resultsets contain a timestamp I see

Re: How to change text colour in the console

2023-02-23 Thread Neil C Smith
On Thu, 23 Feb 2023 at 13:47, Neil C Smith wrote: > > On Thu, 23 Feb 2023 at 12:57, Bob T wrote: > > > > Thank you Neil. It works if I run via the Netbeans terminal as you suggest. > > I've created a feature request for consideration by the team: > >

Re: How to change text colour in the console

2023-02-23 Thread Neil C Smith
On Thu, 23 Feb 2023 at 12:57, Bob T wrote: > > Thank you Neil. It works if I run via the Netbeans terminal as you suggest. > I've created a feature request for consideration by the team: > https://github.com/apache/netbeans/issues/5552 Great! I've added the contribution welcome label for now.

Re: How to change text colour in the console

2023-02-23 Thread Bob T
Thank you Neil. It works if I run via the Netbeans terminal as you suggest. I've created a feature request for consideration by the team: https://github.com/apache/netbeans/issues/5552 Best regards, Bob On Thu, Feb 23, 2023 at 11:19 AM Neil C Smith wrote: > On Thu, 23 Feb 2023 at 11:11, Bob T

Database response with timestamp shows the String object not value

2023-02-23 Thread Christopher M. Logan
I'm using NetBeans v14 to connect to Oracle database using JDBC driver ojdbc10.jar - connecting to Oracle 19c database. But when resultsets contain a timestamp I see oracle.sql.TIMESTAMPTZ in the grid of results instead of the value. Is there a JDBC parameter or NetBeans setting to not just

Re: How to change text colour in the console

2023-02-23 Thread Neil C Smith
On Thu, 23 Feb 2023 at 11:11, Bob T wrote: > I'm trying to change the text colour when printing to the Netbeans console > but I can't get it to work. The colour is changed when running on the command > line though. I have a very simple Gradle app: That's not supported AFAIK. It should work if

How to change text colour in the console

2023-02-23 Thread Bob T
Hello, I'm trying to change the text colour when printing to the Netbeans console but I can't get it to work. The colour is changed when running on the command line though. I have a very simple Gradle app: public static void main(String[] args) { String ANSI_RESET = "\u001B[0m"; String

Re: Template tutorial

2023-02-23 Thread Rick Tee
Redhat 7.9 Netbeans 16 JDK 1.8 From the Netbeans templates tutorial: "Right-click the module in the Projects window, choose Properties, and use the Libraries tab to add dependencies on Datasystems API and Utilities API." I followed the tutorial twice from scratch the result is the same.