This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hi, The project that am currently working in requires xercers jars of a version that diffres from that of HttpUnit. Since I cant change the jars of the project I decided that I would create another project with HttpUnit testcases with the HttpUnit required Xerces set in the buikd path of the proj2.
Now Proj1 needs to invoke a few methods of my testcse , for that I included the second Project (Proj2) in the classpath of the Proj1. Now when I include the methods of the testcase in my java file of Proj1 by importing the package of proj2, I get the error that the class of Proj1 indirectly access junit framnework. How do I get around this problem of classpaths ?
Originally posted by Arundhathi Menon: Now Proj1 needs to invoke a few methods of my testcse
Why? That sounds backwards to me: your application shouldn't depend on the testcases at all.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus