[ ant-contrib-Bugs-2234200 ] Proejct level <compiler> is not allowed taskdef'd from props
"SourceForge.net" <[email protected]> Fri, 07 Nov 2008 13:02:28 +0000
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2234200, was opened at 2008-11-07 13:02
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=2234200&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Curt Arnold (carnold)
Summary: Proejct level <compiler> is not allowed taskdef'd from props
Initial Comment:
Consider the following test.xml script:
<?xml version="1.0" encoding="UTF-8"?>
<project>
<taskdef resource="cpptasks.tasks" />
<taskdef resource="cpptasks.types" />
<compiler id="my.compiler" name="msvc" />
</project>
This produces the following error in the latest Ant 1.7.1 (Windows Vista SP1, cygwin bash environment)
test.xml:8: Not an actual task, but looks like one for documentation purposes
If I change <taskdef resource...> to use antlib.xml or declare compiler task directly like this
<typedef name="compiler" classname="net.sf.antcontrib.cpptasks.CompilerDef"/>
everything works just fine.
WBR,
Pavel.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=416920&aid=2234200&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=/