CommentLuv Enabled

Important Note

You need LightArmy to use these applications.

Tuesday, August 11, 2009

Files Updater (Worker Process)


Manifest Contents


  1. Structure



    <?xml version="1.0" encoding="UTF-8"?>
    <configuration id="files_update">
    <section name="core">
    <!-- Process Configuration-->
    <config name="process">
    <config name="type">files_update</config>
    <config name="name"></config>
    <config name="description"></config>
    <config name="start"></config>
    <config name="end"></config>
    </config>

    <!--Lister Configuration-->
    <config name="update">
    <config name="all"></config>
    <config name="directories"></config>
    <config name="exceptions"></config>
    <config name="files"></config>
    <config name="source"></config>
    <config name="destination"></config>
    </config>

    </section>
    </configuration>



  2. Parameters


    1. id

      The identity of manifest.

    2. core.process.type

      The process type of manifest. Type is files_update.

    3. core.process.name

      The name given to this manifest.

    4. core.process.description

      The additional information to manifest.

    5. core.process.start

      The first date (time) the process will be executed.

    6. core.process.end

      The last date (time) the process will be executed.

    7. core.update.all

      If all source contents will be processed.

    8. core.update.directories

      The list of directories to be updated. Separate list by comma.

    9. core.update.exceptions

      The list of exception files or folders. Separate list by comma.

    10. core.update.files

      The list of files to be exported. Separate list by comma.

    11. core.update.source

      The source folder (directory).

    12. core.update.distination

      The destination folder (directory).



  3. Example



    <?xml version="1.0" encoding="UTF-8"?>
    <configuration id="files_update">
    <section name="core">
    <!-- Process Configuration-->
    <config name="process">
    <config name="type">files_update</config>
    <config name="name"><![CDATA[UpdateDataFiles]]></config>
    <config name="description"><![CDATA[Update Data Files]]></config>
    <config name="start"></config>
    <config name="end"></config>
    </config>

    <!--Update Configuration-->
    <config name="update">
    <config name="all">0</config>
    <config name="directories">System,Colony</config>
    <config name="exceptions"></config>
    <config name="files">index.php</config>
    <config name="source"></config>
    <config name="destination"></config>
    </config>

    </section>
    </configuration>




No comments:

Post a Comment

Search This Blog

Followers

Blog Archive

About Me

My photo
IT Professional, Institut Teknologi Bandung