Hi all,
Firstly apologies. After ~ 15 years with a netbeans platform based product
I have never needed to do this. I've struggled for hours trying to add a
file (not a jar) to the classpath.
"XML ConfigurationFactory will look for log4j2.xml in the classpath."
How do I make "log4j2.xml"
, multiple definitions of the same class with the same
> qualified name. But these are not available on the context classloader.
> Look through the logs, you get it warning saying something like ".. won't
> arbitrarily load class x from class loader y and z".
> Maybe this helps.
Hi all,
We have a "mature" (10+ year old) Netbeans Platform Swing product, which
has 35+ modules. This all works well.
As usual, when one Netbeans module provides an Implementation we find it
from other Netbeans modules using the usual idiom ...
Provider: puts entry in META-INF/services
Swing & all GUI toolkit work takes a while to get your head around,
especially if you have only worked on the backend, and there is way too
much to put in a few emails. One idea is that Swing (as any GUI toolkit)
is fundamentally single threaded.
The first thing that strikes me is "setFocus()".
OK. I *think* I have a solution.
Ant could not pick up the environment variable without some help.
Issue described in
https://stackoverflow.com/questions/17571595/env-java-home-not-found-ant
HTH & YMMV
Answer ...
Step 1. Set Operating System Environment variable
=