Home / CSE MCQs / Apache Ant ::

CSE MCQs :: Apache Ant

  1. Which one is the properties of the Ant?
  2. A.
    Basedir
    B.
    Baiddir
    C.
    Bootdir
    D.
    None

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What are the key features of the 2.1.0 release are
  4. A.
    The Key features of Ivy is enhanced Maven2 compatibility, with several bug fixes and more pom features covered
    B.
    New options for the Ivy Ant tasks and command line
    C.
    configuration intersections and configuration groups
    D.
    numerous bug fixes & improvements as documented in Jira and in the release notes
    E.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Why ant is a great build Tool?
  6. A.
    Ant is a Java-based build tool designed to be cross-platform, easy to use, extensible, and scalable
    B.
    Ant can be used in a small personal project as well as ant can be used in a large, multi-team software project
    C.
    Ant syntax is very easy to learn
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. How many ways can we set properties into build ant file?
  8. A.
    Supplying both the name and value attribute
    B.
    Supplying both the name and re fid attribute
    C.
    Setting the file attribute with the filename of the property file to load
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What are Apache ant Functionalities?
  10. A.
    Ant is an open source project available under the Apache license. Therefore, its source code can be downloaded and modified
    B.
    Additionally, Ant uses XML build files which make its development easy
    C.
    Cross Platform
    D.
    Use of XML along with Java makes Ant makes it the perfect solution for developing programs designed to run or be built across a range of different operating systems
    E.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. What are the ways to Debug my ant script?
  12. A.
    By echoing at the place to debug. The problem is easily known. This is similar to printf() function in C and System.out.println() in Java
    B.
    By using project.log (message") in the javascript or the customized ant task
    C.
    By running ANT with "“verbose / -debug options. These options provide more information on what is the process going and at which location
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. What is ant?
  14. A.
    Build Tool Only For Java
    B.
    Build Tools Only For .Net
    C.
    A language
    D.
    Build Tool

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which one is not a property of the Ant?
  16. A.
    ant.java.version
    B.
    ant.version
    C.
    ant.create
    D.
    ant.home

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. List some basic functions performed by Ant.
  18. A.
    Compiling Java code into bytecode
    B.
    Placing this bytecode in a package
    C.
    Deployment to production systems
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which one is true method foe message printing in xml file?
  20. A.
    printf
    B.
    println
    C.
    echo
    D.
    none

    View Answer

    Workspace

    Discuss Discuss in Forum