Because FlexUnit is not part of Ant Core (even not maintained by Ant) you have 
to declare that.
See the manual for 
- AntLib
- <taskdef>
and (of course) the manual of FlexUnit "installation" section.


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Sunils_82 [mailto:sunils...@yahoo.com] 
>Gesendet: Freitag, 9. Januar 2009 14:23
>An: user@ant.apache.org
>Betreff: Flex Unit Test Fails using Ant
>
>
>When i run the flexunit test using ant script
>
><target name="flex.unit.test" description="flex unit testing" 
>>                                              
>               <flexunit timeout="0" 
>swf="${release.dir}/${project.name}.swf"
>toDir="${output.dir}" />       
></target>
>
>the task fails with the following error
>BUILD FAILED: Problem: failed to create task or type flexunit
>Cause: The name is undefined.
>Action: Check the spelling.
>Action: Check that any custom tasks/types have been declared.
>Action: Check that any <presetdef>/<macrodef> declarations 
>have taken place.
>
>
>Please let me know if i'm missing any thing here. . 
>
>Regards,
>Sunils
>
>
>-- 
>View this message in context: 
>http://www.nabble.com/Flex-Unit-Test-Fails-using-Ant-tp21372216
>p21372216.html
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
>For additional commands, e-mail: user-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to