No, it currently cannot take a fileset.

----- Original Message -----
From: "Jeff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 10:48 AM
Subject: FilSet and PropertyTask


>
>
> I have been tasked to add a version to each of the various
> directory levels in our project. PropertyFile Task does
> exactly what I need, but I am unable to pass it a FileSet.
>
>    Is there a way to pass a FileSet to the PropertyFile Task?
>
> Scenario:
>
>    given a structure com.company.commontools.swingtools.app1
>    with a file called 'version.properties' at each level
> (example: com.company.commontools,
> com.company.commontools.swingtools
> com.company.commontools.swingtools.app1
> com.company.commontools.swingtools.app2)
> one could use the PropertFile Task to update a build number .
>
> example useage:
>
> <target name="tagIt" description="auto increment the version
> build number and tag the date built" depends="cvsGrabModule">
>
>   <propertyfile  >
>        <entry key ="BuildNumber" type="int" operation="+"
> value="1"/>
>        <entry key ="BuildDate" type="date" value="now"
> pattern="YYYY-MM-dd HH:mm:ss"/>
>       <fileset dir="./${MODNAME}/${src.dir}" >
>          <include name="**/Version.properties"/>
>
>
>      </fileset>
> </propertyfile>
>
>    </target>
>
>
>
>
>
> Thanks,
>
> Jeff
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to