View RSS Feed

My Java Tips

  1. Ant Paths

    by , 11-21-2011 at 06:05 PM (My Java Tips)
    If you specify the PATH and the CLASSPATH type references using any of this, that is ":" and ";" as a separator characters, Ant can convert the separator to the correct character of the operating system in the use.

    A nested element can be used wherever path like values need to be specified. See the example below.
    Java Code:
    <pathelement path="${classpath}"></pathelement>
    <pathelement location="lib/helper.jar"></pathelement>