Hi Sascha,

The swfmill.xml is a temp file the task creates so that swfmill has
something to compile.

Try running the following on the command line 

swfmill simple D:\Authoring\Eclipse\swfmill.xml
E:\Projects\Eclipse\org.as2lib.anttasksample\swf\bin\sample.swf

The tasks have exception handling so you won't see the actual root error.

Post this error if you it doesn't provide any answers for you.

Mike.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sascha Balkau
Sent: Wednesday, 29 June 2005 3:45 AM
To: Open Source Flash Mailing List
Subject: Re: [osflash] Using as2lib SWF Ant Tasks with Eclipse?

Thanks Simon!
Yes I've just added Mtasc and Swfmill to my global path but it still will
not work. Here's the full error output I'm getting:

Buildfile: E:\Projects\Eclipse\org.as2lib.anttasksample\swf\build.xml
sample: [null] swfmill simple D:\Authoring\Eclipse\swfmill.xml
E:\Projects\Eclipse\org.as2lib.anttasksample\swf\bin\sample.swf
BUILD FAILED
E:\Projects\Eclipse\org.as2lib.anttasksample\swf\build.xml:18: error running
swfmill compiler Total time: 485 milliseconds

... In the second line it shows that it looks for swfmill.xml in
D:\Authoring\Eclipse\. But that file resides in the project folder in the
workspace. Any idea?


-sascha






----- Original Message -----
From: "Simon Wacker" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Wednesday, June 29, 2005 2:04 AM
Subject: Re: [osflash] Using as2lib SWF Ant Tasks with Eclipse?


> Hi Sascha,
>
> you must specify the directory where the swfmill and mtasc executables 
> reside in your global path variable (if you are using Windows, I don't 
> know how to handle this with Linux or OSX).
> Right Click on My Computer -> Properties -> Advanced Tab -> Environment 
> Variables
> If there is already an entry for the variable PATH append it, if not 
> create a new one. Its value may look something like this: 
> E:\Programming\Flash\mtasc;E:\Programming\Flash\swfmill
> This enables you to execute the executables in the mtasc and swmill folder

> from anywhere you like in the commandline.
>
> Greetings,
> Simon
> --
> Simon Wacker
> www.simonwacker.com
> www.as2lib.org
> www.hq-heilbronn.de
> www.flik-flak.de
>
> ----- Original Message ----- 
> From: "Sascha Balkau" <[EMAIL PROTECTED]>
> To: "Open Source Flash Mailing List" <[email protected]>
> Sent: Tuesday, June 28, 2005 6:39 PM
> Subject: Re: [osflash] Using as2lib SWF Ant Tasks with Eclipse?
>
>
>> Ok I've made these changes but now I'm getting an 'error running swfmill 
>> compiler' when trying to build. From where do the tasks know where to 
>> find the swfmill and mtasc executables anyway? If this is the source of 
>> the problem.
>>
>> -sascha
>>
>>
>> ----- Original Message ----- 
>> From: "Mike Shaw" <[EMAIL PROTECTED]>
>> To: "'Open Source Flash Mailing List'" <[email protected]>
>> Sent: Tuesday, June 28, 2005 4:08 PM
>> Subject: RE: [osflash] Using as2lib SWF Ant Tasks with Eclipse?
>>
>>
>>> 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
>>
>>
>> _______________________________________________
>> 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