. Project is a project file, where the structure of the project is defined, such as the location of the Lib, the location of the SRC, the location of the classes
The location of the. CLASSPATH defines the $classpath you use for this project at compile time
. classpath file
From the data we can easily see that the above describes the project's dependent files:
The exact location of the source file (kind= "src")
Operating system environment (kind= "con")
Specific location information for the project's library (kind= "Lib")
In each LIB's XML child node, there is additional configuration information about it (for example, configuring "Javadoc_location" "Path" "Sourcespath")
Output Directory of the project (kind= "Output")
In general, this document is the configuration of the entire project operating environment.
. project file
From the data, we can see that these configurations are primarily about describing the basic engineering information:
Project Name <name></name>
Project Comment Description <comment></comment>
Additional Eclipse plugins required for runtime <natures></natures>
and its specific loading mode information <buildSpec></buildSpec>
If you add a lot of additional plugins to your project during the development process, it will inevitably cause your eclipse to start slowly. In this case, you can remove some plugins from this file, but you will be loading those plugins when you open those associated files.
What does the. classpath and. project files in the Eclipse project do?