ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@goodconsultants.com
Subject Problems with cc task, using libset
Date Fri, 27 Feb 2004 02:15:29 GMT
All,

I am using cpptasks-1.0b1 and everything works fine until i come to define 
libset with refid.


<libset id="libs">

        <pathelement location="../build/lib"/>

</libset>



<target name="compile" depends="prepare,compile_dependencies">

        <cc name="gcc" link="${output.type}" objdir="${outlib.home}" 
debug="true"
        outfile="${outlib.home}/${app.name}.so">

        <fileset dir="." includes="*.c"/>

        <includepath>
        <path refid="default.include"/>
        <path refid="extra.include"/>
        </includepath>

        <!--
        <libset dir="../build/lib"/>
        -->

        <libset refid="libs"/>

        </cc>

</target>

Error:


Buildfile: build.xml

BUILD FAILED
/home/barry/p4/barry/client/cpp.xml:25: Could not create task or type of type: 
libset.

Ant could not find the task or a class this task relies upon.


This should work according to the article here but not. 
http://cvs.sourceforge.net/viewcvs.py/ant-contrib/cpptasks/Attic/cc.html?
rev=1.7

Please advice.

Barry





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


Mime
View raw message