Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is dependency? How it is used into ant? What is its use?

Answer Posted / Sanjay Kumar Maurya

"Dependency" in Apache Ant refers to a file or resource that one build target depends on. It can be another target, a Java class, an external library, or any other file required for the successful execution of the build target. Dependencies are specified using the "depends" attribute in the target element. The main use of dependencies is to ensure that the prerequisites for a target are met before its execution.nnFor example:n<target name="my-target" depends="init, another-target">n...n</target>nIn this example, the "my-target" depends on the initialization of the "init" target and the successful execution of the "another-target".

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category