File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes task    Vs   target Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "task    Vs   target " Watch "task    Vs   target " New topic
Author

task Vs target

ashok ks
Ranch Hand

Joined: Oct 31, 2003
Posts: 55
What is the difference between task and target in Ant ?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11945
A target is something you can invoke while tasks are the low-level steps to do in order to accomplish what the target is supposed to accomplish. You could think of them as functions (targets) and statements (tasks) in a functional programming language


Author of Test Driven (Manning Publications, 2007) [Blog] [HowToAskQuestionsOnJavaRanch]
 
 
subject: task Vs target
 
Threads others viewed
BSFException
Passed OOAD 76% (IBM486)
What target or task is running?
How to put jars in APP-INF/lib with ant
WA #1.....word association
developer file tools