thx martin for coming back to me; here we go:

<project name="fooTest" default="compile" basedir=".">

   <!-- Declares references to needed directories. -->
   <property name="src.dir" location="src"/>
   <property name="build.dir" location="deploy"/>
<property name="logger.dir" location="/Applications/devTools/eclipse/plugins/org.asdt.logger_0.0.9/lib/flash_classes"/> <property name="ap.dir" location="/Volumes/Data/_bin/flashClasses/AnimationPackage/1_07"/>
   <property name="targetswf" value="apTest.swf"/>
<property name="flashplayer" value="/Applications/devTools/Flash Player.app"/>

   <!-- Properties for the output movie -->
   <property name="width" value="800"/>
   <property name="height" value="600"/>
   <property name="framerate" value="30"/>
   <property name="bgcolor" value="FFFFFF"/>
   <property name="version" value="7"/>

   <!-- Target that uses the MTASC Ant Task. -->
   <target name="compile" description="builds sample swf">
<mtasc srcdir="${src.dir}" classpath="${src.dir}:${logger.dir}:${ap.dir}" swf="${build.dir}/${targetswf}" main="true" header="${width}:${height}:${framerate}:${bgcolor}" version="${version}" trace="Log.addMessage"/>
       <exec executable="${flashplayer}" spawn="true">
           <arg value="${build.dir}/${targetswf}"/>
       </exec>
   </target>

</project>

to be honest; i don't think there is any problem with the build file... it already worked
and the error message isn't very meaningful...
<snip>
/Volumes/Data/projects/_workspace/AnimationPackageTest/build.xml:21: Error running mtasc compiler.
</snip>

it's really a mistery... hth!

henrik

Martin Wood-Mitrovski wrote:
henrik weber wrote:
but it really worked the first time i ran the ant build from within eclipse after i changed
the permission settings (one time)...

ok, if you're running it from ant, what does your ant build file look like?

what output do you get?


_______________________________________________
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