javaeclipsebuildsettings

How can I add class folders into Eclipse?


Eclipse is set to compile to a build directory at 'bin'. I have a folder structure with various Java .class files (precompiled) which I want to copy into the folder 'bin' on compile.

How do I tell Eclipse to automatically do this?


Solution

  • The 'Add Class Folder...' and 'Add External Class Folder...' buttons under 'Java Build Path' in the project properties seem to do exactly what you want.