Question

I'm compiling my *.fla file via Adobe Flash Professional CS5 into a *.swf file on windows. My build-process requires to document any compile errors or warnings into logfiles.

  • Is there a way to save any compile errors or warnings into a logfile on the hard drive?
  • Is it already saved into any logfile maybe?

I couldn't find any logfile yet and also couldn't find any way to save the compile errors.

Thanks for any help!

edit: Since this doesn't seem to attract anyone's attention, I will explain, why I need this: The flash is compiled by a continuous integration (several times a day). That way no one (since a continuous build doesn't really involve a person) really notices any output of Adobe CS5 compiler. But the log could be used to check for build-errors and if there are any, the automatic continuous build process could inform the developers about a failed build and attach the log in an email, for example.

Maybe someone has another idea to integrate flash compiling and noticing about compile errors in a automatic build process like a continous integration?

Was it helpful?

Solution

If you are using ant then there actually is an open source solution that can help you to get started: https://code.google.com/p/fuelanttasks/ It allows you to create an ant macro like this:

<taskdef resource="FuelAntTasks.properties" classpath="FuelAntTasks.jar" />
<!--
This target shows how to use the fla task to publish an fla
-->
<target name="fla_publish">
    <flash>
        <fla file="${src}/redsquare.fla" build="publish"/>
        <fla file="${src}/greensquare.fla" build="publish"/>
    </flash>
</target>

It will take care of launching the flash ide, retrieving the logs and displaying them through ant.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top