This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have two web projects, projA and projB in the workspace of eclipse. Both the projects use different database, and having lot of source file common in both project, also the hierarchy of the most of the package is same in both the projects. The sequence of the projects in the eclipse workspace is projA and then projB. The problem is that when I put breakpoint in the projB on file named sample.java, the debugging works on projA's sample.java. Does anybody have any solution?
I suggest you think about restructuring your code so that common code is in a separate project that both project A and project B refer to.
In other words, if you have a class called com.example.Sample that is required by both projects, put this in project C and update the properties of projects A and B so that their build path includes project C.