Hello-
I have looked around at the ant-contrib documentation, and I'm wondering if
this is a problem with Ant itself.
I'm trying to use a refid to reference a <defineset> within my <cc> task
(shown below). When I run this build, I get the following error:
build.xml:13: std.defs doesn't denote a DefineSet
I've verified that the cpptasts are being found and loaded, but it doesn't
like this particular reference. Here's my buildfile:
<project name="Test" default="build" basedir=".">
<!-- External task definitions -->
<taskdef resource="cpptasks.tasks" />
<typedef resource="cpptasks.types" />
<defineset id="std.defs">
<define name="_DEBUG" />
</defineset>
<target name="build">
<cc name="msvc" debug="true" outfile="test"
subsystem="console" outtype="executable">
<defineset refid="std.defs" />
<fileset dir=".">
<include name="*.c" />
</fileset>
</cc>
</target>
</project>
Any ideas? Thanks,
--jah
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]