// The following will provide you an outline of basedirectory name and path in Apache Ant










Base Directory Path : ${basedir}
Base Directory Parent Path : ${antfile.dir}
Base Directory only Name : ${base.dir.name}




Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/4JAVAA3Dw18/13611