Apache Ant Basename TaskThis task is used to get the basename of a specified file. It sets specified property to the value of the last path element of the specified file. If the executed file is a directory, the basename will be the last directory element. It returns basename as a simple file name if the file is a full-path or relative-path without any directory elements. Basename Task Attributes
Apache Ant Basename Task ExampleSet Jar to a property by specifying file location. Next TopicApache Ant Gzip Task |