#25 Add defineset referencing

open
nobody
cpptasks (19)
5
2004-09-16
2004-09-16
Curt Arnold
No

From https://sourceforge.net/forum/message.php?
msg_id=2761355 (thread contains followup to request)

defineset and refid  
2004-09-15 20:13

While attempting to create a defineset that I'd planned to reference
multiple times, I created a freestanding defineset such as the
following:

<defineset id="version.info">
<define name="PRODUCT_VERSION" value="${product_version}"/
>
<define name="BUILD_NUMBER" value="${build.number}"/>
<define name="PATCH_LEVEL" value="${patch.level}"/>
</defineset>

This is then referenced later on. However, I'm getting the following
error when building:

Not an actual task, but looks like one for documentation purposes

Is it possible to create a defineset outside a cc task? It would be
very handy if this were possible in the same way the defining a
freestanding classpath or fileset is useful.

Discussion