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?



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

Answer / 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

More Apache Ant Interview Questions

Can I change/override ant properties when I use ant-contrib foreach task?

1 Answers  


How we can deploy file on server using ant?

1 Answers  


How to set classpath in ant script?

1 Answers  


How you can prepare a project in ant?

1 Answers  


In which language apache ant is written?

1 Answers  


Why do you call it ant?

1 Answers  


Explain how to modify properties in ant?

1 Answers  


What is ant?

1 Answers  


How does ant read properties? How to set my property system?

1 Answers  


What is ivy? What are the key features of 2.5.0?

1 Answers  


Explain using ant and give an small example?

1 Answers  


What is ivy?

1 Answers  


Categories