Each IDE has a preferred way of organizing the files that make up an application. These organization schemes are not always hard and fast but those presented here are the common ways of arranging the files.
A simple application in the Eclipse IDE consists of two project files and three sub-directories. These files and directories are listed as follows:
-
.classpath: This is an XML file containing the classpath-related information
-
.project: This is an XML document describing the project
-
.settings: This is a directory containing the org.eclipse.jdt.core.prefs file which specifies compiler preferences
-
bin: This is used to contain the package file structure and the application's class files
-
src: This is used to contain the package file structure and the application's source files