Hi Jan, Including the FlexAntTasks.jar file in the <taskdef> tag worked fine. . Thanks a lot Jan.
Sunils Jan.Materne wrote: > > 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:[email protected]] >>Gesendet: Freitag, 9. Januar 2009 14:23 >>An: [email protected] >>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: [email protected] >>For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Flex-Unit-Test-Fails-using-Ant-tp21372216p21372545.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
