Sascha, You don't need the taskdef tag now as the tasks are defined in eclipse now.
Make sure you set set the default in the project tag to sample as well. Mike. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Balkau Sent: Tuesday, 28 June 2005 5:00 PM To: Open Source Flash Mailing List Subject: Re: [osflash] Using as2lib SWF Ant Tasks with Eclipse? ----- Original Message ----- From: "Mike Shaw" <[EMAIL PROTECTED]> To: "'Open Source Flash Mailing List'" <[email protected]> Sent: Tuesday, June 28, 2005 3:43 PM Subject: RE: [osflash] Using as2lib SWF Ant Tasks with Eclipse? > > Sascha, > > I don't have the build.xml handy can you post it. > > Mike. Sure ... <project name="Swf Ant Task Samples - As2lib - Open Source ActionScript 2.0 Library - " default="usage" basedir="."> <property name="src.dir" location="src"/> <property name="lib.dir" location="lib"/> <property name="build.dir" location="build"/> <taskdef name="swf" classname="org.as2lib.ant.Swf" classpath="../../src"/> <target name="usage"> <echo message=""/> <echo message="------------------------------------------------------"/> <echo message="Among the available targets are:"/> <echo message=""/> <echo message="sample"/> <echo message="------------------------------------------------------"/> <echo message=""/> </target> <target name="sample" description="builds sample swf"> <swf src="${src.dir}/com/simonwacker/ant/Sample.as" dest="${build.dir}/sample.swf" width="300" height="100" framerate="31" bgcolor="FF8A00"> <clip id="simonwacker" import="lib/simonwacker.jpg"/> <font id="pixel" import="lib/PixelClassic.ttf"/> </swf> </target> </project> _______________________________________________ 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
