ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaganthi, Madhusudan R." <m...@cdc.gov>
Subject RE: setting properties from a User defined Task.
Date Tue, 01 Aug 2000 19:25:19 GMT
where did you set the value of property "ppp" ?



-----Original Message-----
From: Pablo Garralda [mailto:PGarralda@amtec.net]
Sent: Tuesday, August 01, 2000 3:15 PM
To: ant-user@jakarta.apache.org
Subject: setting properties from a User defined Task.



Hi !!

I'm trying to build a user defined Task to store a directory listing into a
Property. 
Someting like this: 

  ...
  <target name="Test" depends="" >
      <dirlisting basedir="." includes="*.java" property="ppp" separator=" "
/>
      <echo message="Java files: ${ppp}" />
  </target>
  ...

This prints:

  Java files: ${ppp}

It don't replace ${ppp} with "ppp" value!!! What's wrong? 

Thanks in advance,
		Pablo.



    

Mime
View raw message