thx to erixtekila
the solution :
<exec output="${mainFLM}" executable="${FLASMPath}">
<arg line='-d "${mainSWF}"'/>
</exec>
<exec executable="${FLASMPath}">
<arg line='-a "${mainFLM}"'/>
</exec>
bye,
Ali_o_kan
Le 07-mars-06 à 11:44, ali_o_kan a écrit :
> ${projectPath} is correct, it's defined higher.
> <property name="projectPath" value="/Users/ali_o_kan/Documents/
> eclipse/Project"/>
>
> here it's ok :
>>> <exec executable="${FLASMPath}">
>>> <arg line='-u "${mainSWF}"'/>
>>> </exec>
>
> here no :
>
>>> <exec executable="${FLASMPath}">
>>> <arg line='-d "${mainSWF}" > "${mainFLM}"'/>
>>> </exec>
>>> <exec executable="${FLASMPath}">
>>> <arg line='-a "${mainFLM}"'/>
>>> </exec>
>
> with the same projectPath :s
>
> thx,
> laurent
>
> Le 07-mars-06 à 11:30, Ray Chuan a écrit :
>
>> Hi,
>> there's no such property ${projectPath} in Ant, unless of course
>> you've set it. I suspect this is so because Ant has expanded it to
>> simply "". Try using ${basedir} instead.
>>
>>> Hi there,
>>>
>>> I have try to use Flasm 1.6 for osX in a build.xml in Eclipse3.1
>>> (FDT
>>> 1.6.7)
>>>
>>> build.xml :
>>> <property name="mainSWF" value="${projectPath}/deploy/deploy.swf"/>
>>> <property name="mainFLM" value="${projectPath}/deploy/deploy.flm"/>
>>>
>>> <exec executable="${FLASMPath}">
>>> <arg line='-d "${mainSWF}" > "${mainFLM}"'/>
>>> </exec>
>>> <exec executable="${FLASMPath}">
>>> <arg line='-a "${mainFLM}"'/>
>>> </exec>
>>> <exec executable="${FLASMPath}">
>>> <arg line='-u "${mainSWF}"'/>
>>> </exec>
>>>
>>> Console :
>>> [exec] Couldn't open input file /deploy/deploy.swf > /deploy/
>>> deploy.flm for reading
>>> [exec] Result: 1
>>> [exec] Couldn't open input file /deploy/deploy.flm for reading
>>> [exec] Result: 1
>>> [exec] /deploy/deploy.swf successfully updated, 22093 bytes
>>>
>>> As one can see it in the console :
>>> if one makes -d /deploy/deploy.swf > /deploy/deploy.flm, Flasm do
>>> not
>>> read deploy.swf
>>>
>>> two lines below it read it. -u /deploy/deploy.swf
>>>
>>> These same command run in the Terminal osX function.
>>>
>>> an idea?
>>>
>>> thx,
>>> ali_o_kan
>>>
>>> http://www.osflash.org/flasm
>>> http://ant.apache.org/
>>> http://www.eclipse.org/
>>> http://fdt.powerflasher.com/
>>
>> --
>> Ray Chuan
>>
>> _______________________________________________
>> 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