Weekly 7-21

1. Outline of Contents

  Logging system

  maven problem

  c disk monitoring

  Pessimism

  Light cat

 

* Logging system

  Framework of large sites, the log system generally has a variety of applications, the long conflict, some questions will take you a long time, causing you a lot of stress, too much of the details of the program, you will not always have a place . 

  Maven in the jar package solution to the conflict:

    When Maven pom.xml file parsing, the same package will only keep a jar which then retained the three general ways.?:

    1. Short Path First, indirectly dependent directly dependent than, the first layer of staple loading.

    2. The position of priority, if the same level, in front of the loading position.

    3. Using <exclusion> Troubleshooting dependent jar

  slf4j Interface -> Bridge bag -> implementation packages / Profile

  This is a relatively common way, in my own c disk space monitoring in this way added.

 

* Maven problem

  Clear clean compile, compile compile, test compile and test, install packaged and sent to a local warehouse, package only labeled jar package, and will not be sent to the local warehouse

  maven multi-module structure benefits:

    It applies to some relatively large projects, through reasonable split module,

    Achieve code reuse,

    Ease of maintenance and management.

  maven multi-module structure:

    a-parent (parent)
             --- the pom.xml
             --- A-API (third party interface layer)
                    ---- the pom.xml    
           --- A-Foundation (tool base layer)
                    ---- the pom.xml
             --- a-resource (resource layer) 
                    ---- the pom.xml
             ----A-service (service logic layer)
                    ---- the pom.xml
           --- A-modules (Web layer)
                    ---- POM .xml
                --- A-WWW (Web module. 1)
                            ---- the pom.xml
                --- A-ADMIN (Web module 2)
                            ---- the pom.xml

  THE RELATIONSHIP

    Synthesis module has a plurality of synthesis modules

    Synthesis module can easily build the project synthesis using Maven command module, the module will automatically be synthesized using the command Maven

  Maven tag resolution:

         Relative path pom.xml file <relativePath> parent project. Relative path allows you to choose a different path.

      The default value is ../pom.xml. Maven pom first look at the place of a parent project to build the current project,  

                Secondly, in this position of the file system (relativePath position),

                Then in the local repository,

                Finally, look for a parent pom projects in remote repository.
 
     <buid> default plug-in information. The plug-in configuration items will be resolved or bound to the life cycle until it is referenced. Given widget configuration will cover any local configuration where
    the specific configuration can be connected  https://blog.csdn.net/ZYC88888/article/details/80914632

* C idle disk size

  Because he was sometimes download some material ue4 game development, resulting in rendering the c drive implosion, sometimes rosy, obsessive-compulsive disorder always feel uncomfortable, wrote c-free-sie monitoring c drive margin size, packaged and background, will follow Upload yards clouds.

  

   

Guess you like

Origin www.cnblogs.com/fengdaren/p/11220983.html