Re: Session question

2022-06-23 Thread Bayless Kirtley
My apologies. I did post the question to the HSQL user list. I am also a 
Netbeans user (exclusively) and may have posted it here accidently.


Bayless


On 6/22/22 20:50, Guy Daniel wrote:

Hi Bayless,

HSQL is probably just storing everything in RAM, so unless you hand 
the same connection to the second class you may not see the data.


Just to test, try using a connection to a MariaDB instance or some SQL 
that stores onto the disk by default?


You could post code, but I think the answer to your question would be 
in the HSQL documentation - maybe ask at a forum where people are used 
to using HSQL?


You will find that this forum contains a large variety of devs with 
extensive experience in many areas, but it's main focus is on the 
inner workings and use of netbeans.


Thanks!

Guy


On 6/22/22 22:19, Bayless Kirtley wrote:
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 populates the 
table then passes the Connection to  another class that wants to use 
it. The second class sees the table but finds it empty. What am I 
doing wrong? I am using hsqldb 2.5.0 in an app that requires Java 8. 
My development system is Linux Mint 20.


Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Session question

2022-06-22 Thread Bayless Kirtley
It is a fairly complex application but I will try to produce a smaller 
example to show some code. Of course, my luck is that the smaller set 
will probably work as expected. More tomorrow. Thanks for the suggestion.


Bayless


On 6/22/22 08:10, Amn wrote:


A little bit of code and a larger description of your solution would 
go a long way. Please try again 


On 2022-06-22 8:19 a.m., Bayless Kirtley wrote:
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 populates the 
table then passes the Connection to  another class that wants to use 
it. The second class sees the table but finds it empty. What am I 
doing wrong? I am using hsqldb 2.5.0 in an app that requires Java 8. 
My development system is Linux Mint 20.


Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


--
*Using Fire Fox and Thunderbird.*
Developing for Android using Java, C/C++, HTM/CSS and SQLite as our 
platform has been exciting and most rewarding.

[ Ñ ]

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient> 
	Virus-free. www.avg.com 
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient> 



<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Re: Session question

2022-06-22 Thread Bayless Kirtley
thanks for the suggestion, Gary. I 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 
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 populates the table then passes the 
Connection to  another class that wants to use it. The second class sees the 
table but finds it empty. What am I doing wrong? I am using hsqldb 2.5.0 in an 
app that requires Java 8. My development system is Linux Mint 20.

Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=05%7C01%7Cggreenbe%40visa.com%7Ca2550a9c81004b6c8ffd08da54498f77%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637914972168873803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=s8XeynwFM89Y%2BpVPYP3Zvpsvbh26zyeXdqjlb1bjsX8%3Dreserved=0


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Session question

2022-06-22 Thread Bayless Kirtley
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 populates the table 
then passes the Connection to  another class that wants to use it. The 
second class sees the table but finds it empty. What am I doing wrong? I 
am using hsqldb 2.5.0 in an app that requires Java 8. My development 
system is Linux Mint 20.


Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



OT Anyone familiar with JPDFWriter?

2022-06-02 Thread Bayless Kirtley




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: How to remove Maven from Netbeans 12.0

2021-11-19 Thread Bayless Kirtley
Thank you Mark. Show Details was the secret. Plugins showed 11 
installed, none of which was Maven. After clicking Show Details there 
were many more, including Maven and Gradle although Gradle was already 
grey. I deactivated Maven.


Thanks again

Bayless


On 11/18/21 7:09 PM, Mark A. Flacy wrote:

Greetings,

Try Tools -> Plugins -> Installed and then click on "Show details" .  Look for
Maven in the list and click the green check to make it go grey.   If you
loaded gradle support, you should turn that off as well.

I couldn't live without maven library resolution, so I don't know if this will
actually work.  You may have to restart NetBeans as well.



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: How to remove Maven from Netbeans 12.0

2021-11-18 Thread Bayless Kirtley
I have about 2 dozen total projects, all of which are ant projects and 
mostly old. I only have 5 projects open at this time and that is fairly 
common. the others are either dormant or very stable.


I did start a very simple "hello world" sort of maven project a few 
months ago when I thought I would have to learn it. I never did much 
with it and have long ago deleted it when I decided I didn't need maven 
after all. When I first startyed it, maven did build its local 
repository which took a very long time. I think I have seen it update 
that at least once since then.


I get the impression maven is checking on updates or something from the 
past but no way to determine what or why.


thanks for the suggestion

Bayless


On 11/18/21 5:51 PM, Eric Bresie wrote:
Was the project created as a Maven project?  Is so it may start up as 
such and may check on dependency updates to repositories.


Maybe as simple as recreate as Ant project and move source and ant 
files over.


On Thu, Nov 18, 2021 at 4:24 PM Bayless Kirtley <mailto:bk...@cox.net>> wrote:


I added Maven to my Netbeans 12.0 on Linux on advice that I needed to
have it. That turned out to be untrue. Ant serves my needs
perfectly so
I will be staying with it. Meanwhile Maven seems to be the culprit
that
slows down Netbeans startup. Before Maven it would start from scratch
very quickly, it seems like 15 or 20 seconds. Now it takes over a
minute, sometimes even longer. I think it might be updating its
repository or something. Meanwhile I have the same OS and Netbeans
on my
laptop with a much slower processor and disc and it comes up much
quicker than the desktop. I also have Netbeans 8.2 on the same
desktop
but without Maven and it still loads much quicker.

Is there a way to completely remove Maven from Netbeans? I can't even
find it in the list of plugins.

Thanks,

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>

--
Eric Bresie
ebre...@gmail.com <mailto:ebre...@gmail.com>


How to remove Maven from Netbeans 12.0

2021-11-18 Thread Bayless Kirtley
I added Maven to my Netbeans 12.0 on Linux on advice that I needed to 
have it. That turned out to be untrue. Ant serves my needs perfectly so 
I will be staying with it. Meanwhile Maven seems to be the culprit that 
slows down Netbeans startup. Before Maven it would start from scratch 
very quickly, it seems like 15 or 20 seconds. Now it takes over a 
minute, sometimes even longer. I think it might be updating its 
repository or something. Meanwhile I have the same OS and Netbeans on my 
laptop with a much slower processor and disc and it comes up much 
quicker than the desktop. I also have Netbeans 8.2 on the same desktop 
but without Maven and it still loads much quicker.


Is there a way to completely remove Maven from Netbeans? I can't even 
find it in the list of plugins.


Thanks,

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Cannot remove library from project

2021-06-13 Thread Bayless Kirtley
I think I found a better solution, for me anyway. I managed to reinstall 
Netbeans 8.2 and so far have reverted the one project that was causing a 
problem and everything now works as expected, including removing 
libraries as well as debugging libraries. Suddenly life is good again.


Having been retired almost 20 years now, I have limited my projects to 
Java and html. I will keep NB 12.0 for html since I recall it working 
better but all my Java will probably be going back to 8.2 as the need 
arises.


Long Live Ant.

Bayless


On 5/24/21 8:06 PM, Mark A. Flacy wrote:


No, it just means that I've never created a "sister project" that I 
would never want to use upon a different computer than the one upon 
which it was built.  I assume that if I make a library, I might want 
to share it and if I want to share it, I need to publish it somewhere 
(even to the same machine until I push it somewhere else).   I didn't 
always assume that, but personal usage pushed me to do that.



_My_ use cases aren't _your_ use cases and just because I can't see a 
reason to do *X* doesn't mean that no other humans can see a reason to 
do *X*.



I have 5 computers (well, 4 and one VM) within 6 feet of me as I write 
this;  if I've written a library that I find useful, I'd like it to be 
available on other machines in my network without having those 
machines recompile that library from scratch. That's why one of those 
computers is running a Nexus server to serve such libraries to any 
other machines that are running in my local network.


Just because I do things a certain way does not make that way "best", 
"optimal" or even "sane".



--

Mark A. Flacy

mfl...@verizon.net


On Monday, May 24, 2021 6:28:21 AM CDT Bayless Kirtley wrote:

> Does this mean that maven won't let me set a dependency on a sister

> project right here on the same computer?

>

> On 5/23/21 6:43 PM, Mark A. Flacy wrote:

> > Right-click on the project's Dependencies folder.  Add the maven

> > coordinates of the library in question and good things should happen.

> >

> > If the library you want to use isn't published with maven coordinates,

> > then

> > you will have a problem until you do that.  Please note that you can

> > publish stuff locally or to a Nexus server (as an example) of your 
own.


>

> -

> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org

> For additional commands, e-mail: users-h...@netbeans.apache.org

>

> For further information about the NetBeans mailing lists, visit:

> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Cannot remove library from project

2021-05-27 Thread Bayless Kirtley

Have to work on other stuff now but will look into Nexus in a few days.


On 5/24/21 8:06 PM, Mark A. Flacy wrote:


No, it just means that I've never created a "sister project" that I 
would never want to use upon a different computer than the one upon 
which it was built.  I assume that if I make a library, I might want 
to share it and if I want to share it, I need to publish it somewhere 
(even to the same machine until I push it somewhere else).   I didn't 
always assume that, but personal usage pushed me to do that.



_My_ use cases aren't _your_ use cases and just because I can't see a 
reason to do *X* doesn't mean that no other humans can see a reason to 
do *X*.



I have 5 computers (well, 4 and one VM) within 6 feet of me as I write 
this;  if I've written a library that I find useful, I'd like it to be 
available on other machines in my network without having those 
machines recompile that library from scratch. That's why one of those 
computers is running a Nexus server to serve such libraries to any 
other machines that are running in my local network.


Just because I do things a certain way does not make that way "best", 
"optimal" or even "sane".



--

Mark A. Flacy

mfl...@verizon.net


On Monday, May 24, 2021 6:28:21 AM CDT Bayless Kirtley wrote:

> Does this mean that maven won't let me set a dependency on a sister

> project right here on the same computer?

>

> On 5/23/21 6:43 PM, Mark A. Flacy wrote:

> > Right-click on the project's Dependencies folder.  Add the maven

> > coordinates of the library in question and good things should happen.

> >

> > If the library you want to use isn't published with maven coordinates,

> > then

> > you will have a problem until you do that.  Please note that you can

> > publish stuff locally or to a Nexus server (as an example) of your 
own.


>

> -

> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org

> For additional commands, e-mail: users-h...@netbeans.apache.org

>

> For further information about the NetBeans mailing lists, visit:

> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Cannot remove library from project

2021-05-24 Thread Bayless Kirtley
Does this mean that maven won't let me set a dependency on a sister 
project right here on the same computer?



On 5/23/21 6:43 PM, Mark A. Flacy wrote:

Right-click on the project's Dependencies folder.  Add the maven coordinates
of the library in question and good things should happen.

If the library you want to use isn't published with maven coordinates, then
you will have a problem until you do that.  Please note that you can publish
stuff locally or to a Nexus server (as an example) of your own.



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
BTW, one should not have to manually edit files created by NB just to 
exercise an option that the IDE offers but for some strange reason has 
suddenly disabled. I have been a NB user since version 5.0 actually just 
before we got the GUI designer. I have loved it, even with its 
occasional quirks and burps. Some of these latest "features" are getting 
a little tiresome though.


Bayless


On 5/23/21 4:22 PM, Geertjan Wielenga wrote:
Look in the project.properties file in the nbproject folder and delete 
those references.


Gj

On Sun, 23 May 2021 at 23:18, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


Surely NB has not suddenly decided that I can no longer remove
libraries from an ANT project. There must be something wrong here
that displays but disables that option from any libraries on any
projects.


On 5/23/21 2:45 PM, Pieter van den Hombergh wrote:

The libraries are defined in a properties file in the nb project
folder. You can find and edit in the files view. You are also
advised to convert the project to a maven project. That way you
can future proof it.

Op zo 23 mei 2021 21:35 schreef Bayless Kirtley mailto:bk...@cox.net>>:

I have an old Java 1.8 project that needs a few updates. I
cannot remove
any of its libraries. The option is grayed out and Delete key
does
nothing. Just tried and this seems to be the case with all my
projects.
Cannot delete any libraries and most projects are using Java
11, if that
makes a difference. This comes up because I made a change in
one of the
libraries which did not appear to work so I tried to debug
and found
that the new code is skipped over in debug as if it were not
there. I
thought I would remove and reinstall the library but cannot.

I have tried restarting NB a couple of times with no change.
How can I
remove old libraries?

NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



Re: Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
I did that on the one project I need right now. It then let me add it 
but the source still does not correspond to the binary so cannot debug. 
Then I tried again to remove the library and the option was disabled again.


I tried with a small existing project to create as Maven project then 
copied source files to it. It uses that same library and I cannot seem 
to add it as a dependency. What is the secret for adding a dependency on 
a local library to a new Maven project?


bayless


On 5/23/21 4:22 PM, Geertjan Wielenga wrote:
Look in the project.properties file in the nbproject folder and delete 
those references.


Gj

On Sun, 23 May 2021 at 23:18, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


Surely NB has not suddenly decided that I can no longer remove
libraries from an ANT project. There must be something wrong here
that displays but disables that option from any libraries on any
projects.


On 5/23/21 2:45 PM, Pieter van den Hombergh wrote:

The libraries are defined in a properties file in the nb project
folder. You can find and edit in the files view. You are also
advised to convert the project to a maven project. That way you
can future proof it.

Op zo 23 mei 2021 21:35 schreef Bayless Kirtley mailto:bk...@cox.net>>:

I have an old Java 1.8 project that needs a few updates. I
cannot remove
any of its libraries. The option is grayed out and Delete key
does
nothing. Just tried and this seems to be the case with all my
projects.
Cannot delete any libraries and most projects are using Java
11, if that
makes a difference. This comes up because I made a change in
one of the
libraries which did not appear to work so I tried to debug
and found
that the new code is skipped over in debug as if it were not
there. I
thought I would remove and reinstall the library but cannot.

I have tried restarting NB a couple of times with no change.
How can I
remove old libraries?

NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



Re: Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
Surely NB has not suddenly decided that I can no longer remove libraries 
from an ANT project. There must be something wrong here that displays 
but disables that option from any libraries on any projects.



On 5/23/21 2:45 PM, Pieter van den Hombergh wrote:
The libraries are defined in a properties file in the nb project 
folder. You can find and edit in the files view. You are also advised 
to convert the project to a maven project. That way you can future 
proof it.


Op zo 23 mei 2021 21:35 schreef Bayless Kirtley <mailto:bk...@cox.net>>:


I have an old Java 1.8 project that needs a few updates. I cannot
remove
any of its libraries. The option is grayed out and Delete key does
nothing. Just tried and this seems to be the case with all my
projects.
Cannot delete any libraries and most projects are using Java 11,
if that
makes a difference. This comes up because I made a change in one
of the
libraries which did not appear to work so I tried to debug and found
that the new code is skipped over in debug as if it were not there. I
thought I would remove and reinstall the library but cannot.

I have tried restarting NB a couple of times with no change. How
can I
remove old libraries?

NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
I have an old Java 1.8 project that needs a few updates. I cannot remove 
any of its libraries. The option is grayed out and Delete key does 
nothing. Just tried and this seems to be the case with all my projects. 
Cannot delete any libraries and most projects are using Java 11, if that 
makes a difference. This comes up because I made a change in one of the 
libraries which did not appear to work so I tried to debug and found 
that the new code is skipped over in debug as if it were not there. I 
thought I would remove and reinstall the library but cannot.


I have tried restarting NB a couple of times with no change. How can I 
remove old libraries?


NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: removing the "new project" support for Ant projects

2021-04-20 Thread Bayless Kirtley
Another +1 for me to not eliminating Ant support for new and existing 
programs. Ant works perfectly well for all my projects too.


Bayless Kirtley


On 4/20/21 2:10 PM, Marco Rossi wrote:

+1 also for me to not eliminating Ant support for new (or existing) projects.

Mark Reds


Il giorno 20 apr 2021, alle ore 20:08, Mitch Claborn  ha 
scritto:

+1 for not eliminating Ant support for new (or existing) projects. We've been 
using Ant for a long time, and it still works just fine for us, so there is no 
payback in converting to Maven.


Mitch

On 4/20/21 12:10 PM, Lisa Ruby wrote:

For those of you who have used Maven for a long time it may seem simple and 
straightforward, but for those of us who haven't it's not. I've struggled to 
try and understand it and figure out how to use it for my software project and 
gave up. And it's a huge amount of overhead, extra disk space usage, and more 
bits and pieces to keep track of that isn't justifiable for small simple 
projects. ANT works just fine for me, and I will keep using it for as long as I 
possibly can. I need to focus my time on getting my software out, not on the 
tools I have to use to do it.
Lisa
On 4/20/2021 10:00 AM, Geertjan Wielenga wrote:

I agree, the Ant-based project creation should be removed and I disagree that 
there should be any kind of conversion between Ant and Maven -- that simply 
will never work and we'll spend the rest of our days fixing bugs in that. To 
convert from Ant to Maven: create a new Maven project and copy the Java source 
files from your Ant project into it.

Gj

On Tue, Apr 20, 2021 at 6:58 PM mailto:pszud...@throwarock.com>> wrote:

Honestly, I think NB should have an internal conversation about
removing the "new project" support for Ant projects, while still
being able to open existing ones. It just confuses a lot of people
if they're not going to be supported.

I agree, if and ONLY if you provide at least a rudimentary way to
convert ANT projects to Maven projects.   I have been struggling
with this issue too long.  I have hundreds of Ant based projects
that I would love to turn over immediately to Maven... but I can't
, am struggling, and haven't coded a darn line in two months...  I
used to code 10 hours a day ... and now... embarrassed by my
inability to convert.,.

I exaggerate a bit, I still code in "Old" Netbeans 8.2, but I know
the days are numbered...



On 2021-04-20 08:23, Will Hartung wrote:


On Mon, Apr 19, 2021 at 12:55 AM Wayne Gemmell | Connect
mailto:wa...@connect-mobile.co.za>>
wrote:

Is the perception that nobody does Maven EAR's anymore or
that nobody uses EARs? I have a web app that has given me no
shortage of issuse with ant.
I'm trying to move it to Maven. If nobody is using maven then
I need to move to something else. If nobody is using EAR's
anymore then I'm pretty stuck figuring out this Maven issue.

Well, it's several things.
EARs are less popular because their necessity has been greatly
reduced. Session beans can be placed in WARs now, so for many use
cases, a WAR is completely adequate to the task.
However, it's not suitable for all use cases.
Notably, MDBs can not be deployed in WARs. But only as an EJB
either deployed standalone, or bundled within an EAR.
With the hue and cry over micro services and "down with the
monolith", just the idea of a large application bundled in a EAR
is falling out of favor.
Also, there's a history of advocacy underlying this. Sun used
NetBeans as a mechanism to advocate for Java and Java EE. It
behooved them to have something like NetBeans to make Java EE
development easier. So, it was important for NetBeans to have
really first class Java EE support. Bundling the Java EE wizards
and templates along with Glassfish all helped promote that.
Of course, now, with the great Java Diaspora out of Oracle, the
goals and drivers are different.
For your project, if all you have is a web app and some session
beans, then a simple WAR file is good to go. The Ant projects
seem to essentially be deprecated now, so I would not rely on
those for anything. If practical, especially if your project is
young, I would migrate it to Maven. The Maven WAR is a pretty
simple project and seems to work ok. Maven isn't going away any
time soon, Gradle, it's primary competitor, doesn't really have
the traction to overcome it yet, and it's been going for some
time. If nothing else, the pom.xml file has become a de facto
portable project format if, for nothing else, to capture
dependencies.
Honestly, I think NB should have an internal conversation about
removing the "new project" support for Ant projects, while still
being able to open existing ones. It just confuses a lot of
people if they'r

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley

Looks like I am running open jdk 11 rather than 14



On 12/26/20 7:40 AM, Geertjan Wielenga wrote:

Strange. Well, if it works, there’s no problem that needs to be fixed.

Gj

On Sat, 26 Dec 2020 at 14:39, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


No.


On 12/26/20 7:37 AM, Geertjan Wielenga wrote:

Is there another character at the start of that line?

Gj

On Sat, 26 Dec 2020 at 14:35, Bayless Kirtley mailto:bk...@cox.net>> wrote:

That's very interesting. I just checked my netbeans.conf file
and it shows

netbeans_jdkhome="/usr"

I am running Netbeans 12.0 on Mint 20.0 and I don't have any
problems with it.

Bayless


On 12/26/20 3:18 AM, Owen Thomas wrote:

No. Now that you mention it, the value doesn't seem
reasonable to me either. So, I changed it to
/usr/lib/jvm/java-14-openjdk-amd64 and the problems go away.
Thanks Geertjan - hopefully that's the end of that.

I'm sure I just downloaded and installed NetBeans without
thinking too hard, so I don't know how that could have been set.

On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

netbeans_jdkhome="/usr"

That's what I see in your file above and that can't be
right, can it?

Gj


On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

Sure Geertjan, here is netbeans.conf from
~/netbeans-12.2/netbeans/etc which is the default
directory in which NetBeans was installed.

On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Can you send your netbeans.conf file here so we
can see what is in there?

Gj

On Sat, 26 Dec 2020 at 06:10, Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

On Mon, 30 Nov 2020 at 19:32, Peter Hull
mailto:peterhul...@gmail.com>> wrote:

I would check:
1. Does your Java platform setup look
reasonable? (in Tools | Java Platforms )
2. Does this error occur for a new
project or just existing ones? (e.g. set
up a new "Java with Ant" application)
I think I've seen something like this
before and it was down to the Java
platform configuration.


Hello again. Having acquired my new laptop,
I am setting it up and have encountered the
same problem that I was having when I
earlier installed NetBeans 12.2 on another
computer. The other was, and the new one is
running Ubuntu 20.04.

I tried to create a new project, and I found
that the error was also occurring; namely
that java.lang could not be found on almost
every line of source code.

When I look at the Java Platforms dialogue
as advised by Peter, it presents two
entries: "Java 14" and "Java 14 (Default)".
The first entry looks fine, but the second
one appears to be amiss because as the
attached screenshot shows that it is missing
apparent details. The remove option also
appears to be disabled, so I'm currently at
a loss. How do I get rid of this second entry?

  Owen.


-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans
mailing lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley

No.


On 12/26/20 7:37 AM, Geertjan Wielenga wrote:

Is there another character at the start of that line?

Gj

On Sat, 26 Dec 2020 at 14:35, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


That's very interesting. I just checked my netbeans.conf file and
it shows

netbeans_jdkhome="/usr"

I am running Netbeans 12.0 on Mint 20.0 and I don't have any
problems with it.

Bayless


On 12/26/20 3:18 AM, Owen Thomas wrote:

No. Now that you mention it, the value doesn't seem reasonable to
me either. So, I changed it to /usr/lib/jvm/java-14-openjdk-amd64
and the problems go away. Thanks Geertjan - hopefully that's the
end of that.

I'm sure I just downloaded and installed NetBeans without
thinking too hard, so I don't know how that could have been set.

On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

netbeans_jdkhome="/usr"

That's what I see in your file above and that can't be right,
can it?

Gj


On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

Sure Geertjan, here is netbeans.conf from
~/netbeans-12.2/netbeans/etc which is the default
directory in which NetBeans was installed.

On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Can you send your netbeans.conf file here so we can
see what is in there?

Gj

On Sat, 26 Dec 2020 at 06:10, Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

On Mon, 30 Nov 2020 at 19:32, Peter Hull
mailto:peterhul...@gmail.com>> wrote:

I would check:
1. Does your Java platform setup look
reasonable? (in Tools | Java Platforms )
2. Does this error occur for a new project or
just existing ones? (e.g. set up a new "Java
with Ant" application)
I think I've seen something like this before
and it was down to the Java platform
configuration.


Hello again. Having acquired my new laptop, I am
setting it up and have encountered the same
problem that I was having when I earlier
installed NetBeans 12.2 on another computer. The
other was, and the new one is running Ubuntu 20.04.

I tried to create a new project, and I found that
the error was also occurring; namely that
java.lang could not be found on almost every line
of source code.

When I look at the Java Platforms dialogue as
advised by Peter, it presents two entries: "Java
14" and "Java 14 (Default)". The first entry
looks fine, but the second one appears to be
amiss because as the attached screenshot shows
that it is missing apparent details. The remove
option also appears to be disabled, so I'm
currently at a loss. How do I get rid of this
second entry?

  Owen.


-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans
mailing lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley

That's very interesting. I just checked my netbeans.conf file and it shows

netbeans_jdkhome="/usr"

I am running Netbeans 12.0 on Mint 20.0 and I don't have any problems 
with it.


Bayless


On 12/26/20 3:18 AM, Owen Thomas wrote:
No. Now that you mention it, the value doesn't seem reasonable to me 
either. So, I changed it to /usr/lib/jvm/java-14-openjdk-amd64 and the 
problems go away. Thanks Geertjan - hopefully that's the end of that.


I'm sure I just downloaded and installed NetBeans without thinking too 
hard, so I don't know how that could have been set.


On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga 
> wrote:


netbeans_jdkhome="/usr"

That's what I see in your file above and that can't be right, can it?

Gj


On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas
mailto:owen.paul.tho...@gmail.com>>
wrote:

Sure Geertjan, here is netbeans.conf from
~/netbeans-12.2/netbeans/etc which is the default directory in
which NetBeans was installed.

On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Can you send your netbeans.conf file here so we can see
what is in there?

Gj

On Sat, 26 Dec 2020 at 06:10, Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

On Mon, 30 Nov 2020 at 19:32, Peter Hull
mailto:peterhul...@gmail.com>>
wrote:

I would check:
1. Does your Java platform setup look reasonable?
(in Tools | Java Platforms )
2. Does this error occur for a new project or just
existing ones? (e.g. set up a new "Java with Ant"
application)
I think I've seen something like this before and
it was down to the Java platform configuration.


Hello again. Having acquired my new laptop, I am
setting it up and have encountered the same problem
that I was having when I earlier installed NetBeans
12.2 on another computer. The other was, and the new
one is running Ubuntu 20.04.

I tried to create a new project, and I found that the
error was also occurring; namely that java.lang could
not be found on almost every line of source code.

When I look at the Java Platforms dialogue as advised
by Peter, it presents two entries: "Java 14" and "Java
14 (Default)". The first entry looks fine, but the
second one appears to be amiss because as the attached
screenshot shows that it is missing apparent details.
The remove option also appears to be disabled, so I'm
currently at a loss. How do I get rid of this second
entry?

  Owen.


-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org

For additional commands, e-mail:
users-h...@netbeans.apache.org


For further information about the NetBeans mailing
lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Java programs run in Netbeans but not outside

2020-08-31 Thread Bayless Kirtley
Thanks to all who suggested Netbeans 12.0. I finally found time from 
other projects to install it and the problem is now resolved.


Bayless


On 8/17/20 11:36 AM, Gianluca Ruggero wrote:

Hi Bayless,
I have had the same problem in Netbeans 11 with all my ant based 
projects created with Netbeans 8.2.
But with Netbeans 12 seems resolved. I've successfully built my ant 
projects and the dist folder has been created correctly.


Gianluca


Il giorno dom 16 ago 2020 alle ore 23:26 Bayless Kirtley 
mailto:bk...@cox.net>> ha scritto:


Thanks guys. I'm old and retired and have used Netbeans with ant
since
version 5.0. I still maintain a couple of charity applications for
them
so this is important. Suddenly it stops including the lib
directory. I
have tried adding the lib directory to the dist directory but still
nothing. The jar file just goes to lunch. Something about
compiling or
building the executable doesn't seem to recognize the libraries.

To solve a problem for a food pantry (charity project) I had to
revert
to an older version of Linux on a questionable disk where Netbeans
8.1
with Java 1.8 still works. I don't see that as a long term solution
though as the disk is too undependable.

A few weeks ago I thought I saw a related reference here but
failed to
save it as I didn't know I had a problem at the time. Can anyone
recall
that or explain it again please?

Bayless

On 8/16/20 1:42 AM, Mark Eggers wrote:
> I do something similar and then package up everything as a zip
file or
> tar.gz with the assembly plugin.
>
> Something like this:
>
> 
>              
> org.apache.maven.plugins
> maven-assembly-plugin
>                  2.6
>                  
> src/main/assembly/assembly.xml
>                  
>              
>
> And the assembly.xml file (leaving out the schema for brevity):
> 
> 
>      bin
>      
>          tar.gz
>          zip
>      
> false
> false
>      
>          
>              target
> 
>              
>                  *.jar
>                  lib/
>              
>          
>      
> 
>
> Then, mvn package followed by mvn assembly:single gives me a
tar.gz and
> a zip file containing the correct structure. I can ship that around,
> unpack it, and run the program from the command line with:
>
> java -jar ./jarname.jar
>
> Works for me.
>
> . . . just my two cents
> /mde/
>
> On 8/15/2020 9:07 PM, Bradley Willcott wrote:
>> Hi Bayless,
>>
>> Are you using an Ant build or Maven?  If Maven, have a look at
>> "maven-jar-plugin" and "maven-dependency-plugin". Here is an
example of
>> both from one of my projects:
>>
>>      
>>      
>>      
>> org.apache.maven.plugins
>> maven-jar-plugin
>>      3.2.0
>>      
>>      
>>      
>> true
>> libs/ <<===  Important
>> org.markdownj.cli.Main
>> true
>>
true
>>      
>>      
>>      
>>      
>>      
>> org.apache.maven.plugins
>> maven-dependency-plugin
>>      3.1.1
>>      
>>      
>> copy-dependencies
>> prepare-package
>>      
>> copy-dependencies
>>      
>>      
>> runtime
>> test
>>      
>> ${project.build.directory}/libs
>> <<===  Important
>>      
>>          
>>      
>>      
>>      
>>      
>>      
>>
>> Of course, the "<<===  Important" text is not part of the POM text.
>>
>> All you need to do then is copy the 'libs' directory to the same
>> directory you install the 'jar' file to, and then it should work a
>> charm.  Does for me.
>>
>> Brad.
>>
>> On 15/8/20 8:13 pm, Bayless Kirtley wrote:
>>> I recently upgraded from Netbeans 8.1 to 11.1 and due to prob

Java programs run in Netbeans but not outside

2020-08-15 Thread Bayless Kirtley
I recently upgraded from Netbeans 8.1 to 11.1  and due to problems with 
java 8 I also went to 11. I have been working on some existing projects 
and everything works fine from within Netbeans. When I try to deploy 
though, it seems that Netbeans is no longer including the lib directory 
in the dist directory and the programs will not run. Even when I just 
replace the jar file in the dist directory, leaving the lib directory as 
it was, the programs still will not run. What do I need to do to correct 
this situation?


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-26 Thread Bayless Kirtley
Thanks to your suggestion Ty, I thin I have solved the problem. I 
changed one old project to Java 11 and it still seems to run all right 
and I don't get those errors. Apparently there is something missing or 
messed up in Open JDK 8. I suspect the remaning projects will also be 
all right with java 11 and will proceed along those lines.


Thanks Bayless


On 5/23/20 11:42 AM, Ty Young wrote:


On 5/13/20 9:03 AM, Bayless Kirtley wrote:
I'm still getting multiple error messages whenever I run a Java 
project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are 
samples of the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used 
GLib, GtkWidget or JawTopLevel. What is going on here?


Bayless



TL;DR:


Swing/AWT/JavaFX aren't magically cross-platform: they have to do 
basic integration with each underlying platform's UI API. 
GLib/GTKGtkWidget are a dependency/component of GTK. GTK is the major 
Linux UI API used by various desktops and applications.



What seems to be happening here is that something broke in that 
integration layer(bindings), which allow Java to communicate with GTK, 
is broken somehow. What I don't understand is why it's only happening 
when running a project, Netbeans probably shouldn't be running either.



I wonder, did you install updates without rebooting? That tends to 
introduce issues like this.



Otherwise it might be Linux distros packaging something wrong, as 
others have suggested. Maybe try installing and using Java 11 instead?









-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-23 Thread Bayless Kirtley
Thanks for the education Ty. I now understand the Glib is necessary and 
not something Netbeans has introduced. It does seem strange that the 
programs still seem to run properly and display just fine. Maybe I'll 
try to reinstall Glib then.


Bayless


On 5/23/20 11:42 AM, Ty Young wrote:


On 5/13/20 9:03 AM, Bayless Kirtley wrote:
I'm still getting multiple error messages whenever I run a Java 
project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are 
samples of the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used 
GLib, GtkWidget or JawTopLevel. What is going on here?


Bayless



TL;DR:


Swing/AWT/JavaFX aren't magically cross-platform: they have to do 
basic integration with each underlying platform's UI API. 
GLib/GTKGtkWidget are a dependency/component of GTK. GTK is the major 
Linux UI API used by various desktops and applications.



What seems to be happening here is that something broke in that 
integration layer(bindings), which allow Java to communicate with GTK, 
is broken somehow. What I don't understand is why it's only happening 
when running a project, Netbeans probably shouldn't be running either.



I wonder, did you install updates without rebooting? That tends to 
introduce issues like this.



Otherwise it might be Linux distros packaging something wrong, as 
others have suggested. Maybe try installing and using Java 11 instead?









-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-23 Thread Bayless Kirtley
Thanks for the answer Neil. At least now I know to look elsewhere, maybe 
reinstall Glib?


Bayless


On 5/23/20 11:13 AM, Neil C Smith wrote:



On Sat, 23 May 2020, 16:57 Bayless Kirtley, <mailto:bk...@cox.net>> wrote:


On googling, I find that  GTK is a tool kit that I have never
intentionally used for anything. It also relates to graphical
interfaces for C programs.

It's also used by OpenJDK for the native look and feel on Linux. This 
has nothing specifically do with NetBeans. Sounds like it could be 
another issue with bad Java packaging with Ubuntu though.


Best wishes,

Neil



Re: What is GLib and GtkWidget?

2020-05-23 Thread Bayless Kirtley
On googling, I find that  GTK is a tool kit that I have never 
intentionally used for anything. It also relates to graphical interfaces 
for C programs. My programs are all 100% Java, including any database 
engines. Is this something that Netbeans secretly used at some time but 
no longer supports? If so then how to I remove it from older code? It 
doesn't seem logical for Netbeans updates to destroy working Java programs.


Bayless


On 5/13/20 3:39 PM, Geertjan Wielenga wrote:

What did you find when you googled some of these error messages?

Gj

On Wed, 13 May 2020 at 22:25, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


Here is another new error message from running an old Java program
under
11.1 that always worked under 8.1. This seems related but I don't
know
what atk is.


** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance
called
from jaw_thread. If you are running a screen reader, this is expected
If you are not running a screen reader, please report this warning to
the java-atk-wrapper package, explaining how to reproduce this warning


On 5/13/20 9:03 AM, Bayless Kirtley wrote:
> I'm still getting multiple error messages whenever I run a Java
> project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These
are
> samples of the messages.
>
> (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
> ../../../../gobject/gsignal.c:1253: unable to lookup signal
> "window-state-event" of unloaded type 'GtkWidget'
>
> (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
> g_signal_add_emission_hook: assertion 'signal_id > 0' failed
>
> (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast
from
> 'GtkToplevelAccessible' to 'JawToplevel'
>
> That last one repeats over and over. I have never knowingly used
GLib,
> GtkWidget or JawTopLevel. What is going on here?
>
> Bayless
>
>
>
>
-
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
> For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-13 Thread Bayless Kirtley
Here is another new error message from running an old Java program under 
11.1 that always worked under 8.1. This seems related but I don't know 
what atk is.



** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance called 
from jaw_thread. If you are running a screen reader, this is expected
If you are not running a screen reader, please report this warning to 
the java-atk-wrapper package, explaining how to reproduce this warning



On 5/13/20 9:03 AM, Bayless Kirtley wrote:
I'm still getting multiple error messages whenever I run a Java 
project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are 
samples of the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used GLib, 
GtkWidget or JawTopLevel. What is going on here?


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



What is GLib and GtkWidget?

2020-05-13 Thread Bayless Kirtley
I'm still getting multiple error messages whenever I run a Java project 
under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are samples of 
the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used GLib, 
GtkWidget or JawTopLevel. What is going on here?


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Apache NetBeans 11.3

2020-05-13 Thread Bayless Kirtley
I probably forgot to mention, these were all originally ant projects and 
I have left them that way.


Bayless


On 5/13/20 12:28 AM, Emilian Bold wrote:
Might be your old Maven NBM modules perhaps? I think you can try to 
create a new Maven-based NBM and it will open. See how they pom.xml 
files differ.


--emi


On Tue, May 12, 2020 at 9:43 PM Enciu Petre 
mailto:petre.en...@vesta-system.com>> 
wrote:


Hello

Apache netbeans 11.3 does not support nbm packaging.

Every module having nbms packaging are unloadable in this version.

Thanks

LogoVestaTranspa1009.png



*/ENCIU/* Petre



Ingénieur R

Société Vesta – System



http://www.vesta-system.com

(



+40 724 697 577

*



petre.en...@vesta-system.com



Visiter aussi



http://www.cades-solutions.com



Re: Netbeans long pauses

2020-05-12 Thread Bayless Kirtley

I'll try 11.3 then.

Bayless


On 5/11/20 9:08 PM, Laszlo Kishalmi wrote:

Try with NetBeans 11.3. 11.1 is not supported any more.


On 5/11/20 6:04 PM, Bayless Kirtley wrote:
Surely there is a better answer than that. I just spent a week 
getting everything running like I want. Everything except Netbeans 
works perfectly, including all my Java programs. I really like the 
new desktop too. Surely Netbeans should work with the currently most 
popular distro of Linux.


Bayless


On 5/11/20 3:34 PM, John G. Weed wrote:
I had this problem and got so frustrated that I eventually moved off 
of Mint entirely. I now run Ubuntu. If I ran Netbeans and forgot to 
exit the application before logging off, I was almost 100% 
guaranteed that I wold have to reboot the computer to get back in. 
There wasn't a single day that wouldn't require a reboot from a hung 
system. Netbeans and Mint are allergic to each other for some 
reason. Best I could figure was a Java problem. It all was for the 
best anyway, as Ubuntu is much more stable and after 13 months I've 
not had a Netbeans required reboot once. Bottom line, migrate off of 
Mint


Sincerely,

John .G Weed
Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
*"Reason. Resolve. Respond"*
(571) 277-9998
www.linkedin.com/in/john-weed-28378a161

*"Steal a man's reputation for probity, and the more shrewd and 
clever he is, the more hated and mistrusted he'll become." *Marcus 
Tullius Cicero (106BC-43BC)


*Confidentiality Notice:* The information contained in this 
electronic transmission is privileged and confidential and is 
intended only for the recipient(s) named above. If the reader of 
this message is not the recipient(s) named above, or an authorized 
agent of such recipient(s) responsible for delivering it to the 
intended recipient(s), you are hereby notified that you have 
received this electronic transmission in error. Any review, 
dissemination, distribution, or copying of this electronic 
transmission including any attachments is strictly prohibited. If 
you have received this electronic transmission in error, please 
notify the sender immediately.


On Mon, May 11, 2020, at 16:26, Bayless Kirtley wrote:
After installing Netbeans 11.1 on Linux Mint 19.3, it has a nasty 
habit
of suddenly locking up. It seems to be the whole computer. This 
happens

pretty regularly when trying to do a simple refactor, renaming a
variable. It also happens but less often when just editing or typing
code. These pauses always seem to last between 30 and 60 seconds. This
really makes it virtually unusable. On the refactor, it always happens
even before accepting the new name so it has not actually started
renaming yet. These are small Java desktop projects of a dozen or so
classes and usually only one or two projects open at a time so no more
than 2 or 3000 lines. I assume I have something wrong but no idea 
where

to start looking. Any help will be greatly appreciated.

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans long pauses

2020-05-12 Thread Bayless Kirtley

Glad to hear another Mint user with no problems John.

Typically I only have 1 or 2 projects open at a time. Yesterday it was 
only 1 and a small project of about a dozen classes, none of which had 
more than a few hundred lines. The whole thing finishes clean and build 
in 1 - 2 seconds. I am retired so don't have to keep a bunch of balls 
bouncing. When working on Netbeans I rarely have other things going on.


It looks like 11.1 is a real memory hog compared to 8.1 that I have been 
using.  But I have 8 GB memory on a quad core computer so I don't think 
that is the problem.


Bayless


On 5/12/20 12:56 AM, John Lavelle wrote:
I use Mint and don't have the lockup problem. Therefore, it may be 
another application you are using on the system.


I have noticed that, when checking for external changes, NetBeans 11.3 
can slow down considerably especially if you have multiple large 
projects open. The more projects open and the larger they are, the 
slower NetBeans becomes during the check. I didn't notice this with 
earlier versions of NetBeans (8.2, & 9). You may want to try and limit 
the number of open projects you have in NetBeans and see if that helps.


Note: I'm using 11.3, 11.2, 11.1 and 11.0 on various computers and VMs.

Best regards,
John
j...@jql.co.uk <mailto:j...@jql.co.uk>


On Tue, May 12, 2020 at 4:08 AM Laszlo Kishalmi 
mailto:laszlo.kisha...@gmail.com>> wrote:


Try with NetBeans 11.3. 11.1 is not supported any more.


On 5/11/20 6:04 PM, Bayless Kirtley wrote:
> Surely there is a better answer than that. I just spent a week
getting
> everything running like I want. Everything except Netbeans works
> perfectly, including all my Java programs. I really like the new
> desktop too. Surely Netbeans should work with the currently most
> popular distro of Linux.
>
> Bayless
>
>
> On 5/11/20 3:34 PM, John G. Weed wrote:
>> I had this problem and got so frustrated that I eventually
moved off
>> of Mint entirely. I now run Ubuntu. If I ran Netbeans and
forgot to
>> exit the application before logging off, I was almost 100%
guaranteed
>> that I wold have to reboot the computer to get back in. There
wasn't
>> a single day that wouldn't require a reboot from a hung system.
>> Netbeans and Mint are allergic to each other for some reason.
Best I
>> could figure was a Java problem. It all was for the best
anyway, as
>> Ubuntu is much more stable and after 13 months I've not had a
>> Netbeans required reboot once. Bottom line, migrate off of Mint
>>
>> Sincerely,
>>
>> John .G Weed
>> Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
>> *"Reason. Resolve. Respond"*
>> (571) 277-9998
>> www.linkedin.com/in/john-weed-28378a161
<http://www.linkedin.com/in/john-weed-28378a161>
>>
>> *"Steal a man's reputation for probity, and the more shrewd and
>> clever he is, the more hated and mistrusted he'll become." *Marcus
>> Tullius Cicero (106BC-43BC)
>>
>> *Confidentiality Notice:* The information contained in this
>> electronic transmission is privileged and confidential and is
>> intended only for the recipient(s) named above. If the reader
of this
>> message is not the recipient(s) named above, or an authorized
agent
>> of such recipient(s) responsible for delivering it to the intended
>> recipient(s), you are hereby notified that you have received this
>> electronic transmission in error. Any review, dissemination,
>> distribution, or copying of this electronic transmission including
>> any attachments is strictly prohibited. If you have received this
>> electronic transmission in error, please notify the sender
immediately.
>>
>> On Mon, May 11, 2020, at 16:26, Bayless Kirtley wrote:
>>> After installing Netbeans 11.1 on Linux Mint 19.3, it has a
nasty habit
>>> of suddenly locking up. It seems to be the whole computer.
This happens
>>> pretty regularly when trying to do a simple refactor, renaming a
>>> variable. It also happens but less often when just editing or
typing
>>> code. These pauses always seem to last between 30 and 60
seconds. This
>>> really makes it virtually unusable. On the refactor, it always
happens
>>> even before accepting the new name so it has not actually started
>>> renaming yet. These are small Java desktop projects of a dozen
or so
>>> classes and usually only one or two projects open at a time so
no more
>>> 

Re: Netbeans long pauses

2020-05-11 Thread Bayless Kirtley
Surely there is a better answer than that. I just spent a week getting 
everything running like I want. Everything except Netbeans works 
perfectly, including all my Java programs. I really like the new desktop 
too. Surely Netbeans should work with the currently most popular distro 
of Linux.


Bayless


On 5/11/20 3:34 PM, John G. Weed wrote:

I had this problem and got so frustrated that I eventually moved off of Mint 
entirely. I now run Ubuntu. If I ran Netbeans and forgot to exit the 
application before logging off, I was almost 100% guaranteed that I wold have 
to reboot the computer to get back in. There wasn't a single day that wouldn't 
require a reboot from a hung system. Netbeans and Mint are allergic to each 
other for some reason. Best I could figure was a Java problem. It all was for 
the best anyway, as Ubuntu is much more stable and after 13 months I've not had 
a Netbeans required reboot once. Bottom line, migrate off of Mint

Sincerely,

John .G Weed
Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
*"Reason. Resolve. Respond"*
(571) 277-9998
www.linkedin.com/in/john-weed-28378a161

*"Steal a man's reputation for probity, and the more shrewd and clever he is, the 
more hated and mistrusted he'll become." *Marcus Tullius Cicero (106BC-43BC)

*Confidentiality Notice:* The information contained in this electronic 
transmission is privileged and confidential and is intended only for the 
recipient(s) named above. If the reader of this message is not the recipient(s) 
named above, or an authorized agent of such recipient(s) responsible for 
delivering it to the intended recipient(s), you are hereby notified that you 
have received this electronic transmission in error. Any review, dissemination, 
distribution, or copying of this electronic transmission including any 
attachments is strictly prohibited. If you have received this electronic 
transmission in error, please notify the sender immediately.

On Mon, May 11, 2020, at 16:26, Bayless Kirtley wrote:

After installing Netbeans 11.1 on Linux Mint 19.3, it has a nasty habit
of suddenly locking up. It seems to be the whole computer. This happens
pretty regularly when trying to do a simple refactor, renaming a
variable. It also happens but less often when just editing or typing
code. These pauses always seem to last between 30 and 60 seconds. This
really makes it virtually unusable. On the refactor, it always happens
even before accepting the new name so it has not actually started
renaming yet. These are small Java desktop projects of a dozen or so
classes and usually only one or two projects open at a time so no more
than 2 or 3000 lines. I assume I have something wrong but no idea where
to start looking. Any help will be greatly appreciated.

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Netbeans long pauses

2020-05-11 Thread Bayless Kirtley
After installing Netbeans 11.1 on Linux Mint 19.3, it has a nasty habit 
of suddenly locking up. It seems to be the whole computer. This happens 
pretty regularly when trying to do a simple refactor, renaming a 
variable. It also happens but less often when just editing or typing 
code. These pauses always seem to last between 30 and 60 seconds. This 
really makes it virtually unusable. On the refactor, it always happens 
even before accepting the new name so it has not actually started 
renaming yet. These are small Java desktop projects of a dozen or so 
classes and usually only one or two projects open at a time so no more 
than 2 or 3000 lines. I assume I have something wrong but no idea where 
to start looking. Any help will be greatly appreciated.


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Missing Glib & GtkWidget

2020-05-09 Thread Bayless Kirtley
I recently updated from Netbeans 8.1 to 11.1 on Linux Mint 19.3, open 
JDK 11.0.7. I have all my projects compiling and running successfully. I 
keep getting error messages in the output window with Netbeans however.  
They usually complain about Glib-GObject and usually reference GtkWidget 
of JawTopLevel. I have never knowingly used any of the above and never 
had the messages in 8.1 Can anyone tell me how to eliminate these 
errors? Am I missing something the 11.1 needs? Or do I have something in 
my code that I don't think I need?


Thanks, Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Missing module opening existing HTML project

2020-05-04 Thread Bayless Kirtley
I have no idea what happened but it finally just started working last 
night and I did nothing to correct it.


Bayless


On 5/2/20 12:23 PM, Bayless Kirtley wrote:
I just installed Netbeans 11.1 on Linux Mint 19.3. It seem to open my 
java projects all right but my HTML project shows as "Broken". When I 
try to resolve the problem it gives the following message.


Would also need to enable 
StandardModule:org.netbeans.modules.web.webkit.tooling jarFile /home/...


with the path to the jar file which does exist as shown and marked as 
executable. How do I enable it?


Bayless
l


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Missing module opening existing HTML project

2020-05-02 Thread Bayless Kirtley
I just installed Netbeans 11.1 on Linux Mint 19.3. It seem to open my 
java projects all right but my HTML project shows as "Broken". When I 
try to resolve the problem it gives the following message.


Would also need to enable 
StandardModule:org.netbeans.modules.web.webkit.tooling jarFile /home/...


with the path to the jar file which does exist as shown and marked as 
executable. How do I enable it?


Bayless
l


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists