This website has been translated by machine translation software and has not been subsequently revised by translators. Further information at: link. Hide
the accesskey _ mod _ content
-

Addition of licensing headers

  • Short Name:
    AddHeader
    Summary:
    The solution has two Linux scripts. The first, called “ verifies _ cabeceras.sh ”, generates 3 listings reflecting the files that have licensing header, files that have licensing header along with This and the files that have no header. By default, is configured to analyze files JAVA, XML, JSP, CSS, DTD HTML and PROPERTIES.
    The second script, called "addition _ cabeceras.sh", adds the headers of discharge to the files you want. By default, is configured to add headers to files JAVA, XML, JSP, CSS, DTD HTML and PROPERTIES.
    Target audience:
    Any public administration, citizen, company, AGE, CCAA, Local Entities
    Agencies Responsible:
    Political ministry Territorial and Public Function
    Secretariat of state of Public Function
    General Secretariat of Digital Administration
    Usage:
    Installable product

    Contact:

    You can contact the customer support of specifying as CTT type "licensing Consultation and free software"

    https: / / ssweb.seap.minhap.es / help / consultation / CTT

     

    Type of Solution:
    Application
    Status of the Solution:
    Production
    Organic area:
    State
    Functional area:
    Administration
    License:
    EUPL (European Public License)
    Interoperability level:
    Technical
    Operating system:
    Linux

    Description

    The solution has two Linux scripts. The first, called “ verifies _ cabeceras.sh ”, check if files whose size matches any of the following: JAVA, XML, JSP, CSS, DTD HTML and PROPERTIES; feature licensing header and generates 3 text files. These are:

    • File "result _ files _ with _ cabecera.txt": it contains the list of all files that have a header (does not have to be a header of licensing).
    • File "result _ files _ with _ header _ extendido.txt": it contains the list of all files that have a header with his header (does not have to be a header of licensing).
    • File "result _ files _ no _ cabecera.txt": it contains the list of files that do not have a header.

    The file "result _ files _ no _ cabecera.txt" we use as a basis for the creation of the file / s TXT, data source for the execution of the script "addition _ cabeceras.sh".

    The script can easily expanded the list of extensions already that is structured in procedures.

    The script also has the use of optional parameters. These parameters can change the directory and to analyse extensions.

    Finally, the script has a help that is accessed by adding the parameter "-h" to the name of the script.

    The second script, called "addition _ cabeceras.sh", adds the headers of licensing (saved in a source file) to files whose size matches any of the following: JAVA, XML, JSP, CSS, DTD HTML and PROPERTIES.

    You can add or remove extensions and change the list of files to modify. For this account with a file called "variables.cfg that reflected the following variables:

    • file "": file / s source divided / s internally in two sections: header and list of files to modify. Section "header" will contain the header for inserting and, the list of files, the files to change.
    • header "": this variable contains the extensions of the files to be modified.
    • directory "": directory which contains the files to change.

    This script, like the previous one, easily to expand the list of extensions already that is structured in procedures.

    The script also has the use of optional parameters. These parameters can change the source file, the directory and the extension of the files which add licensing headers.

    It also allows for a modification of all files whose size matches those listed above, within an entire directory and concrete.

    Finally, the script has a help that is accessed by adding the parameter "-h" to the name of the script.

    Subscriptions

    In this area you can register to receive notification of changes that occur in news, documents or forums related to the solution.

    - PAe subscription management

    The fields with an asterisk * are required. It must mark at least one of the subscription rushes (News, documents or forums) and indicate the email in the text field indicated for the high or low of subscription.

    Enter the email with which you want to receive notifications of the solution.

    * Acconsento that personal data that give can be used by the public Sector state, in the portal PAe (Portal of electronic administration) and their associated services for receiving information and communications.

    Enter the email to unsubscribe from the unsubscribe.
Maintainer