Hi,

I've search the web, the mailing lists and even asked friends - but no
answer has been found.
I need a fileset as xml :
<files>
  <file>path-to-file-1</file>
  <file>path-to-file-2</file>
  <file>path-to-file-3</file>
  ...
</files>
to further process this with the styler (I am trying to build my EJB
deployment descriptor from fragments).
I currently tried the follwoing code :

<delete file="${basePath}/xmlfiles.xml"/>
<echo file="${basePath}/xmlfiles.xml">&lt;files&gt;
</echo>
<exec dir="${basePath}"
      executable="find" output="${basePath}/xmlfiles.xml">
        <arg line="${sourcePath} -name &quot;ejb-jar.xml&quot; -printf
                &quot;  &lt;file&gt;%p&lt;/file&gt;\n&quot;"/>
</exec>
<echo file="${basePath}/xmlfiles.xml" append="yes">&lt;/files&gt;
</echo>

This isn't nice as I need to use exec to use the unix-find command.
And it doesn't work as exec has no append option like exec
<hint>feature-request</hint>

Does anyone know about a external task to do it. Otherwise I will check
the docs and write one.

Stefan
-- 

 < W E B M A C H E R > 
EDV+INTERNETSERVICE GMBH

POST: August Bebel Str. 69
      04275 Leipzig

FON:  +49 341 30 34 833
FAX:  +49 341 30 34 840
WEB:  www.webmacher.de


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

Reply via email to