ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: java : Generation of args from FileSet
Date Tue, 29 Jul 2003 06:54:09 GMT

> Is there a nice solution to this very basic issue ? 

No, no built-in way, except for the somewhat unhandy <apply>.

The best thing you can do for <java> is creating your <fileset>
outside of your <java> task.  The you use <pathconvert> on the
<fileset> to create a space separated string of all files included and
finally use <arg line="..."/> on the property created by
<pathconvert>.

This will certainly break if any path within your fileset contains
spaces.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message