[osflash] MTASC and OS X 10.4.2
Julian Sander
list at abstractfactory.de
Sun Nov 27 17:44:36 EST 2005
Hi HTH,
thanx for this, after adujting and adding the nodes to the build.xml
I now get this error:
Buildfile: /Users/julian/Documents/files/workspace/MTASC_learning/
build/build.xml
compile:
BUILD FAILED
/Users/julian/Documents/files/workspace/MTASC_learning/build/
build.xml:44: The <mtasc> type doesn't support the "mtasc" attribute.
Total time: 1 second
any ideas? j
On 27.11.2005, at 22:45, erixtekila wrote:
>> <?xml version="1.0"?>
>> <!--
>> =====================================================================
>> =
>> Nov 10, 2005 3:42:29 PM
>>
>>
>>
>> description
>>
>> julian
>>
>> =====================================================================
>> =
>> -->
>> <project name="Main" >
>> <description>
>> description
>> </description>
>> <!-- Declares references to needed directories. -->
>> <property name="src.dir" location="../src/"/>
>> <property name="build.dir" location="../deploy/"/>
>> <!-- Properties for the output movie -->
>> <property name="width" value="500"/>
>> <property name="height" value="500"/>
>> <property name="framerate" value="31"/>
>> <property name="bgcolor" value="666666"/>
>> <!-- =================================
>> target: default
>> ================================= -->
>> <!-- Define the MTASC ant task -->
>> <taskdef name="mtasc" classname="org.as2lib.ant.Mtasc"
>> classpath="/Applications/eclipse/plugins"/>
>>
>> <!-- Target that uses the MTASC Ant Task. -->
>> <target name="compile" description="builds sample swf">
>> <mtasc srcdir="${src.dir}" classpath="${src.dir}"
>> swf="${build.dir}/${ant.project.name}.swf"
>> main="true"
>> header="${width}:${height}:${framerate}:${bgcolor}"/>
>> </target>
>>
>>
>> </project>
>>
> It's hard to figure but easy to anderstand.
> When using Ant by Eclipse, you don't call ~/.profile
> In this file, you get your environment variables.
>
> To fix that, just tell mtasc task where to dig for mtasc…
> Mine :
> <!-- tool info -->
> <property name="mtasc.exe" location="/usr/local/bin/mtasc"/>
> <property name="swfmill.exe" location="/usr/local/bin/swfmill"/>
>
> <mtasc src="${source.dir}/net/via/utils/TestSequence.as" keep="true"
> swf="${deploy.dir}/testSequence.swf" header="20:20:31" version="8"
> classpath="${classpath1}:${source.dir}" mtasc="${mtasc.exe}"/>
>
> Should do the trick.
> HTH
>
> -----------
> erixtekila
> http://blog.v-i-a.net/
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20051127/c69ad786/attachment.htm
More information about the osflash
mailing list