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" available
, 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 he
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
Consumer:
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()". M
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
=
Excellent idea to try,
Many thanks for your response.
- Damian
On Sat, 4 May 2019 at 13:04, Tushar Joshi wrote:
> Many years ago (10+?) I used a relative path, but that is not good enough
>> because the relative path is different depending on if you are running unit
>> tests for an individual m
Hi all,
I'm looking for advice on how to run unit tests on multiple machines when
platform modules depend on each other. There must be a simpler & more
flexible way of doing this than I have been using.
Background ...
We have 30+ modules in our Netbeans Platform based product, and as
expected, m