Using the source attribute to specify that multiple files
are to be processed fails on Solaris. This works perfectly
on Windows.
Example:
<xmltask source="${webapps.root}/**/web.xml" ...>
...
</xmltask>
When running this on Solaris, I get the following
message:
[xmltask] Scanning for web.xml from
/opt/tmp/devintegration/build/tmp/webapps/**
BUILD FAILED
file:/opt/tmp/devintegration/buildfiles/build-system.ent:
92: java.lang.IllegalStateException: basedir
/opt/tmp/devintegration/build/tmp/webapps/** does not
exist
It looks like it thinks the "**" is a directory name, but it is
the standard way in Ant to say "look in all subdirectories"
or "recurse subdirectories".
Suggestion would be to use filesets withing the xmltask
to specify multiple files.
xmltask with fileset support
Logged In: YES
user_id=521055
This should be resolved as of v1.9. XmlTask will soon use
FileSets, btw. Submission below noted. Thx!