DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26809>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26809 Ability to set a property for a value in a fileset Summary: Ability to set a property for a value in a fileset Product: Ant Version: 1.6.1beta1 Platform: PC OS/Version: Linux Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Yesterday, I had the task of writing an ant build script to unzip a zip file in the form zipname-x.y.z.zip. That's fine because you can not care about the version number and just do this: <echo message="Unzipping Jetty Java Servlet Engine / HTTP Server"/> <unzip dest="."> <fileset dir="."> <include name="Jetty-*-all.zip"/> </fileset> </unzip> However, after that, I need the name of the directory it created, as I need to put some files in there, then start up Jetty. Now, clearly a rule such as: <firstfilematch property="jettydir.tmp"> <fileset dir="."> <include name="Jetty-*"/> <exclude name="Jetty-*-all.zip"/> </fileset> </firstfilematch> will do the job. I've written the task (we use it internally), and will attach it to the bug report. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]