thanks for the answer, I may have not been clear, I meant a logger console. I will test with any of those that are in osflash.

cheers, diego.

christoph atteneder [celumSOLUTIONS] wrote:

Do you mean a console output in eclipse?

In ant you can use echo.
If you need logging output of your flash application without Flash IDE you can 
use one of the loggers at osflash or use flash debugplayer and flair plugin.

cheers

Chris

________________________________

Von: [EMAIL PROTECTED] im Auftrag von Diego Guebel
Gesendet: Mi 03.08.2005 01:25
An: Open Source Flash Mailing List
Betreff: [[W3-SPAM]] - [osflash] trace with ant - E-Mail-Adresse wurde in 
Betreff-Zeile gefunden.



Hi,
A quick ant question, is there any manner to have a trace somewhere if I deploy my application with a build.xml?
How do you deal with this issue?
Thanks in advance.

Diego.


Joachim wrote:

Put the xml between start and end of file in an build.xml where the
other build files are located.
Change the mtasc filepath to your filepath.

Now you can start ...

type 'ant' and enter while in the root folder.

default is the buildTrace, if you want to build without trace type 'ant build'

below you find the file,
Enjoy

Joachim

-----------------------------Start of File -----------------------------------
<!--
@author Joachim Van der Hoeven
-->
<project name="OpenStep" basedir="." default="buildTrace">
     <!-- path to mtasc -->
     <!-- example windows : C:\mtasc\mtasc.exe -->
     <!-- example linux : /usr/local/bin/mtasc -->
     <property name="mtasc" value="C:\mtasc\mtasc-1.09\mtasc.exe"/>
     <!-- Project directories -->
     <property name="dir.src" value="src"/>
     <property name="dir.dist" value="dist"/>
     <!-- files -->
     <property name="swfFile" value="ActionStep.swf " />
     <property name="startAS" value="org/actionstep/test/ASTestMain" />
     <!-- targets -->
     <target name="clean" description="clean">
             <delete dir="${dir.dist}"/>
     </target>
     <target name="prepare" description="prepare">
             <mkdir dir="${dir.dist}"/>
             <tstamp/>
     </target>
     <target name="buildTrace" depends="prepare">
             <exec executable="${mtasc}">
<arg value="-cp" /> <arg value="${dir.src}" /> <arg value="-swf" /> <arg value="${dir.dist}/${swfFile}" /> <arg value="-header" /> <arg value="800:600:20" /> <arg value="-trace" />
                     <arg value="org.actionstep.ASDebugger.trace" />
                     <arg value="-pack" />
                     <arg value="org/actionstep" />
                     <arg value="-pack" />
                     <arg value="org/actionstep/constants" />
                     <arg value="-pack" />
                     <arg value="org/actionstep/images" />
<arg value="-main" /> <!-- <arg value="-v" /> --> <arg value="${startAS}" /> </exec>
     </target>
     <target name="build" depends="prepare">
             <exec executable="${mtasc}">
<arg value="-cp" /> <arg value="${dir.src}" /> <arg value="-swf" /> <arg value="${dir.dist}/${swfFile}" /> <arg value="-header" /> <arg value="800:600:20" /> <arg value="-pack" />
                     <arg value="org/actionstep" />
                     <arg value="-pack" />
                     <arg value="org/actionstep/constants" />
                     <arg value="-pack" />
                     <arg value="org/actionstep/images" />
<arg value="-main" /> <!-- <arg value="-v" /> --> <arg value="${startAS}" /> </exec>
     </target>
</project>
-----------------------------End of File -----------------------------------

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




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



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


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

Reply via email to