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.
1. what's the difference between "build" and "clean build". Why doestimes a pj can be built OK using clean build but not with normal "build" ?
2. If I have a few projects (some are ejb, few are java projects). If I click "build" and can build each of them. What does that mean ? does it just mean it generates the .class file properly ? In order to really deploy the whole thing, do I still need to write separate ant script to bundle everything ? The basic question is --- By clicking "build" does not automatically create any .war ot .ear, correct ?
Build compiles only changed .java files. This could lead to problems if, for example, class A calls a method on class B, but you change the signature of that method - build then compiles only B.java (assuming you had previously compiled boht A.java and B.java). Now you have a broken app. (This is only one of several things that can go wrong.)