Say you have junit.jar in the build path of project A. Project B depends on project A.
Now you write a junit test in project B. If project A exports junit.jar, project B can use it at compile time - no more action necessary. If A doesn't export it, B doesn't know about it - you will have to explicitely put it into its build path, too.
Say you have junit.jar in the build path of project A. Project B depends on project A.
Now you write a junit test in project B. If project A exports junit.jar, project B can use it at compile time - no more action necessary. If A doesn't export it, B doesn't know about it - you will have to explicitely put it into its build path, too.
But eclipse is showing errors at those points where i am using classes of the junit.jar in B. Should I need to export it as an external jar file.
I am not using junit.jar it is a replaceable name for any jar file
Thanks