I am still having a fun time trying to get this to work. The configuration files are below. I have pressed the play button on the As Logger page and then ran the ant build. I am still not getting anything in the logs. The class compiles fine. The file paths are correct. Any ideas on what else I should check?

Wade


I have the following class:

class Financial{
public static function main():Void {
trace("Hello World", Log.INFO);
}
}

The following ant build file:

<x-tad-bigger><project name="Financial" default="compile" basedir=".">


<!-- Declares references to needed directories. -->
<property name="src.dir" location="src"/>
<property name="build.dir" location="build"/>
<property name="logger.dir" location="/Applications/eclipse/plugins/org.asdt.logger_0.0.8.build5/lib/flash_classes"/>


<!-- Properties for the output movie -->
<property name="width" value="500"/>
<property name="height" value="500"/>
<property name="framerate" value="31"/>
<property name="bgcolor" value="FFFFFF"/>


<!-- Define the MTASC ant task -->
<taskdef name="mtasc" classname="org.as2lib.ant.Mtasc" classpath="/Applications/eclipse/swf_ant_tasks/src"/>


<!-- Target that uses the MTASC Ant Task. -->
<target name="compile" description="builds sample swf">
<mtasc srcdir="${src.dir}" classpath="${src.dir}:${logger.dir}" swf="${build.dir}/${ant.project.name}.swf" main="true" header="${width}:${height}:${framerate}:${bgcolor}" trace="Log.addMessage"/>
</target>


</project></x-tad-bigger>




On Sep 30, 2005, at 5:54 PM, Martin Wood wrote:

yeah, its gone from the menu, but you dont need it

just follow the other steps and everything should work out fine.

all that really matters is that the logging classes are set in your
mtasc classpath

thats another thing to add to my update list :)

martin

Wade Arnold wrote:
I am trying to follow this howto.
http://osflash.org/doku.php?id=asdt:logging&s=asdt+log

I am trying to figure out how to add logging and when I right click on
my project there is not a '‘Add logger to project’ in the drop down.
Is there something fancy that I need to do? The compiler is working.

Wade

_______________________________________________
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