ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schulz" <sch...@ivs.tu-berlin.de>
Subject Create filelists or filesets from property or path
Date Thu, 03 Apr 2003 15:05:42 GMT
Hi,

in the task of checking dependencies between a list of previously and
dynamically determined source files and a target (non-standard) archive
I found the ant-task "DependSet". Only, as having the source files as a
path-like separated list of absolute file names, collected from various
folders of the system, there seems no way to apply DependSet, as I
cannot convert the list to fileset or filelist.
Anyone had a similar problem and found a solution?

Schematic Build Excerpt (the nice-to-have view):

<myanalyzetask property="dependency.files"
archive="${some.dir}/proprietary.archive"/>
<dependset>
  <sourcefilelist list="dependency.files"/>
  <targetfilelist dir="${some.dir}" files="proprietary.archive"/>
</dependset>

The property dependency.files corresponds to, e.g.:
"/any/path/file.class:/an/other/thing.class:/and/so/on.class".

Any help is appreciated.

Regards
Stefan


Mime
View raw message