Can anyone tell me the difference between <exec>
and <apply>
in Apache Ant?
相关问题
- Stop .htaccess redirect with query string
- .htaccess rule, redirecting old unexistent address
- How to deploy a web application Aurelia in an Apac
- Apache Directory Studio not opening
- PHP Empty $_POST
相关文章
- Apache+Tomcat+JK实现的集群,如果Apache挂了,是不是整个服务就挂了?
- How reliable is HTTP_HOST?
- Making a two way SSL authentication between apache
- UnicodeEncodeError when saving ImageField containi
- mod_rewrite only on GET
- Passing command line arguments to Java via ant bui
- jquery how to get the status message returned by a
- How do I debug errors that have no error message?
The main difference is that
apply
works for a resource collection - fileset, dirset and the like - so you can, for example, run a script once for each member of a fileset.exec
doesn't operate on a fileset; each instance of the task only runs a single external program. Otherwise the tasks are quite similar.