1.

Can I Put The Contents Of A Classpath Or Fileset Into A Property?

Answer»

Yes, you can.
This is very similar to the call of Java class toString() method and actually it is calling the toString() method inside ant. For example

<FILESET id="fs1" dir="t1" includes="**/*.java"/>
<property NAME="f1.contents" refid="fs1"/>
<ECHO>f1.contents=${f1.contents}</echo>

Yes, you can.
This is very similar to the call of Java class toString() method and actually it is calling the toString() method inside ant. For example

<fileset id="fs1" dir="t1" includes="**/*.java"/>
<property name="f1.contents" refid="fs1"/>
<echo>f1.contents=${f1.contents}</echo>



Discussion

No Comment Found