The specific role of the. Project and. classpath files in eclipse

Source: Internet
Author: User

. 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&gt    ; </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder </name> <arguments> </arguments> </buildCommand> </buildspec&gt    ; <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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.