Apache Ant Interview Questions and Answers

apache-ant-interview-questions-and-answers

  • Explain the concepts and capabilities of ANT?

  • Explain how to start to use Ant and provide a “Hello World” ant script?

  • Explain how to set classpath in ant?

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

  • Explain how to modify properties in ant?

  • Explain how to use Runtime in ant?

  • How can I use ant to run a Java application?

  • Explain how to debug my ant script?

  • How can I write my own ant task?

  • Explain how to use ant-contrib tasks?

  • Explain how to make ant user interactive?

  • Explain using ANT and give an small example?

  • How to delete files from a directory if it exists?

  • How to loop on a list or fileset?

  • Why do I get en exception when I use location=”D:\\Code\\include” as

  • attribute of includepath?

  • Can I put the contents of a classpath or fileset into a property?

  • How can I use ant to run a Java application?

  • How to exclude multi directories in copy or delete task?

  • How to use Runtime in ant?

  • How to copy files without extention?

  • How to hide password input?

  • What are the system requirements for Apache Ant?

  • What is IVY?

  • Difference between Ant 1.6 Vs 1.7 Vs 1.8 and 1.9?

  • How we can echo message in Ant?

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

  • How we can set the  PATH environment variable of ant?

  • Ant Vs Maven Vs Make

  • what is taskdef in ANT ?

  • What does token filter do?

  • Which separator characters are used in the path-like structures in Ant?

  • What is the purpose of nested argument in Ant build files?

  • Write some sample java “Hello world” program and Now write an Ant build file to compile, jar and javadoc the package.

  • Write a sample build file to integrate with Junit

  • Write a sample build file to integrate with PMD tools

  • How to I precompile Java Server Pages (JSPs)?

  • How do I realize os–specific configurations?

  • How do I add an external task that I’ve written to the page “External Tools and Tasks”?

  • How do I create new tasks?

  • How do I pass parameters from the command line to my build file?

  • How do I redirect standard input or standard output in the <exec> task?

  • How do I get started to use ant? Can you give me a “Hello World” ant script?

  • How to delete files from a directory if it exists? Write a sample build file?

  • How to use ant-contrib tasks? Write a sample build file for the same.

  • How do I debug my ant script?

  • How to use Runtime in ant?

  • Write a sample build file for How to copy files without extention?

  • Explain how to set classpath in ant?

  • How can I use ant to run a Java application? Write a sample program for the same

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x