P
palun
Sorry to bother you with this. I tried posting it to
c.l.j.softwaretools, but there seems to be very little happening there...
My problem:
I am trying to compile and run a single test-file in NetBeans 5. The
file is located in a separate test-tree (under src/test), and has
references to two other classes located in the main source tree
(src/main). (These, in turn, uses only java standard api classes.)
When I try "Compile file" (right mouse button menu, or F9) on the file,
the compiler insists on compiling not just my test file, but all files
in the project(!) - Why is this?
It seems single file compilation works fine for files in the main source
tree, but fails in the test tree. (Both trees have identical package
hierarchies. And both are recognized as containing source.)
Can someone please explain to me what is happening?
Thanks,
/ulf (who should have stuck with Eclipse)
PS. I couldn't find anything on the NetBeans fora (which btw are full of
questions without answers...)
c.l.j.softwaretools, but there seems to be very little happening there...
My problem:
I am trying to compile and run a single test-file in NetBeans 5. The
file is located in a separate test-tree (under src/test), and has
references to two other classes located in the main source tree
(src/main). (These, in turn, uses only java standard api classes.)
When I try "Compile file" (right mouse button menu, or F9) on the file,
the compiler insists on compiling not just my test file, but all files
in the project(!) - Why is this?
It seems single file compilation works fine for files in the main source
tree, but fails in the test tree. (Both trees have identical package
hierarchies. And both are recognized as containing source.)
Can someone please explain to me what is happening?
Thanks,
/ulf (who should have stuck with Eclipse)
PS. I couldn't find anything on the NetBeans fora (which btw are full of
questions without answers...)