[ant-contrib - Help] RE: "cc" compiler not supported by <cc> task
"SourceForge.net" <[email protected]> Wed, 19 Mar 2008 03:58:16 -0700
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4847719
By: abhijeetc
Hi,
Thanks, but it is still not working.
Here is my build.xml to compile a hello.c using cc compiler
<project name="ABC" default="compile" basedir=".">
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement
location="/apps/concdev/concANT/1.5.1/solaris/lib/ant-contrib-0.3.jar"/>
</classpath>
</taskdef>
<taskdef name="cc"
classname="net.sf.antcontrib.cpptasks.CCTask" />
<taskdef resource="cpptasks.tasks"/>
<typedef resource="cpptasks.types"/>
<target name="compile" depends="">
<cc name="cc" debug="true" outfile="./build/">
<fileset dir="src" includes="*.c"/>
</cc>
</target>
</project>
I get the following error:
cc is not a legal value for this attribute
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=113701
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/