configurationengine/source/plugins/common/ConeCommandPlugin/commandplugin/tests/project/assets/s60/implml/file2.commandml
author terytkon
Thu, 11 Mar 2010 17:04:37 +0200
changeset 0 2e8eeb919028
child 3 e7e0ae78773e
permissions -rw-r--r--
Adding EPL version of configurationengine.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
<commandml xmlns="http://www.s60.com/xml/commandml/1">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
    <tag name="target" value="footarget"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
    <!-- This should be executed, since the value of RealSetting is 3.14 -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
    <condition value="${BasicSettingTypesTest.RealSetting} &gt; 4e-3">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
        <command executable="python" bufsize="0" cwd="." env="{'MYVAR':'123'}">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
            <argument value="project/tools/print_hello.py"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
            <argument value="-c some_config.txt" />
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
            <argument value="-d some_dir" />
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
            <argument value="-x" />
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
            <pipe name="stdin" value="PIPE"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
            <pipe name="stdout" value="hello.log"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
        </command>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
    </condition>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
    <!-- This, on the other hand, should not -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
    <condition value="${BasicSettingTypesTest.RealSetting} &lt; 4e-3">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    20
        <command executable="python" cwd="." shell="true">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
            <argument value="project/tools/print_hello.py"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
            <argument value="-c some_config.txt" />
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
            <pipe name="stdout" value="should_not_be_created.log"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
        </command>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
    </condition>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    26
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    27
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    28
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    29
    <!-- ====================================== -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    30
    <!-- Test executing in the output directory -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    31
    <!-- ====================================== -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    32
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    33
    <!-- Create output directory, or the next command will fail if it doesn't exist -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    34
    <command executable="python" shell="true">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    35
        <argument value='project/tools/makedir.py "%CONE_OUT_ABSOLUTE%"'/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    36
    </command>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    37
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    38
    <!-- Execute Python in the output directory and print the working directory there -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    39
    <command executable="python" cwd="%CONE_OUT_ABSOLUTE%" shell="true">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    40
        <argument value='-c "import os; print os.getcwd()"'/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    41
        <pipe name="stdout" value="exec_in_output_test.log"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    42
    </command>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    43
</commandml>