1 / 11

Enhancing Distributed Development Productivity with Ant

Discover the power of Ant - a versatile Java build tool with XML-based configuration that streamlines development tasks. Learn about specific tools like Checkstyle, CVS, JavaDoc, and JUnit for efficient software development workflow.

Download Presentation

Enhancing Distributed Development Productivity with Ant

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An introduction Productivity tools for distributed development

  2. Contents • Ant • Why / Why not? • Tasks • Specific tools • Checkstyle • CVS • JavaDoc • JUnit • Other build tools

  3. Disclaimer • Only Java is treated • Little experience, only “best practice” advice

  4. Ant • Java build tool • XML file with “targets” • Plug-ins available as JAR files

  5. Why / why not? • Cross-platform • Commands • XML based build file • Possibility for platform specific commands • Simple format for creating tasks • No command-line execution needed • Ensure identical builds • Open source • Incorporates common tools • Extensible

  6. Build tasks • <XML example / explanation> • Resolution of build target dependencies

  7. Specific tools • Checkstyle • Rules for code structure • CVS • See other lecture • JavaDoc • Easy documentation of your build • Junit • See other lecture

  8. Other build tools • Make

  9. Application references • Ant: http://ant.apache.org/ • Checkstyle: http://checkstyle.sourceforge.net/ • Ant task: http://checkstyle.sourceforge.net/anttask.html • CVS: https://www.cvshome.org/ • Ant task: http://ant.apache.org/manual/CoreTasks/cvs.html • JavaDoc: http://java.sun.com/j2se/javadoc/ • Ant task: http://ant.apache.org/manual/CoreTasks/javadoc.html • JUnit: http://www.junit.org/ • Ant task: http://ant.apache.org/manual/OptionalTasks/junit.html

  10. Best practice references • 15 Ant best practices: http://www.onjava.com/pub/a/onjava/2003/12/17/ant_bestpractices.html • CVS and Ant build files: http://www.russellbeattie.com/notebook/1001249.html • Automation with Ant: http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant.html • Building with Ant: http://www.developer.com/tech/article.php/989631

  11. Example build files • http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt

More Related