ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: <property refid=> question
Date Wed, 26 Feb 2003 16:59:39 GMT


-----Urspr√ľngliche Nachricht-----
>Von: Steve Cohen [mailto:SCohen@sportvision.com]
>Gesendet am: Mittwoch, 26. Februar 2003 17:52
>An: Ant Developers List
>Betreff: <property refid=> question
>
>The ant manual has no example of what this might be used for.  Can
>someone explain it?


<path id="path">
    <fileset dir="."/>
</path>
<property name="p" refid="path"/>
<echo>${p}</echo>

Sample Output:
main:
     [echo]
C:\tmp\anttests\propertyRefId\build.properties;C:\tmp\anttests\propertyRefId
\build.xml;C:\tmp\anttests\propertyRefId\b
uild_user.properties




>Here's what I am trying to do: write a generic task that might do
>something with a fileset reference but which will not throw errors if
>that fileset has not been defined.  If there's another way to do it,
>I''m all ears.


sorry, have to keep it open



Jan Matèrne

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message