Ignore:
Timestamp:
08/17/09 16:51:36 (4 years ago)
Author:
zach
Message:

updating build scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/build/build.xml

    r271 r272  
    1111                <fail unless="compc.exe">The "compc.exe" property must be set in ${build.dir}/build.properties.</fail> 
    1212                <fail unless="mxmlc.exe">The "mxmlc.exe" property must be set in ${build.dir}/build.properties.</fail> 
     13                <fail unless="flexunit.lib.dir">The "flexunit.lib.dir" property must be set in ${build.dir}/build.properties.</fail>             
    1314        </target> 
    1415 
     
    5556                        <!-- Include the necessary framework libraries in the class path --> 
    5657                        <arg line="-compiler.library-path '${flexsdk.lib.dir}'" /> 
     58                        <arg line="-compiler.library-path '${flexunit.lib.dir}'" />                      
    5759                        <arg line="-compiler.library-path '${lib.dir}'" /> 
    5860 
     
    7274        </target> 
    7375 
     76        <target name="test-unit" depends="check-properties"> 
     77                <exec executable="${flashDebugPlayer.exe}" spawn="yes"> 
     78                        <arg line="'${debug.dir}/player.swf'" /> 
     79                </exec> 
     80        </target> 
     81         
    7482        <target name="test-all"> 
    7583                <exec executable="${flashDebugPlayer.exe}" spawn="yes"> 
     
    104112                        <!-- Include the necessary framework libraries in the class path --> 
    105113                        <arg line="-compiler.library-path '${flexsdk.lib.dir}'" /> 
     114                        <arg line="-compiler.library-path '${flexunit.lib.dir}'" />      
    106115                        <arg line="-compiler.library-path '${lib.dir}'" /> 
    107116 
Note: See TracChangeset for help on using the changeset viewer.