Skip to main content

Marco Castellani's Library tagged java   View Popular

20 Aug 09

Ant Basics

  • Ant's buildfiles
    are written in XML.
  • Each 'Project' has a Build File, Default
    build file name is 'build.xml',
  • 1 more annotations...

Ant

  • Ant is a Java based build tool, similar
    to make, but with better support for
    the cross platform issues involved
    with developing Java applications.
    Ant is the build tool of choice for
    all Java projects at Apache and many
    other Open Source Java projects.
  • XML
    Build File is Easier to Build,
    Read, and Maintain than MAKE
    file
13 Jul 09

How to Write Doc Comments for the Javadoc Tool

  • A doc comment is written in HTML and must precede a class, field,
    constructor or method declaration. It is made up of two parts --
    a description followed by block tags. In this example, the block
    tags are @param, @return, and
    @see.
  • An @param tag is "required" (by convention) for every parameter,
    even when the description is
    obvious. The @return tag is required for every method that returns something
    other than void, even if it is redundant with the method description.
    (Whenever possible, find something non-redundant (ideally, more specific) to use
    for the tag comment.)
  • 1 more annotations...
24 Jun 09

java.net: A Dozen Ways to Get the Testing Bug in the New Year

  • Writing tests first is a programming technique that takes practice, and lots of it. Accept the fact that you won't see miraculous results overnight. Experts say it takes a minimum of 21 days to build a positive habit and six months for it to become part of your personality. So when you feel yourself backsliding, don't despair. Just keep pressing on and pay careful attention to mental assertions you're making that could be codified in tests. Your brain will love you for it!
1 - 20 of 85 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo