I just made this Ant file that works perfectly with relative paths and
executables available in the System PATH.

<project name="EnFlash">

        <description>EnFlash Demos</description>
        
        <property name="deploy" value="deploy"/>
        <property name="src" value="src"/>
        
        <property name="mtasc" value="mtasc"/>
        <property name="swfmill" value="swfmill"/>

        <target name="apidemo">
                <exec executable="${mtasc}">
                        <arg value="-swf" />
                        <arg value="${deploy}/demos/apidemo.swf" />
                        <arg value="-cp" />
                        <arg value="${src}/classes" />
                        <arg value="-main" />
                        <arg value="com/asual/demos/APIDemo.as" />
                        <arg value="-frame" />
                        <arg value="2" />
                        <arg value="-header" />
                        <arg value="960:620:21:000000" />
                </exec>
        </target>

</project>


-- 
EnFlash - It's all about features...
http://www.asual.com/enflash/

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to