View RSS Feed

My Java Tips

  1. ANT properties

    by , 11-18-2011 at 07:23 PM (My Java Tips)
    A project in a build.xml can have a set of properties. This property has a name and a value. In which the name of the property is case-sensitive. Properties can be used in the value of task attributes. It is done by putting the property name between "${" and "}" in the attribute value. For example, if there is a "builddir" property with the value "build", then this could be used in an attribute like this: ${builddir}/classes. At run-time this is resolved as ...

    Updated 11-18-2011 at 07:26 PM by Java Tip