diff --git a/docs/manual/CoreTasks/apply.html b/docs/manual/CoreTasks/apply.html index 80c403c01..47d052d96 100644 --- a/docs/manual/CoreTasks/apply.html +++ b/docs/manual/CoreTasks/apply.html @@ -141,7 +141,7 @@ to send input to it is via the input and inputstring attributes.
since Ant 1.7
+since Ant 1.7
You can use any number of nested resource collections.
+Conversion of the command+<apply executable="jsmin" addsourcefile="false"> + <!-- Collect the JS-files --> + <fileset dir="src" includes="*.js"/> + <redirector> + <!-- redirect STDIN; fileset collects relative to its dir, but we need --> + <!-- relative to basedir --> + <inputmapper type="glob" from="*" to="src/*"/> + <!-- redirect STDOUT to file in dest-dir --> + <outputmapper id="out" type="glob" from="*.js" to="dest/*.js"/> + </redirector> +</apply> +
jsmin < src/a.js > dest/a.js
but for
+all files in the src-directory. Because the filename itself should not be passed
+to the jsmin
program, the addsourcefile
is set to
+false
.
+
+
+
+
Copyright © 2000-2005 The Apache Software Foundation. All rights Reserved.