[ ant-contrib-Bugs-2183270 ] Ant 1.5 style tasks not working
"SourceForge.net" <[email protected]> Mon, 20 Oct 2008 22:33:01 +0000
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2183270, was opened at 2008-10-20 22:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=416920&aid=2183270&group_id=36177 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: cpptasks Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Curt Arnold (carnold) Summary: Ant 1.5 style tasks not working Initial Comment: I created a build.xml script with the "cc" task and everything worked. I could add a "linker" task as long as it was nested inside of my "cc" task. When I moved it to the project level and ref.ed it by id... I would get a "Problem: failed to create task or type linker" error. The same happened when I tried to ref. a "compiler" task from the project level. To fix it, I had to use the 1.6 style and prefix my taks with "cpptask:". I also had to add xmlns:cpptasks="antlib:net.sf.antcontrib.cpptasks" to my project instead of using taskdef. If this is depricated it would be nice to know. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=416920&aid=2183270&group_id=36177 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/