Projects Tools Projects Hosted Projects
|
Why is there no build/compile button for a single class?Because none is needed. Eclipse is an incremental compiler. This means that on the save of a class, the class and all affected classes will be recompiled right then. Affected classes are any other class that in some way refers to this class, and any that refer to the affected classes and so on.Since the classes are always kept compiled they are never out of sync, so there is no need to compile just a single class. In case something did go wrong, which is almost never, there is a "Rebuild Project" menu item on the Project menu. This will rebuild the entire project. Also there is a "Rebuild All" which rebuilds the entire workbench. You can turn auto-compile off on the Window->Preferences->Workbench property page. This usually isn't needed to be done. About the only time that would be done is if you are doing multiple imports or changing drastically many classes by hand and you don't want a compile on the save of each class or import. In that case you would turn this off, make the changes, and turn it back on again to compile all of the changes at once. One other time this is used is for certain users that prefer to use Ant builds instead. That is a more complicated topic. When try to build I get an out of memory error. How to fix?Launch Eclipse from the command line (or script or add arguments to shortcut) and specifyLast Modified 10/2/06 12:12 PM | Hide Tools |