Hi all
In Eclipse I have two projects [
mainDev] and [
Junit], the projects are related through the
Java Build path -> Projects tab.
I would like to iterate all classes of package x in project "[
mainDev]", Using junit
test in [Junit] project.
I found piece if code here:
http://forums.sun.com/thread.jspa?threadID=341935 that iterate on all classes (compleate code below)
But getContextClassLoader().getResource("/com/mycomp"); always returns null.
What am I doing wrong?