configurationengine/source/scripts/tests/generation_test_project/custom/implml/seq_tempvar.implml
author m2lahtel
Tue, 10 Aug 2010 14:29:28 +0300
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
permissions -rw-r--r--
ConE 1.2.11 release

<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="http://www.symbianfoundation.org/xml/implml/1"
           xmlns:ruleml="http://www.s60.com/xml/ruleml/3"
           xmlns:content="http://www.s60.com/xml/content/1">
    <!-- Temporary sequence feature for storing the list of files to copy -->
    <tempVariableSequence ref="TempFeature2.FilesToCopy">
        <tempVariable ref="FilePath" type="string"/>
    </tempVariableSequence>

    <container>
        <phase name="pre"/>
        <!-- Rule for setting the contents of the file copy list -->
        <ruleml:ruleml>
            <ruleml:eval_globals file="seq_tempvar.py"/>
            <ruleml:rule>True configures ${TempFeature2.FilesToCopy} = {% get_file_seq() %}</ruleml:rule>
        </ruleml:ruleml>
    </container>

    <container>
        <phase name="normal"/>
        <content:content>
            <!-- The ContentML implementation for copying the files -->
            <content:input>
                <content:include files="${TempFeature2.FilesToCopy.FilePath}"/>
            </content:input> 
            <content:output dir="content\temp_seq_test\" flatten="true" />
        </content:content>
    </container>
    
    
</container>