Re: Can;t link src/test/java to package being tested.

2024-04-03 Thread slipbits
Thanks. Almost there. Sigh. You were correct. There were two main programs. One was deleted leaving the main main. I tried right-click->Debug and it worked. I tried Debug->File and it worked. I tried Debug->Main Program and it did not work. The error is: ERROR: transport error 202: connect

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread Michael Bien
the exec.mainClass property of pom.xml is the main entry point of your program and becomes relevant if you want to run the project in the shell or once its built. NB can run anything which has a main method or any test simply via right click -> run/debug. It doesn't really care what is in the

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread slipbits
Thanks  Tamás; I didn't know that and I'm glad you mentioned it. But the real question is how do I test the fool thing. I compiled everything successfully under NB. I built everything successfully under NB. Now here is where my ignorance shows. I don't want the fool thing located under "com.m

Re: Can;t link src/test/java to package being tested.

2024-04-02 Thread Tamás Cservenák
Howdy, src/main/java and src/test/java is the maven standard... T On Tue, Apr 2, 2024, 19:46 slipbits wrote: > I know this is a dumb question but I'm stumped. I created a new project > and NB created src/main and src/test subdirectories. When I created my test > code in src/test/... NB recogni

Can;t link src/test/java to package being tested.

2024-04-02 Thread slipbits
I know this is a dumb question but I'm stumped. I created a new project and NB created src/main and src/test subdirectories. When I created my test code in src/test/... NB recognized the main package and I could link to it i n the editor and run compiles. But when I try to execute in in the deb