. Project is a project file in which the structure of the project is defined, such as the location of the Lib, the location of the SRC, and the location of the classes. The location of Classpath defines the $ that you use for this project at compile time. Classpath These files you can see in a text editor that the purpose of the refresh in the midpoint of a project is to update the list of files in the. project file so that you display the files that are not submitted to the project through Eclipse. classpath files from the data we can easily see, The project dependency file is described above: 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 are other configuration information about it (for example, the one I configured"javadoc_location") The output directory of the project (kind="Output"in general, this file is the configuration of the entire project's operating environment. project files from the data, we can see that these configurations are primarily descriptive of the project's basic information: project name<name></name>Project Comment Description<comment></comment>additional Eclipse plug-ins required at run time<natures></natures>, and its specific loading method 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 get rid of some plugins in this file, but then you will load those plugins when you open those files. The. settings file contains a variety of plug-in configuration files. The above is a simple introduction to Eclipse's project-related hidden configuration files.
. classpath file:1234<classpathentry kind="src"Path=""/><classpathentry kind="Con"Path=""/><classpathentry kind="Lib"Path=""/><classpathentry kind="Output"Path="bin"/>the meaning of the above parameter is: the exact location of the source file (kind="src") operating system environment (kind="Con") Specific location information for the project's library (kind="Lib") The output directory of the project (kind="Output"). project file:123456789Ten One A - - the - - - + - + A at -<?xml version="1.0"encoding="UTF-8"?><projectdescription> <name>myibatis</name> <comment></comment> <projects> ; </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder </name> <arguments> </arguments> </buildCommand> </buildspec> ; <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> <linkedresou rces> <link> <name>mybatis</name> <type>2</type> <location></location> </link> </linkedresources></projectdes Cription>the meaning of the above parameter is: project name<name></name>Project Comment Description<comment></comment>additional Eclipse plug-ins required at run time<natures></natures>, and its specific loading information <buildSpec></buildSpec>. File connection use in the project<linkedResources> for instructions
The specific role of the. Project and. classpath files in eclipse